Skip to content

Instantly share code, notes, and snippets.

View skade's full-sized avatar
💭
Bringing Rust to safety critical.

Florian Gilcher skade

💭
Bringing Rust to safety critical.
View GitHub Profile
@skade
skade / hackday_info
Created February 1, 2013 14:10
eurucamp JRuby Hackday
Hi,
you are receiving this email because you registered for the first eurucamp hackdays[1] that are happening this weekend at co.up. To get there, take the subway to Kottbusser Tor. Co.up is in the building at the rear of Adalbertstraße 7.
http://goo.gl/maps/gFYgV
I will open the doors at 9:00am on both days and keep them open for as long as possible/necessary. The room is prepared, some help cleaning it up on the evenings is much appreciated. We have drinks at the usual co.up prices (1.50 per bottle) and I will bring coffee beans. As usual, we might be ordering pizza or something similar during the day.
Be aware that you don't need to be on time - there will be enough time to introduce everyone personally and to hand out tasks for those that don't have any. Just drop by when its convenient for you.
@skade
skade / cancellation.md
Created March 5, 2013 23:50
eurucamp hackdays 03/2013 cancellation

eurucamp hackdays 03/2013 cancellation

Hi Berlin Ruby Hackers,

this might not be unexpected, given the silence and missing advertisment about the event after the inital announcement on the last rug_b: I cancelled eurucamp hackdays for March 2013. I just don't have the time and energy for running it currently.

Sorry for cancelling so late, I thought I'd find the time.

I am currently searching for dates in April, so stay tuned.

How to use a PS3 controller on Mac OS X 10.7 (Lion)

  1. Open Apple menu -> System Preferences -> Bluetooth and disable Bluetooth on Mac as well as any other nearby Macs or devices which will try to pair with and confuse the controller.

  2. Reset PS3 controller by inserting paperclip into pinhole near L2 button.

  3. Connect PS3 controller to Mac with USB cable.

  4. Enable Bluetooth.

@skade
skade / gist:6764516
Created September 30, 2013 14:19
rustpkg not recursig into subdirectories of dependent libs correctly.
[ skade widmann ] RUST_LOG=r=4 rustpkg build libwidmann
WARNING: The Rust package manager is experimental and may be unstable
Using sysroot: /usr/local
Will store workcache in /Users/skade/Code/rust/widmann/.rust
Workcache database file: /Users/skade/Code/rust/widmann/.rust/rustpkg_db.json
Didn't find libwidmann-0.1 in /Users/skade/Code/rust/widmann/.rust
Found libwidmann-0.1 in /Users/skade/Code/rust/widmann
Didn't find libwidmann-0.1 in /Users/skade/.rust
found pkg libwidmann-0.1 in workspace /Users/skade/Code/rust/widmann, trying to build
Checking package source for package ID libwidmann-0.1, workspace = /Users/skade/Code/rust/widmann use_rust_path_hack = false
@skade
skade / gist:6769306
Created September 30, 2013 20:01
Widmann benchmarks
[ skade ~ ] ab -n 1000 -c 10 http://rust-test.herokuapp.com/foo/barc
This is ApacheBench, Version 2.3 <$Revision: 655654 $>
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Licensed to The Apache Software Foundation, http://www.apache.org/
Benchmarking rust-test.herokuapp.com (be patient)
Completed 100 requests
Completed 200 requests
Completed 300 requests
Completed 400 requests
@skade
skade / rockon.sh
Last active December 30, 2015 07:09
Shell functions and aliases for metalheads and friends.
alias killemall=killall
alias exploited=jobs
alias vinyl=cd
alias pop=false
@skade
skade / thoughts_on_microrb.md
Last active December 31, 2015 17:19
A few thoughts on microrb

Hi microrbes,

I gave the issue of "what would you like from microrb" a few thoughts that I'd like to write down here:

I find "building a collection" important, but that is one curated task for one or two persons. Still, I think this is selling the concept short.

I think there are a few things holding people off from using microlibraries:

  1. Inconsistent or lack documentation
@skade
skade / (slash)etc(slash)hosts
Last active January 2, 2016 02:19
Get Facebook off your internet
#ignore stupid sites
127.0.0.1 techcrunch.com
127.0.0.1 www.facebook.com
127.0.0.1 facebook.com
127.0.0.1 static.ak.fbcdn.net
127.0.0.1 www.static.ak.fbcdn.net
127.0.0.1 login.facebook.com
127.0.0.1 www.login.facebook.com
127.0.0.1 fbcdn.net
@skade
skade / gist:8633489
Last active January 4, 2016 14:19 — forked from tmm1/gist:7998799
$ cat ruby_mcache.stp
probe process("/usr/bin/ruby").mark("method__cache__clear")
{
module = kernel_string($arg1)
if ($arg2)
file = kernel_string($arg2)
else
file = "<internal>"
line = $arg3
printf("%s(%d) %s %s:%d cleared `%s'\n", execname(), pid(), $$name, file, line, module)
@skade
skade / require_mem.stp
Created January 27, 2014 23:48
This systemtap probe measures memory cost per require. Be aware that require sum up, so subrequires form the sum of the initial require.
global before;
global after;
probe process("ruby").mark("require__entry")
{
module = kernel_string($arg1)
mem = proc_mem_size_pid(pid())
before [module] = mem;
}