This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"fmt" | |
"net/url" | |
"golang.org/x/sys/windows/registry" | |
) | |
const ( |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"packages": [ | |
{ | |
"maintainer": "DFRobot DFRDuino", | |
"help": { | |
"online": "http://esp32.com" | |
}, | |
"websiteURL": "https://github.com/espressif/esp32-arduino", | |
"platforms": [ | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
vcl 4.0; | |
import directors; | |
backend alpha { .host = "192.168.0.101"; } | |
backend bravo { .host = "192.168.0.102"; } | |
sub vcl_init { | |
new primary_director = directors.random(); | |
primary_director.add_backend(alpha, 1.0); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
c5.metal: $31.03 per CPU per month (96 vCPUs, 192.0 GiB RAM) | |
c5.24xlarge: $31.03 per CPU per month (96 vCPUs, 192.0 GiB RAM) | |
c5.18xlarge: $31.03 per CPU per month (72 vCPUs, 144.0 GiB RAM) | |
c5.12xlarge: $31.03 per CPU per month (48 vCPUs, 96.0 GiB RAM) | |
c5.9xlarge: $31.03 per CPU per month (36 vCPUs, 72.0 GiB RAM) | |
c5.4xlarge: $31.03 per CPU per month (16 vCPUs, 32.0 GiB RAM) | |
c5.2xlarge: $31.03 per CPU per month (8 vCPUs, 16.0 GiB RAM) | |
c5.xlarge: $31.03 per CPU per month (4 vCPUs, 8.0 GiB RAM) | |
c5.large: $31.03 per CPU per month (2 vCPUs, 4.0 GiB RAM) | |
m5a.16xlarge: $31.39 per CPU per month (64 vCPUs, 256.0 GiB RAM) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# COVID-19 by US County | |
Arizona (13): | |
Maricopa: 2 | |
Pinal: 2 | |
[unknown]: 9 | |
California (426): | |
Alameda: 2 | |
Contra Costa: 9 | |
Fresno: 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@ECHO OFF | |
ECHO Killing orphaned pagaent instances... | |
taskkill /IM "gpg-agent.exe" /F | |
PAUSE |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package something | |
import ( | |
"bytes" | |
"errors" | |
"fmt" | |
"io/ioutil" | |
"net/url" | |
"path" | |
"sync" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"fmt" | |
"os" | |
"sort" | |
"sync" | |
"time" | |
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$loops = 100000; | |
$str = "whois foobar"; | |
$algos = hash_algos(); | |
$algo_padding = array_reduce($algos, function($carry, $val) { | |
$len = strlen($val); | |
if ($len > $carry) { | |
$carry = $len; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Replaces annoying "fancy" quotes created by programs like Microsoft Word and everything in MacOS | |
# with normal ASCII single-quotes (') or double-quotes (") | |
# This script does NOT replace the GRAVE ACCENT (`) since it is commonly used in Markdown and as a bash command | |
# See: https://www.cl.cam.ac.uk/~mgk25/ucs/quotes.html | |
SINGLE=$(echo -ne '\u00B4\u2018\u2019') | |
DOUBLE=$(echo -ne '\u201C\u201D') | |
sed -i "s/[$SINGLE]/'/g; s/[$DOUBLE]/\"/g" $1 |
NewerOlder