Skip to content

Instantly share code, notes, and snippets.

voidlily

Block or report user

Report or block voidlily

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View keybase.md

Keybase proof

I hereby claim:

  • I am voidlily on github.
  • I am voidlily (https://keybase.io/voidlily) on keybase.
  • I have a public key whose fingerprint is BBF4 6311 39A1 AE78 5DF8 784F 10D8 CF3B 5F7E EB02

To claim this, I am signing this object:

View gist:624bc96073053d99f627
alias tmux-alias="tmux new-session -A -s foo"
# Usage
tmux-alias # Attaches to existing "foo" session or makes a new "foo" session in the current directory
tmux-alias -c /tmp # Attaches to existing "foo" session or makes a new "foo" session in /tmp
@voidlily
voidlily / clickerheroes.clj
Last active Aug 29, 2015
Clicker Heroes ancient levels calculator
View clickerheroes.clj
#!/usr/bin/env lein-exec
;;; Ancient calculator based on the following links
;;;
;;; https://www.dropbox.com/s/pu0wem11sn13qki/ClickerHeroes-Ideal.pdf?dl=0
;;; https://www.reddit.com/r/ClickerHeroes/comments/339m3j/thumbs_up_the_rules_of_thumb/
;;;
;;; Usage: clickerheroes.clj <siylatas level> <optimal zone>
;;; optimal zone is the zone where your gilded hero stops one shotting
;;; early game is until atlas
View keybase.md

Keybase proof

I hereby claim:

  • I am voidlily on github.
  • I am voidlily (https://keybase.io/voidlily) on keybase.
  • I have a public key whose fingerprint is 4B1E A1C7 B11F 4C68 D8C8 BC84 D934 B57D E289 5156

To claim this, I am signing this object:

View gist:1877235
CL-USER> (defvar Hͫ̆̒̐ͣ̊̄ͯ͗͏̵̗̻̰̠̬͝ͅE̴̷̬͎̱̘͇͍̾ͦ͊͒͊̓̓̐_̫̠̱̩̭̤͈̑̎̋ͮͩ̒͑̾͋͘Ç̳͕̯̭̱̲̣̠̜͋̍O̴̦̗̯̹̼ͭ̐ͨ̊̈͘͠M̶̝̠̭̭̤̻͓͑̓̊ͣͤ̎͟͠E̢̞̮̹͍̞̳̣ͣͪ͐̈T̡̯̳̭̜̠͕͌̈́̽̿ͤ̿̅̑Ḧ̱̱̺̰̳̹̘̰́̏ͪ̂̽͂̀͠ "ZALGO")
Hͫ̆̒̐ͣ̊̄ͯ͗͏̵̗̻̰̠̬͝ͅE̴̷̬͎̱̘͇͍̾ͦ͊͒͊̓̓̐_̫̠̱̩̭̤͈̑̎̋ͮͩ̒͑̾͋͘Ç̳͕̯̭̱̲̣̠̜͋̍O̴̦̗̯̹̼ͭ̐ͨ̊̈͘͠M̶̝̠̭̭̤̻͓͑̓̊ͣͤ̎͟͠E̢̞̮̹͍̞̳̣ͣͪ͐̈T̡̯̳̭̜̠͕͌̈́̽̿ͤ̿̅̑Ḧ̱̱̺̰̳̹̘̰́̏ͪ̂̽͂̀͠
CL-USER> Hͫ̆̒̐ͣ̊̄ͯ͗͏̵̗̻̰̠̬͝ͅE̴̷̬͎̱̘͇͍̾ͦ͊͒͊̓̓̐_̫̠̱̩̭̤͈̑̎̋ͮͩ̒͑̾͋͘Ç̳͕̯̭̱̲̣̠̜͋̍O̴̦̗̯̹̼ͭ̐ͨ̊̈͘͠M̶̝̠̭̭̤̻͓͑̓̊ͣͤ̎͟͠E̢̞̮̹͍̞̳̣ͣͪ͐̈T̡̯̳̭̜̠͕͌̈́̽̿ͤ̿̅̑Ḧ̱̱̺̰̳̹̘̰́̏ͪ̂̽͂̀͠
"ZALGO"
@voidlily
voidlily / client.c
Last active Oct 2, 2015
pubsub logger
View client.c
#include <zmq.h>
#include <stdio.h>
#include <unistd.h>
#include <stdlib.h>
#include <string.h>
#include <ctype.h>
#define SOCKET_ADDR "ipc:///tmp/logger"
// source: http://stackoverflow.com/questions/122616/how-do-i-trim-leading-trailing-whitespace-in-a-standard-way
@voidlily
voidlily / client.c
Last active Oct 2, 2015
pubsub logger with forwarder
View client.c
#include <zmq.h>
#include <stdio.h>
#include <unistd.h>
#include <stdlib.h>
#include <string.h>
#include <ctype.h>
#define SOCKET_ADDR "ipc:///tmp/logging"
// source: http://stackoverflow.com/questions/122616/how-do-i-trim-leading-trailing-whitespace-in-a-standard-way
View lambdas.rb
l = lambda { |x| x + 5 }
l(3) # doesn't work
l.call(3) # works
l[3] # works
View gist:2596267
foo = lambda do |a|
b = a + 5
b
end
b = 2
foo.call(b)
=> 7
b
View Gemfile
source 'http://rubygems.org'
gem 'sequel'
gem 'rspec'
gem 'sqlite3'
You can’t perform that action at this time.