Assuming you use template defaults
public static void Main()
{
var host = new WebHostBuilder()
.UseContentRoot(Directory.GetCurrentDirectory())
.Build();
}
public Startup(IHostingEnvironment env)| const { useState } = React; | |
| const PasswordStrength = () => { | |
| const [password, setPassword] = useState(''); | |
| const requirements = [ | |
| { label: '8+ characters', check: (pwd) => pwd.length >= 8 }, | |
| { label: '12+ characters', check: (pwd) => pwd.length >= 12 }, | |
| { label: 'Lowercase letter', check: (pwd) => /[a-z]/.test(pwd) }, | |
| { label: 'Uppercase letter', check: (pwd) => /[A-Z]/.test(pwd) }, |
| #!/usr/bin/env -S bash -c "docker run -p 8080:8080 -it --rm \$(docker build --progress plain -f \$0 . 2>&1 | tee /dev/stderr | grep -oP 'sha256:[0-9a-f]*')" | |
| # syntax = docker/dockerfile:1.4.0 | |
| FROM node:20 | |
| WORKDIR /root | |
| RUN npm install sqlite3 |
| #!/bin/bash | |
| gdb -p "$1" -batch -ex 'set {short}$rip = 0x050f' -ex 'set $rax=231' -ex 'set $rdi=0' -ex 'cont' |
| Rank | Type | Prefix/Suffix | Length | |
|---|---|---|---|---|
| 1 | Prefix | my+ | 2 | |
| 2 | Suffix | +online | 6 | |
| 3 | Prefix | the+ | 3 | |
| 4 | Suffix | +web | 3 | |
| 5 | Suffix | +media | 5 | |
| 6 | Prefix | web+ | 3 | |
| 7 | Suffix | +world | 5 | |
| 8 | Suffix | +net | 3 | |
| 9 | Prefix | go+ | 2 |
| // Execute this in the console of on your own playlist | |
| var videos = document.querySelectorAll('.yt-simple-endpoint.style-scope.ytd-playlist-video-renderer'); | |
| var r = []; | |
| var json = []; | |
| r.forEach.call(videos, function(video) { | |
| var url = 'https://www.youtube.com' + video.getAttribute('href'); | |
| url = url.split('&list=WL&index='); | |
| url = url[0]; |
| public static class DisposeDriverService | |
| { | |
| private static readonly List<string> _processesToCheck = | |
| new List<string> | |
| { | |
| "opera", | |
| "chrome", | |
| "firefox", | |
| "ie", | |
| "gecko", |
| [TestClass] | |
| public class BingTests | |
| { | |
| private static IWebDriver _driver; | |
| [AssemblyInitialize] | |
| public static void AssemblyInitialize(TestContext testContext) | |
| { | |
| DisposeDriverService.TestRunStartTime = DateTime.Now; | |
| _driver = new ChromeDriver(); |
Assuming you use template defaults
public static void Main()
{
var host = new WebHostBuilder()
.UseContentRoot(Directory.GetCurrentDirectory())
.Build();
}
public Startup(IHostingEnvironment env)| using System; | |
| using System.Security.Cryptography; | |
| using System.Text; | |
| namespace RsaEncryptionSample | |
| { | |
| class Program | |
| { | |
| static void Main(string[] args) | |
| { |
$/
artifacts/
build/
docs/
lib/
packages/
samples/
src/
tests/