Skip to content

Instantly share code, notes, and snippets.

@bugQ
bugQ / keybase.md
Created November 29, 2020 23:58
i am no longer baby i want power

Keybase proof

I hereby claim:

  • I am bugq on github.
  • I am bug (https://keybase.io/bug) on keybase.
  • I have a public key ASDgadXguXcuw2MokfPp1ORbZmx801J3CDJ7df77N7nGRgo

To claim this, I am signing this object:

@bugQ
bugQ / build_openssl_a.sh
Created March 12, 2012 19:05 — forked from tmiz/build_openssl_dylib.sh
Build latest OpenSSL Universal Binary on OSX (static)
#!/bin/bash
OPENSSL_VERSION="1.0.0e"
curl -O http://www.openssl.org/source/openssl-$OPENSSL_VERSION.tar.gz
tar -xvzf openssl-$OPENSSL_VERSION.tar.gz
mv openssl-$OPENSSL_VERSION openssl_i386
tar -xvzf openssl-$OPENSSL_VERSION.tar.gz
mv openssl-$OPENSSL_VERSION openssl_x86_64
cd openssl_i386
./Configure darwin-i386-cc
@bugQ
bugQ / type.rb
Created August 13, 2008 16:13
a little tyiping tutor for curses
%w(curses matrix).each { |lib| require lib }
class Range
def any
first + rand(last + (exclude_end? ? 0 : 1))
end
end
module Indexable
def any(len = nil)