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
runtime: goroutine stack exceeds 1000000000-byte limit | |
fatal error: stack overflow | |
runtime stack: | |
runtime.throw(0xa751d0, 0xe) | |
/usr/local/go/src/runtime/panic.go:530 +0x90 | |
runtime.newstack() | |
/usr/local/go/src/runtime/stack.go:940 +0xb11 | |
runtime.morestack() | |
/usr/local/go/src/runtime/asm_amd64.s:359 +0x7f |
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
### Keybase proof | |
I hereby claim: | |
* I am reaperhulk on github. | |
* I am reaperhulk (https://keybase.io/reaperhulk) on keybase. | |
* I have a public key whose fingerprint is 05FD 9FA1 6CF7 5735 0D91 A560 235A E5F1 29F9 ED98 | |
To claim this, I am signing this object: |
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
#include <stdio.h> | |
int main(void) { | |
if (1 != 1) | |
goto fail; | |
if (2 != 2) | |
goto fail; | |
if (3 != 3) | |
goto fail; | |
goto fail; |
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
Here was the process: | |
1) Restore iPhone from iCloud backup | |
2) Authy app downloads as part of that process | |
3) Open Authy app, run through reset process for new phone | |
4) All my TOTP tokens appear, but all of them are 000000 and do not rotate. I am not prompted for my backup password. | |
5) Delete app | |
6) Reinstall app | |
7) Run through reset process for new phone again | |
8) This time it prompts me for my backup password, which I enter and regain access to all tokens |
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
require 'zlib' | |
path = '/path/to/a/log.gz' | |
file = File.new(path, "r") | |
file = Zlib::GzipReader.new(file) | |
while (row = file.gets) | |
puts row | |
end | |
#An exception occurred running test.rb | |
# private method `gets' called on an instance of Zlib::GzipReader. (NoMethodError) |
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 | |
PID=`ps aux | grep catalina.startup.Bootstrap | grep -v grep | awk '{print $2}'` | |
kill -9 $PID |
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
diff --git a/index.php b/index.php | |
index 7499dbf..7e81c1b 100644 | |
--- a/index.php | |
+++ b/index.php | |
@@ -60,12 +60,17 @@ while($token != '') // Loop so we can handle aliases | |
{ | |
// 404! | |
// no redirect | |
- header($_SERVER['SERVER_PROTOCOL'].' 404 Not Found'); | |
- header('Status:404'); |