This file contains hidden or 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
------------ | |
-- object -- | |
------------ | |
-- base prototype | |
object={} | |
function object:new(o) | |
o=o or {} | |
setmetatable(o,self) | |
self.__index=self |
This file contains hidden or 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
mkdir /Volumes/cool | |
sshfs compilers@localhost:/usr/class/cs143/cool /Volumes/cool -p 3022 | |
open /Volumes/cool |
This file contains hidden or 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
for pkg in `ghc-pkg list | sed -e '1,/Cabal-1.18.1.3/d'` | |
do | |
ghc-pkg unregister --force $pkg | |
done | |
for file in `ls -d -1 ~/Library/Haskell/ghc-7.6.3/lib/** | grep -v Cabal-1.18.1.3` | |
do | |
rm -rf $file | |
done |
This file contains hidden or 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
haste-boot | |
Downloading base libs from GitHub | |
Sending: | |
GET /haste-libs/haste-libs-0.2.99.tar.bz2 HTTP/1.1 | |
Host: valderman.github.io | |
Creating new connection to valderman.github.io | |
Received: | |
HTTP/1.1 200 OK |
This file contains hidden or 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 <MozziGuts.h> | |
#include <Sample.h> | |
#include <EventDelay.h> | |
#include "sonicscrewdriver.h" | |
#define CONTROL_RATE 64 | |
Sample <SONIC_SCREWDRIVER_NUM_CELLS, AUDIO_RATE> aSample(SONIC_SCREWDRIVER_DATA); | |
EventDelay kTriggerDelay; |
This file contains hidden or 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
// Use OpenGL 3.0+, but don't use GLU | |
#define GLFW_INCLUDE_GL3 | |
#define GLFW_NO_GLU | |
#include <GL/glfw.h> | |
#include <glm/glm.hpp> | |
#include <glm/gtc/matrix_transform.hpp> | |
#include <glm/gtc/type_ptr.hpp> | |
extern "C" { |