Skip to content

Instantly share code, notes, and snippets.

View wtf.rb
class Bar
def self.class_name
name.split(/::/)
end
end
loop { Bar.class_name }
View gist:21
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
}
View README
Don't try this at home.
View gist:23
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 Jul 20, 2008
Obj-c header file for cocoa app
View Glavni program
#include <iostream>
using namespace std;
#include "stog_pokazivaci.h"
//#include "stog_polje.h"
int kraj_rek;
bool print;
View donkey
donkeys are awesome
We couldn’t find that file to show.
You can’t perform that action at this time.