Skip to content

Instantly share code, notes, and snippets.

View tbatchelli's full-sized avatar

Antoni Batchelli tbatchelli

View GitHub Profile
@tbatchelli
tbatchelli / comic-mono-2.css
Last active July 20, 2023 18:35
comic-mono-2.css
@font-face {
font-family: 'Comic Mono';
src: url('data:font/ttf;charset=utf-8;base64,AAEAAAANAIAAAwBQRkZUTYZDp+MAAFAIAAAAHEdERUYAJwBwAABP6AAAAB5PUy8yZHiAxQAAAVgAAABgY21hcNsCqVgAAAKUAAABYmdhc3D//wADAABP4AAAAAhnbHlmMBHLaAAABNAAAEd0aGVhZBQt5FQAAADcAAAANmhoZWEK0QGjAAABFAAAACRobXR4IgoVXgAAAbgAAADcbG9jYcyFutwAAAP4AAAA1m1heHAAsQCGAAABOAAAACBuYW1larcuHQAATEQAAAKjcG9zdAxyDBIAAE7oAAAA9gABAAAAABmZueiWqV8PPPUACwgAAAAAANd/yk4AAAAA2R+2jAAA/VUEbwePAAEACAACAAAAAAAAAAEAAAZf/VUAAARcAAD/7QRvAAEAAAAAAAAAAAAAAAAAAAAEAAEAAABqAIMABQAAAAAAAgAAAAEAAQAAAEAAAAAAAAAAAwRcAZAABQAAAooCWAAAAEsCigJYAAABXgAAAQ4AAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAATk9ORQAgACAgIgTn/n4AyAZfAqsAAAABAAAAAAPhBJwAAAAgAAEEXABoAAAAAARcAAAEXAAAAXoBDQAEADsAFQARAbwBAgDhACAAkAEeAOEBegAZAEsAOABFAGgAOQBIAD8ASAApADoBogFFADgAkAA2AJIAEQALABYAFwAXABcAFgAXAC8AGgAiABYAIgAEACcALQApACsAOAAiAB4AIAALAAAAEgASACUAyQAaAMcACgAiAQUAUABjAFkARQBdAG8AZABmAFUAYABvADgAIABXAEEAZABXAH8AWQBFAGAAOAAAACoAKABQAGAB0QBgABQAkAAiAU0BXwFRAMUA1AFZAAAAAwAAAAMAAAAcAAEAAAAAAFwAAwABAAAAHAAEAEAAAAAMAAg
@tbatchelli
tbatchelli / comic-mono.css
Created July 3, 2023 17:54
Comic Mono CSS for blink.sh
@font-face {
font-family: "Comic Mono";
/* Add other properties here, as needed. For example: */
/*
font-weight: 100 900;
font-style: normal;
*/
src: url(data:font/ttf;base64,AAEAAAANAIAAAwBQRkZUTXcFOIEAAEkIAAAAHEdERUYAlwAGAABI6AAAACBPUy8yZEiAwAAAAVgAAABgY21hcNsCqVgAAAKUAAABYmdhc3D//wADAABI4AAAAAhnbHlm+Iqj9QAABNAAAECcaGVhZBXD0FkAAADcAAAANmhoZWEKtgHUAAABFAAAACRobXR4JeAZowAAAbgAAADcbG9jYW3nXfAAAAP4AAAA1m1heHAAsQB/AAABOAAAACBuYW1lULf/qAAARWwAAAJ8cG9zdAxyDBIAAEfoAAAA9gABAAAAABmZLY0k4F8PPPUACwgAAAAAANkftmgAAAAA2R+2aAAR/YkEVQdqAAAACAACAAAAAAAAAAEAAAZe/XYAAARcAAD//QRVAAEAAAAAAAAAAAAAAAAAAAAEAAEAAABqAHwABQAAAAAAAgAAAAEAAQAAAEAAAAAAAAAAAwRcAZAABQAEAooCWAAAAEsCigJYAAABXgAAAQ4AAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAATk9ORQBAACAgIgTn/n4AyAY6AncAAAABAAAAAAPhBJwAAAAgAAEEXAB4AAAAAARcAAAEXAAAAYoBHAATAF4AJQAgAcwBGADwADAAnwE9APABigBBAFwASABVAIoAUwBrAE4AVwA4AEoBswFVAG0AnwBMALUAIAAjACkAJwApACkAKQAnAD8AKQA0ACkAMgATADYAPQBGAD0ASABGAC4ANAAjABEAPQAwADQA2AA7ANYANAAyAR4AYAB0AGkAVQBtAH8AdAB2AGQAbwB/AEgANABoAFEAdABmAJAAcQBVAG

Keybase proof

I hereby claim:

  • I am tbatchelli on github.
  • I am tbatchelli (https://keybase.io/tbatchelli) on keybase.
  • I have a public key ASDqsEiCdRD38n626K6QoqsJt-839RbyutCpgFPe622Rtgo

To claim this, I am signing this object:

@tbatchelli
tbatchelli / output.txt
Created January 6, 2015 08:00
Docker on VBox slowness
1420530869 Starting Container Creation
1420530869 Starting Container #1: docker run -d --name test-1 busybox sleep 10000
1420530869 33f376e7b0d38460eb17244809327a013e1037416e2157030a2cd4bd0481dbed
1420530870 docker ps -a | wc -l 2
1420530870 Starting Container #2: docker run -d --name test-2 --link=test-1:test-1 busybox sleep 10000
1420530870 35a4b63e1e8e0811e1d2ecd50e080983f447376d253d5e3815daf1d38cf112ec
1420530870 docker ps -a | wc -l 3
1420530870 Starting Container #3: docker run -d --name test-3 --link=test-1:test-1 --link=test-2:test-2 busybox sleep 10000
1420530871 032886acaa3f1b8c5769c1246c7befd11fbf27634e4d03fa6e29aa094367c10b
1420530871 docker ps -a | wc -l 4
@tbatchelli
tbatchelli / -
Created September 3, 2014 21:07
#cloud-config
coreos:
etcd:
# generate a new token for each unique cluster from https://discovery.etcd.io/new
# discovery: https://discovery.etcd.io/a52cf57d5e788bb8dff447b6ba668048
https://discovery.etcd.io/cd2c82be80059a117d74b450eb410938
# multi-region and multi-cloud deployments need to use $public_ipv4
addr: $public_ipv4:4001
peer-addr: $public_ipv4:7001
@tbatchelli
tbatchelli / -
Created September 3, 2014 20:29
Sep 03 20:20:37 panamax-toni systemd[1]: etcd.service: main process exited, code=exited, status=1/FAILURE
Sep 03 20:20:37 panamax-toni systemd[1]: Unit etcd.service entered failed state.
Sep 03 20:20:47 panamax-toni systemd[1]: etcd.service holdoff time over, scheduling restart.
Sep 03 20:20:47 panamax-toni systemd[1]: Stopping etcd...
Sep 03 20:20:47 panamax-toni systemd[1]: Starting etcd...
Sep 03 20:20:47 panamax-toni systemd[1]: Started etcd.
Sep 03 20:20:47 panamax-toni etcd[1041]: [etcd] Sep 3 20:20:47.936 INFO | 92fc17c30b5f42b18d90a4a3f8d9247e: peer added: '598569a7e75b4981bb92d7de41998451'
Sep 03 20:20:47 panamax-toni etcd[1041]: [etcd] Sep 3 20:20:47.945 INFO | The path /var/lib/etcd/log is in btrfs
Sep 03 20:20:47 panamax-toni etcd[1041]: [etcd] Sep 3 20:20:47.946 WARNING | Failed setting NOCOW: skip nonempty file
Sep 03 20:20:47 panamax-toni etcd[1041]: [etcd] Sep 3 20:20:47.946 INFO | Peer URLs in log: / 92fc17c30b5f42b18d90a4a3f8d9247e (http://127.0.0.1:7001,http://23.253.2
@tbatchelli
tbatchelli / -
Created September 3, 2014 20:01
core@panamax-toni-2 ~ $ fleetctl list-machines
E0903 20:00:50.240832 01101 fleetctl.go:141] error attempting to check latest fleet version in Registry: 501: All the given peers are not reachable (Tried to connect to each peer twice and failed) [0]
Error retrieving list of active machines: 501: All the given peers are not reachable (Tried to connect to each peer twice and failed) [0]
core@panamax-toni-2 ~ $ sudo journalctl -u etcd -n 100 --no-pager
-- Logs begin at Wed 2014-09-03 19:58:44 UTC, end at Wed 2014-09-03 20:00:52 UTC. --
@tbatchelli
tbatchelli / -
Created September 3, 2014 19:52
#cloud-config
coreos:
etcd:
# generate a new token for each unique cluster from https://discovery.etcd.io/new
# discovery: https://discovery.etcd.io/a52cf57d5e788bb8dff447b6ba668048
# multi-region and multi-cloud deployments need to use $public_ipv4
addr: $public_ipv4:4001
peer-addr: $public_ipv4:7001
peers: 23.253.69.111:7001
[~/dev/palletops/leaven/target (develop)] ➔ jar -tf leaven-0.1.0-SNAPSHOT.jar
META-INF/MANIFEST.MF
META-INF/maven/com.palletops/leaven/pom.xml
META-INF/leiningen/com.palletops/leaven/project.clj
project.clj
META-INF/leiningen/com.palletops/leaven/README.md
META-INF/leiningen/com.palletops/leaven/LICENSE
META-INF/
META-INF/maven/
META-INF/maven/com.palletops/
[~/dev/pallet/riemann-crate (develop)] ➔ lein hyde
:repositories detected in user-level profiles! [:s3]
See https://github.com/technomancy/leiningen/wiki/Repeatability
Creating hyde site in /Users/tbatchelli/dev/pallet/riemann-crate/target/hyde
Copy doc-src/USAGE.md to target/classes/pallet_crate/riemann_crate/USAGE.md
Exception in thread "main" java.lang.RuntimeException: Unable to resolve symbol: cond-> in this context, compiling:(com/palletops/api_builder.clj:26)
at clojure.lang.Compiler.analyze(Compiler.java:6281)
at clojure.lang.Compiler.analyze(Compiler.java:6223)
at clojure.lang.Compiler$InvokeExpr.parse(Compiler.java:3497)
at clojure.lang.Compiler.analyzeSeq(Compiler.java:6457)