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
GIT_COMMITTER_DATE="`date`" git commit --amend --date "`date`" |
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
#!/usr/bin/env ruby | |
require 'mechanize' | |
require 'filecache' | |
cache = FileCache.new("data-usage", "/tmp", 60 * 30, 3) | |
unless cache.get('usage').nil? | |
puts cache.get('usage') | |
exit 0 |
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/audio/audiostream.cpp b/audio/audiostream.cpp | |
index 1c5c435..32b38ef 100644 | |
--- a/audio/audiostream.cpp | |
+++ b/audio/audiostream.cpp | |
@@ -33,6 +33,7 @@ | |
#include "audio/decoders/quicktime.h" | |
#include "audio/decoders/raw.h" | |
#include "audio/decoders/vorbis.h" | |
+#include "audio/decoders/cdda.h" | |
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
String.prototype.replaceAt=function(index, char ) { return this.substr(0, index) + char + this.substr(index+char.length); } | |
String.prototype.replace2At=function(index, char1, char2 ) { return this.substr(0, index) + char1 + char2 + this.substr(index+char1.length+char2.length); } | |
function scram29c3run() { | |
var elem = document.getElementById( 'header-29c3-scramble' ); | |
if ( elem ) { var scram = new scram29c3( elem ); scram.run(); } else | |
{ setTimeout( scram29c3run, 500 ); } | |
elem = document.getElementById( 'header-29c3-scramble2' ); | |
if ( elem ) { var scram = new scram29c3( elem ); scram.run(); } | |
} |
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
[38;5;255m,_ ,_==▄▂[0m | |
[38;5;255m, ▂▃▄▄▅▅[48;5;240m▅[48;5;20m▂[48;5;240m▅¾[0m. [38;5;199m/ [38;5;20m/[0m | |
[38;5;255m[48;5;20m▄[0m[38;5;255m[48;5;199m▆[38;5;16m[48;5;255m<´ [38;5;32m"[38;5;34m»[38;5;255m▓▓[48;5;32m▓[48;5;240m%[0m\ [38;5;199m/ [38;5;20m/ [38;5;45m/ [38;5;118m/[0m | |
[38;5;255m,[38;5;255m[48;5;240m▅[38;5;16m[48;5;255m7" [38;5;160m´[38;5;34m>[38;5;255m[48;5;39m▓▓[38;5;199m[48;5;255m▓[0m[38;5;255m% [38;5;20m/ [38;5;118m/ [38;5;199m> [38;5;118m/ [38;5;199m>[38;5;255m/[38;5;45m%[0m | |
[38;5;255m▐[48;5;240m[38;5;255m¶[48;5;240m[38;5;255m▓[48;5;255m [38;5;196m,[38;5;34m»[48;5;201m[38;5;255m▓▓[0m[38;5;255m¾´[0m [38;5;199m/[38;5;255m> %[38;5;199m/[38;5;118m%[38;5;255m/[38;5;199m/ [38;5;45m/ [38;5;199m/[0m | |
[38;5;255m[48;5;240m▓[48;5;255m[38;5;16m▃[48;5;16m[38;5;255m▅▅[38;5;16m[48;5;255m |
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/utils/nfc-mfclassic.c b/utils/nfc-mfclassic.c | |
index 1242886..8d9c6f0 100644 | |
--- a/utils/nfc-mfclassic.c | |
+++ b/utils/nfc-mfclassic.c | |
@@ -431,8 +431,8 @@ write_card(int write_block_zero) | |
} | |
} else { | |
// The first block 0x00 is read only, skip this | |
- if (uiBlock == 0 && ! write_block_zero && ! magic2) | |
- continue; |
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
# Hey Emacs, this is a -*- makefile -*- | |
# AVR-GCC Makefile template, derived from the WinAVR template (which | |
# is public domain), believed to be neutral to any flavor of "make" | |
# (GNU make, BSD make, SysV make) | |
MCU = attiny85 | |
FORMAT = ihex | |
TARGET = avrfid |
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 symm on github. | |
* I am gaz (https://keybase.io/gaz) on keybase. | |
* I have a public key ASCLjhHAu4nSDCuNGpl4HQZGWKvYbJWHXlUj0jr8U1Imrgo | |
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
[Unit] | |
Description=RTL-SDR Server | |
Wants=network-online.target | |
After=network-online.target | |
[Service] | |
ExecStartPre=/bin/sleep 15 | |
ExecStart=/bin/sh -c '/usr/bin/rtl_tcp -a 0.0.0.0 -s 1024000' |
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
from fractions import gcd | |
from Crypto.PublicKey import RSA | |
from Crypto.Signature import PKCS1_v1_5 | |
from Crypto.Hash import SHA | |
def egcd(a, b): | |
if a == 0: | |
return (b, 0, 1) |
OlderNewer