Skip to content

Instantly share code, notes, and snippets.

@bugQ
bugQ / keybase.md
Created Nov 29, 2020
i am no longer baby i want power
View keybase.md

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 Mar 12, 2012 — forked from tmiz/build_openssl_dylib.sh
Build latest OpenSSL Universal Binary on OSX (static)
View build_openssl_a.sh
#!/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 Aug 13, 2008
a little tyiping tutor for curses
View type.rb
%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)