Skip to content

Instantly share code, notes, and snippets.

Stuff is happening.

Florian Gilcher skade

Stuff is happening.
View GitHub Profile
skade / Compiler warnings
Created Nov 8, 2009
Compiler warnings and failing tests for rbtree
View Compiler warnings
gcc -I. -I/usr/local/include/ruby-1.9.1/x86_64-darwin10.0.0 -I/usr/local/include/ruby-1.9.1/ruby/backward -I/usr/local/include/ruby-1.9.1 -I. -DNDEBUG -DHAVE_RB_ENUMERATORIZE -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -fno-common -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -Wno-missing-field-initializers -Wshorten-64-to-32 -pipe -o dict.o -c dict.c
gcc -I. -I/usr/local/include/ruby-1.9.1/x86_64-darwin10.0.0 -I/usr/local/include/ruby-1.9.1/ruby/backward -I/usr/local/include/ruby-1.9.1 -I. -DNDEBUG -DHAVE_RB_ENUMERATORIZE -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -fno-common -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -Wno-missing-field-initializers -Wshorten-64-to-32 -pipe -o rbtree.o -c rbtree.c
rbtree.c: In function ‘value_eq’:
rbtree.c:430: warning: implicit conversion shortens 64-bit value into a 32-bit value
rbtree.c: In function ‘to_hash_i’:
rbtree.c:1062: warning: passing argument 1 of ‘rb_hash_tbl’ makes integer from poi
View routing.diff
diff --git a/padrino-core/lib/padrino-core/application/routing.rb b/padrino-core/lib/padrino-core/application/routing.rb
index a978218..3ea7c25 100644
--- a/padrino-core/lib/padrino-core/application/routing.rb
+++ b/padrino-core/lib/padrino-core/application/routing.rb
@@ -12,6 +12,8 @@ module Padrino
# to the url throughout the application.
module Routing
+ CONTENT_TYPE_ALIASES = {:htm => :html}
skade / questions.rb
Created May 28, 2011
This short Padrino application hopefully answers all your questions
View questions.rb
require 'padrino-core'
class Questions < Padrino::Application
get '/*' do
redirect ""
skade / adium.log
Created Aug 22, 2011
Debug log from Adium Adium_1.5hgr4170
View adium.log
11:55:41: (Libpurple: util) Writing file blist.xml to directory /Users/skade/Library/Application Support/Adium 2.0/Users/Default/libpurple
11:55:41: (Libpurple: util) Writing file /Users/skade/Library/Application Support/Adium 2.0/Users/Default/libpurple/blist.xml
11:55:42: (Libpurple: oscar) Requesting ICQ alias for 57636396
11:55:42: (Libpurple: oscar) icq response: 54 bytes, 69792705, 0x07da, 0x00c3
11:55:46: (Libpurple: jabber) Recv (ssl)(342): <message from='' to='' type='chat' id='purplea0970399'><cha:composing xmlns:cha=''/><nos:x value='disabled' xmlns:nos='google:nosave'/><arc:record otr='false' xmlns:arc=''/></message>
11:55:46: (Libpurple: oscar) Requesting ICQ alias for 12111
11:55:47: (Libpurple: oscar) icq response: 54 bytes, 69792705, 0x07da, 0x00c4
11:55:47: (Libpurple: jabber) Recv (ssl)(579): <message from='
skade / query.json
Created Sep 16, 2011
Prettier gist
View query.json
"query": {
"filtered": {
"query": {
"text": {
"_all": "poker"
"filter": [
skade / Procfile
Created Nov 10, 2011
Using Foreman & tail to follow the whole stack
View Procfile
app: padrino start -p 4000 -c my_app_folder -e development
redismonitor: redis-cli MONITOR
nginxtail: tail -n1 -f /var/log/nginx/access.log
skade / Guardfile
Created Feb 27, 2012 — forked from dhepper/
Poor man's CI, Ruby edition
View Guardfile
# gem install guard; guard
guard 'django_tests' do
watch(%r{(.+)\.py}) do |m|
` test main`
skade / gist:3251351
Created Aug 3, 2012
A statement about the Vagrant Usergroup Berlin July
View gist:3251351
Hello everyone,
as most of you will have noticed, there was no Vagrant Usergroup Berlin in July.
The reasons are simple: most of the organizing Team - Robert, Jana, Felix and
myself - are currently involved in Eurucamp ( The camp
will take place in 2 weeks (17. - 19. of August). After the camp, all systems
should be back to normal and we will try to organize another Vagrant UG as soon
as possible.
Thank you all,
View gist:4174945
f = -> h,k { h[k] = }
h = &f
data = {
"80e33bc0-1b9a-0130-d2fb-38f6b113e413:data:message:name" => "max",
"80e33bc0-1b9a-0130-d2fb-38f6b113e413:data:text" => "bla",
"80e33bc0-1b9a-0130-d2fb-38f6b113e413:data:message:line:x" => 123
data.each do |path, v|
View gist:4319867

Client Management

  • ???


  • Bidsketch
  • Proposable


You can’t perform that action at this time.