I hereby claim:
- I am willie on github.
- I am willieabrams (https://keybase.io/willieabrams) on keybase.
- I have a public key ASCEciq5KhoAXpNovmmrKPdvpfY5fGWWZOoR05oqGPAXMQo
To claim this, I am signing this object:
| import poplib | |
| import smtplib | |
| from email import message_from_bytes | |
| from email.message import EmailMessage | |
| import openai | |
| import re | |
| import html | |
| openai.api_key = '' |
| package main | |
| import ( | |
| "fmt" | |
| "math/rand" | |
| "time" | |
| ) | |
| type Coalescer[T any] struct { | |
| state chan state[T] |
| // Calculate prime numbers in a given range | |
| // using Sieve of Eratosthenes | |
| import Accelerate | |
| var primes: [Int] = [] | |
| let range = 0...1000 | |
| var numbers = range.map(Float.init) |
| // Simple groupcache example: https://github.com/golang/groupcache | |
| // Running 3 instances: | |
| // go run groupcache.go -addr=:8080 -pool=http://127.0.0.1:8080,http://127.0.0.1:8081,http://127.0.0.1:8082 | |
| // go run groupcache.go -addr=:8081 -pool=http://127.0.0.1:8081,http://127.0.0.1:8080,http://127.0.0.1:8082 | |
| // go run groupcache.go -addr=:8082 -pool=http://127.0.0.1:8082,http://127.0.0.1:8080,http://127.0.0.1:8081 | |
| // Testing: | |
| // curl localhost:8080/color?name=red | |
| package main | |
| import ( |
| # install PDFium | |
| WORKDIR / | |
| RUN apt-get install -y libgtk2.0-dev | |
| RUN git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git | |
| ENV PATH /depot_tools:"$PATH" | |
| RUN gclient config --unmanaged https://pdfium.googlesource.com/pdfium.git; \ | |
| gclient sync |
I hereby claim:
To claim this, I am signing this object:
| package main | |
| import ( | |
| "github.com/mholt/caddy" | |
| // plug in the server | |
| _ "github.com/mholt/caddy/caddyhttp" | |
| "log" | |
| ) |
| #!/usr/bin/env bash | |
| # Usage: bash uninstall_vmware.bash | |
| remove() { | |
| entry="$1" | |
| echo -ne "Removing \e[1;34m$entry\e[0m... " | |
| sudo rm -rf "$entry" &> /tmp/uninstall-vmware.log | |
| if [[ ! -e "$entry" ]]; then | |
| echo -e "\e[1;32mOK\e[0m" |
Consumer key: IQKbtAYlXLripLGPWd0HUA
Consumer secret: GgDYlkSvaPxGxC4X8liwpUoqKwwr3lCADbz8A7ADU
Consumer key: 3nVuSoBZnx6U4vzUxf5w
Consumer secret: Bcs59EFbbsdF6Sl9Ng71smgStWEGwXXKSjYvPVt7qys
Consumer key: CjulERsDeqhhjSme66ECg
| /** | |
| * A simple preforking echo server in C. | |
| * | |
| * Building: | |
| * | |
| * $ gcc -Wall -o echo echo.c | |
| * | |
| * Usage: | |
| * | |
| * $ ./echo |