Skip to content

Instantly share code, notes, and snippets.

Stuff is happening.

Florian Gilcher skade

Stuff is happening.
View GitHub Profile
skade /
Created May 27, 2019 — forked from rust-play/
Code shared from the Rust Playground
fn main() {
let mut buffer = String::new();
for i in 1..100 {
buffer = fizzbuzz(i, buffer);
println!("{}", buffer);
fn fizzbuzz(i: u32, mut buffer: String) -> String {
View gist:8633489
$ cat ruby_mcache.stp
probe process("/usr/bin/ruby").mark("method__cache__clear")
module = kernel_string($arg1)
if ($arg2)
file = kernel_string($arg2)
file = "<internal>"
line = $arg3
printf("%s(%d) %s %s:%d cleared `%s'\n", execname(), pid(), $$name, file, line, module)
View gist:6123519

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.

View gist:4319867

Client Management

  • ???


  • Bidsketch
  • Proposable


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|
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`
You can’t perform that action at this time.