Skip to content

Instantly share code, notes, and snippets.

View bryanl's full-sized avatar
🚩
Out in the streets

Bryan Liles bryanl

🚩
Out in the streets
View GitHub Profile
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 is bar.txt and it was added remotely.
@bryanl
bryanl / hello.html
Created July 21, 2008 17:00
this is where i get support
<html>
<head><title>Hello</title></head>
<body>
<h1>Hello</h1>
<p>This file was updated by Bryan from remote</p>
</body>
</html>
module Smarticus
class Prs
PLAYS = %w[p r s]
def play(previous=[])
PLAYS[rand(3).to_i]
end
def name
make your changes now
require 'rubygems'
require "test/unit"
require "shoulda"
def score(roll)
accum = 0
raise ArgumentError unless roll.is_a? Array
raise RuntimeError unless roll.any?{|r| r.is_a? Fixnum }
raise RuntimeError if roll.any?{|r| r < 1}
here is some text