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
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQDPheWLRAUcWRMjP41CvIFAxkH7bztRHITtYPiStc1dlAw748qoLqZxvjXXtdeldAexIBbjfAgpDbvf8bQK7OJmNhfe3cD/lIJFEUD685IYvfIu3+pAk1lnpROSiFwSzUhT3VgZ0R7LKrVaNqYfRm0ZqZ3SWQKYH+HW4QDf/CMMOUHYO2+8YE1OSK/tcx6CtoHkg7h+5BTKYbYcIj7V4syjLF40t7EdGaEJi7DP0geKyRPoakvjMh8i4w1qdNI9oflZ0nhhVUQviEtL7XygOqtZG+9AxQes2Tap6iGvyiyGKRHZOKvyW6MqPxAwfV8NGH/MMpC8R1SNmq7AOhxdarv+dnOa4K3HPbnC3Bgu7CuD4z/SYK+DFnsQ48s3qTayN6m9guGphITsuXa8rytQxN9N6oQpRFK9Pk81pDltGq+SLrSvTfJ46W6j2nzUm+xx6Z8ONYJDHyuJl/o3ggjUfTU3x/M/BQ6jmRt0AAGAoIMDG7RJOouufutjhmOFpPy1VHGg18sadzu+m4ClzLCikOqOf/pJRSssks5R0NCXlxhlKVGzsBsMurxJYFvpPa0TY2yANyHIML6clJNLOWiFq/Dex73XGJLKAhh2Nk7yyb8hi0ryUXQK0QJ/rdewEvVIPU9EcwKharMxyCBkxDvB2zDIDrwrCqiKMLSEraw4lH8whQ== joshua@klaus |
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
F = lambda n: ((2**(1/12))**n) * 220.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
class Field(object): | |
""" | |
Base class for serialisable fields. | |
""" | |
pass | |
class Message(object): | |
""" | |
Base class for serialisable messages. |
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 rev-parse HEAD | xxd -r -p > current.hex |
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
''.join([chr(i) for i in range(32, 127)]) |
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
virtualenv -p `which python3.5` env |
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
var getCurrentColour = function() { | |
var now = new Date(); | |
var midnight = new Date( | |
now.getFullYear(), | |
now.getMonth(), | |
now.getDate(), | |
0, 0, 0 | |
); | |
var millisDiff = now.getTime() - midnight.getTime(); | |
var secondsDiff = millisDiff / 1000; |
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
def main(): | |
""" | |
I am a quine. Please pass me on. I write my own source! | |
""" | |
q = chr(34)*3 | |
p = """def main(): | |
{} | |
I am a quine. Please pass me on. I write my own source! | |
{} | |
q = chr(34)*3 |
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
scan-build -V make |
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
var crypto = require("crypto"); | |
var signature = function(string) { | |
return crypto.createHash("sha1").update(string).digest("base64").replace(/\=$/, ''); | |
} |