Skip to content

Instantly share code, notes, and snippets.

View requnix's full-sized avatar

Michael Prins requnix

View GitHub Profile

Keybase proof

I hereby claim:

  • I am requnix on github.
  • I am requnix (https://keybase.io/requnix) on keybase.
  • I have a public key ASAL6z6epePkofJHviDsz3XJGAM9FNJ2lWisecgP8uCSAgo

To claim this, I am signing this object:

# Sample usage:
# compile with debug info: make CFLAGS=-g
# compile for pentiumpro: make CFLAGS="-O2 -DNDEBUG -march=i586 -mcpu=pentiumpro -fomit-frame-pointer"
# create rpm with statically linked program: make rpm ADDLDFLAGS="-static -s -Wl,--gc-sections"
CC = gcc
VERSION = 1.2.9
PREFIX = /usr/local
# using OPTFLAGS/OPTLDFLAGS for compatibilty with old scripts using this makefile
OPTFLAGS = -O2 -DNDEBUG -fomit-frame-pointer -ffunction-sections -fdata-sections
OPTLDFLAGS =
@requnix
requnix / bitcoin.conf
Created December 10, 2011 19:25
Default Bitcoin Configuration file
##############################################################
# Bitcoin configuration. Lines beginning with # are comments.#
##############################################################
# Network-related settings:
# Run on the test network instead of the real bitcoin network.
#testnet=1
# Connect via a socks4 proxy
@requnix
requnix / geeklist.css
Created November 14, 2011 09:59
Oddities in Geekli.st CSS
/* Roughly line 26 */
.ui-helper-clearfix {
display: inline-block
}
/*\*/* html .ui-helper-clearfix { /* I don't think these comment tricks work when you minify things onto one line */
height: 1%
}
.ui-helper-clearfix {
@requnix
requnix / gist:978816
Created May 18, 2011 15:33
Rails Server not starting from clean Rails 3.1.0.beta1 template
[ruby-1.9.2@corprit] michaelprins Code/corprit % rails s
=> Booting WEBrick
=> Rails 3.1.0.beta1 application starting in development on http://0.0.0.0:3000
=> Call with -d to detach
=> Ctrl-C to shutdown server
Exiting
/Users/michaelprins/.rvm/gems/ruby-1.9.2-p180@corprit/gems/actionpack-3.1.0.beta1/lib/sprockets/railtie.rb:37:in `block (2 levels) in <class:Railtie>': undefined method `context' for #<Sprockets::Environment:0x00000100f645e0> (NoMethodError)
from /Users/michaelprins/.rvm/gems/ruby-1.9.2-p180@corprit/gems/activesupport-3.1.0.beta1/lib/active_support/lazy_load_hooks.rb:36:in `instance_eval'
from /Users/michaelprins/.rvm/gems/ruby-1.9.2-p180@corprit/gems/activesupport-3.1.0.beta1/lib/active_support/lazy_load_hooks.rb:36:in `execute_hook'
from /Users/michaelprins/.rvm/gems/ruby-1.9.2-p180@corprit/gems/activesupport-3.1.0.beta1/lib/active_support/lazy_load_hooks.rb:26:in `on_load'
@requnix
requnix / gist:635009
Created October 19, 2010 20:16
Bookmarklet to clean up the Rails Rumble 2010 Dashboard
<a href="javascript:$('#primary, .section.commits').remove();$('#secondary').width('100%');$('.section.irc').height('67%');$('.section.irc h1').height('9%');">Clean Rumbledash</a>