Skip to content

Instantly share code, notes, and snippets.

View snowmerak's full-sized avatar
Ⓜ️

snowmerak snowmerak

Ⓜ️
View GitHub Profile
#!/bin/bash
FORMAT="${1:-easy}"
MODE="${2:-single}"
HOST="${3:-127.0.0.1}"
PORT="${4:-6379}"
CLIENTS="${5:-6}"
BODY_SIZE="${6:-512}"
KEY_COUNT="${7:-5000}"
#include <stdio.h>
int print_uint128(__uint128_t n);
__uint128_t fib(__uint128_t n);
int main() {
for (__uint128_t i = 1; i <= 100; i++) {
printf("fib(");
print_uint128(i);
printf(") = ");

Keybase proof

I hereby claim:

  • I am snowmerak on github.

  • I am riley_halo (https://keybase.io/riley_halo) on keybase.

  • I have a public key ASAGePJ1Q7rxoQiL2PAfR3jOzLV8uQaR7za8jNzWscV_Fgo

void main(List<String> arguments) {
Animal dog = Dog();
Animal cat = Cat();
live(dog);
live(cat);
}
void live(Animal animal) {
animal.breathe();
package main_test
import (
"strconv"
"testing"
"github.com/dolthub/swiss"
)
const sessionsCount = 131072
{
"compilerOptions": {
"module": "commonjs",
"target": "es2015",
"declaration": true,
"outDir": "./dist"
},
"include": [
"src/**/*"
]
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
- -----BEGIN PGP PUBLIC KEY BLOCK-----
mQINBGTixP8BEADiYQBNnzH2l/eoJOpZDuN6fuZC7rNVjq4V8kLIoS83TIhQ+SR/
9rVwrTgugPJL3a1JX82z+O3Sv4Y3/uWNYJD6kdjQsL4yNleIUgKxw2h6+7Sl98cv
rQxzbYjq3unsoiffkgYvv0mnrcL5JHiRykwENRAs2XRAQdc5lm+Fnn74ye84Sv99
fnfUtr+GUdHzDMMr9+4y/fJTVFYbfJcfskyH7UHLzVAnnkqZd10BlEFmehcKezuU
aptAOkspHDK7PRIATnE/cUZ6a16B2z4ykl87u46z/uXy7VT/ZGxpfm44RdbuoK+Z
docker run -e "ACCEPT_EULA=1" \
-e "MSSQL_SA_PASSWORD=M@sterP@ssword1234!?" -e "MSSQL_PID=Developer" \
-e "MSSQL_USER=SA" -p 1433:1433 --name=test_sql mcr.microsoft.com/azure-sql-edge
///usr/bin/env go run "$0" "$@"; exit
func main() {
}
func main() {
listenAddr := ":8080"
if val, ok := os.LookupEnv("FUNCTIONS_CUSTOMHANDLER_PORT"); ok {
listenAddr = ":" + val
}
http.HandleFunc("/api/hello", func(w http.ResponseWriter, r *http.Request) {
w.Write([]byte("Hello."))
})
log.Printf("About to listen on %s. Go to https://127.0.0.1%s/", listenAddr, listenAddr)
log.Fatal(http.ListenAndServe(listenAddr, nil))