Skip to content

Instantly share code, notes, and snippets.

sdfasdfdsasdfd bass
class Bar
def self.class_name
name.split(/::/)
end
end
loop { Bar.class_name }
@schacon
schacon / gist:20
Created July 20, 2008 19:17 — forked from mojombo/wtf.rb
.,mlkmlkml
function INTERNETS() {
# Fucking computer forgets how to connect to unsecured & WEP networks
# after going to sleep. I GET. WPA IS BETTER. SOMETIMES ITS NOT MY
# FUCKING CHOICE AND I STILL WANT INTERNET. (Reloads the wireless
# module & restarts the wireless daemon.)
sudo rmmod wl
sudo /etc/rc.d/wicd stop
sudo modprobe wl
sudo /etc/rc.d/wicd start
}
Don't try this at home.
function INTERNETS() {
# Fucking computer forgets how to connect to unsecured & WEP networks
# after going to sleep. I GET. WPA IS BETTER. SOMETIMES ITS NOT MY
# FUCKING CHOICE AND I STILL WANT INTERNET. (Reloads the wireless
# module & restarts the wireless daemon.)
sudo rmmod wl
sudo /etc/rc.d/wicd stop
sudo modprobe wl
sudo /etc/rc.d/wicd start
}
@augustl
augustl / Glavni program
Created July 20, 2008 20:28
Obj-c header file for cocoa app
#include <iostream>
using namespace std;
#include "stog_pokazivaci.h"
//#include "stog_polje.h"
int kraj_rek;
bool print;
@toretore
toretore / donkey
Created July 20, 2008 20:32
werwer
donkeys are awesome
@Sutto
Sutto / gist:29
Created July 20, 2008 20:38
undefined
We couldn’t find that file to show.