Skip to content

Instantly share code, notes, and snippets.

@gak
gak / people-also-searched-for-fix.js
Created Dec 14, 2020
A Greasemonkey script to remove Google Search's "People also searched for" box.
View people-also-searched-for-fix.js
// ==UserScript==
// @name Remove Google Search's "People also searched for" box.
// @version 1
// @grant none
// ==/UserScript==
/*
This works for me. YMMV. I take no responsibility.
Licenced under MIT.
View keybase.md

Keybase proof

I hereby claim:

  • I am gak on github.
  • I am gak (https://keybase.io/gak) on keybase.
  • I have a public key ASAEO-44t1kB6HqdQ4EPUbAlIpiJROD4VE3KsVkgAGm25Ao

To claim this, I am signing this object:

@gak
gak / badcert
Last active Dec 6, 2015
slack invalid certificate from my host
View badcert
~ > openssl s_client -connect slack.com:443
CONNECTED(00000003)
depth=1 C = US, ST = California, L = Sunnyvale, O = Fortinet, OU = Certificate Authority, CN = FortiGate CA, emailAddress = support@fortinet.com
verify error:num=19:self signed certificate in certificate chain
---
Certificate chain
0 s:/C=US/ST=California/L=San Francisco/O=Slack Technologies, Inc/CN=*.slack.com
i:/C=US/ST=California/L=Sunnyvale/O=Fortinet/OU=Certificate Authority/CN=FortiGate CA/emailAddress=support@fortinet.com
1 s:/C=US/ST=California/L=Sunnyvale/O=Fortinet/OU=Certificate Authority/CN=FortiGate CA/emailAddress=support@fortinet.com
i:/C=US/ST=California/L=Sunnyvale/O=Fortinet/OU=Certificate Authority/CN=FortiGate CA/emailAddress=support@fortinet.com
View gist:f44d78606e2382ee1a38
1: 2P Mirror Match
Game Erekose's Important Longbowman Theme:1 GMR:9549
Winning Teams: [<Team: #2 FilthyRobot>]
Losing Team: #1 erekose 1500.0
Score Difference: 0.0 Delta 16
Score: 16.0 for FilthyRobot, now 1516.0
Score: -16 for erekose, now 1484
Game Konohatensai's Innocent Landship Theme:1 GMR:9581
@gak
gak / keybase.md
Created Jan 5, 2015
Keybase proof
View keybase.md

Keybase proof

I hereby claim:

  • I am gak on github.
  • I am gak (https://keybase.io/gak) on keybase.
  • I have a public key whose fingerprint is 0197 8227 F2D2 3612 8428 63CB 9B7E 7646 DCC1 7878

To claim this, I am signing this object:

@gak
gak / gist:835f6684383b31a0338b
Created Nov 9, 2014
Accidentally left Python's SimpleHTTPServer running for a day...
View gist:835f6684383b31a0338b
108.216.50.68 - - [08/Nov/2014 10:17:28] code 400, message Bad request syntax ('P\x98\xc2')
108.216.50.68 - - [08/Nov/2014 10:17:28] "PÂ" 400 -
131.100.45.37 - - [08/Nov/2014 10:42:44] "HEAD / HTTP/1.0" 200 -
124.176.60.84 - - [08/Nov/2014 12:18:29] code 400, message Bad request syntax ('p~\xbfE\x17\x9f\x03\x16\xf8\xbf\xd5Bm\xce\x81.s7&\x89\xa9\xff\xa7\xf2')
124.176.60.84 - - [08/Nov/2014 12:18:29] "p~¿Eø¿ÕBm΁.s7&©ÿ§ò" 400 -
24.161.2.11 - - [08/Nov/2014 14:12:35] code 404, message File not found
24.161.2.11 - - [08/Nov/2014 14:12:35] "GET /tmUnblock.cgi HTTP/1.1" 404 -
175.182.128.92 - - [08/Nov/2014 14:18:28] code 400, message Bad request version ('\x86P\xeeQ@\x95\xe9\x94\xd2\x02\xad\x95\xb1\xd9^\xb7\xf8\xbc\x91\x0e1\\\xd3]\x87\xa4\x1e\xb5\xea\xf36\xc2\xfe?\x05\xc1\xf4\xa8R\xac')
175.182.128.92 - - [08/Nov/2014 14:18:28] "¢ÏøT[2?ާ«%] °¸£°ù
PîQ@éÒ­±Ù^·ø¼1\Ó]¤µêó6Âþ?Áô¨R¬" 400 -
View dnsmasq.patch
--- dnsmasq.old 2014-09-03 04:39:53.119771520 +0000
+++ dnsmasq 2014-09-03 05:21:11.718863850 +0000
@@ -143,9 +143,15 @@
# 1 if daemon was already stopped
# 2 if daemon could not be stopped
# other if a failure occurred
- start-stop-daemon --stop --quiet --retry=TERM/30/KILL/5 --pidfile /var/run/dnsmasq/$NAME.pid --name $NAME
- RETVAL="$?"
- [ "$RETVAL" = 2 ] && return 2
+
View fig.yml
bitcoin:
build: bitcoin
command: /run.sh
volumes:
- "/z/services/data/bitcoin:/.bitcoin"
ports:
- "8333:8333"
nginx:
build: docker-nginx
View gist:9be87808a99e6e1b6d46
Verifying myself: My Bitcoin username is +gak. https://onename.io/gak