Skip to content

Instantly share code, notes, and snippets.

View bryanwoods's full-sized avatar
💭
Replacing Security Deposits

Bryan Woods bryanwoods

💭
Replacing Security Deposits
View GitHub Profile
//
// main.m
// prog1
//
// Created by Bryan Woods on 12/8/08.
// Copyright __MyCompanyName__ 2008. All rights reserved.
//
#import <stdio.h>
#import <objc/Object.h>
//
// triangularNumber.m
// prog1
//
// Created by Bryan Woods on 12/8/08.
// Copyright __MyCompanyName__ 2008. All rights reserved.
//
#import <stdio.h>
#!/usr/bin/env python
# encoding: utf-8
# sudoku-solver version 3
#
# Some ideas ripped-off from:
# http://www.linuxjournal.com/article/8729
# http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/440542
# Pavol solver in
# http://groups.google.com/group/comp.lang.python/browse_thread/thread/5087890f4c5e770d
#
# memerator.rb
# Script for making static YES/NO meme websites
# For fun and profit
#
# Bryan Woods
# http://snuggietonight.com
#
# HOWTO:
# 1. Buy Clever Domain Name
# 2. Edit the "Customization" section of this script (Lines 17-22)
require 'dl/import'
class LiveMIDI
ON = 0x90
OFF = 0X80
PC = 0XC0
def initialize
open
end
# If you're on a Mac, download SimpleSynth:
# http://notahat.com/simplesynth
# Just open SimpleSynth up and leave it running.
#
# Then open a terminal window and enter:
# ruby bit_phase.rb
#
# It should work on Windows and Linux as well
# But hasn't yet been tested
#
mess = '<!--
%%$@_$^__#)^)&!_+]!*@&^}@[@%]()%+$&[(_@%+%$*^@$^!+]!&_#)_*}{}}!}_]$[%}@[{_@#_^{*
@##&{#&{&)*%(]{{([*}@[@&]+!!*{)!}{%+{))])[!^})+)$]#{*+^((@^@}$[**$&^{$!@#$%)!@(&
+^!{%_$&@^!}$_${)$_#)!({@!)(^}!*^&!$%_&&}&_#&@{)]{+)%*{&*%*&@%$+]!*__(#!*){%&@++
!_)^$&&%#+)}!@!)&^}**#!_$([$!$}#*^}$+&#[{*{}{((#$]{[$[$$()_#}!@}^@_&%^*!){*^^_$^
]@}#%[%!^[^_})+@&}{@*!(@$%$^)}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${}}#}{%}#+{(@
# paper_alchemy.rb
# Base Rails template for morphing data objects into ink on paper
plugin 'rspec',
:git => 'git://github.com/dchelimsky/rspec.git'
plugin 'rspec-rails',
:git => 'git://github.com/dchelimsky/rspec-rails.git'
plugin 'restful-authentication',
:git => 'git://github.com/technoweenie/restful-authentication.git'
plugin 'exception_notifier',
system "django-admin.py startproject mysite"
system "cd mysite && python manage.py runserver"