This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
using namespace std; | |
#include "stog_pokazivaci.h" | |
//#include "stog_polje.h" | |
int kraj_rek; | |
bool print; | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Bar | |
def self.class_name | |
name.split(/::/) | |
end | |
end | |
loop { Bar.class_name } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Don't try this at home. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
how to do stuff | |
totally hotness |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'logger' | |
log = Logger.new(STDOUT) | |
threads = [] | |
10.times do | |
threads << Thread.new do | |
loop do | |
log.info("foo") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
dear gist: are you slow today? | |
testing | |
foobar |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
dammit pj |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module Jabber | |
def self.read | |
size = $stdin.read(2).unpack("n").first | |
$stdin.read(size).split(':') | |
end | |
def self.write(success) | |
answer = success ? 1 : 0 | |
token = [2, answer].pack("nn") | |
$stdout.write(token) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- driver.rb-orig 2008-06-26 17:06:27.000000000 -0700 | |
+++ driver.rb 2008-06-26 18:22:58.000000000 -0700 | |
@@ -1,47 +1,171 @@ | |
module God | |
- | |
- class DriverEvent | |
- attr_accessor :condition, :at | |
+ class TimedEvent | |
+ include Comparable | |
+ |
OlderNewer