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
rm -rf dist | |
mkdir -p dist | |
In file included from /usr/local/Cellar/glib/2.24.1/lib/glib-2.0/include/glibconfig.h:12, | |
from /usr/local/Cellar/glib/2.24.1/include/glib-2.0/glib/gtypes.h:34, | |
from /usr/local/Cellar/glib/2.24.1/include/glib-2.0/glib/galloca.h:34, | |
from /usr/local/Cellar/glib/2.24.1/include/glib-2.0/glib.h:32, | |
from shoes/app.c:5: | |
/usr/include/float.h:8:24: error: float.h: No such file or directory | |
In file included from /usr/local/Cellar/glib/2.24.1/include/glib-2.0/glib/gerror.h:28, | |
from /usr/local/Cellar/glib/2.24.1/include/glib-2.0/glib/gthread.h:34, |
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
cairo | |
fftw | |
fontconfig | |
gettext | |
glib | |
irssi | |
jack | |
libpng | |
libsndfile | |
pango |
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
require 'rubygems' | |
require 'rake' | |
require 'rake/clean' | |
require_relative 'platform/skel' | |
require 'fileutils' | |
require 'find' | |
require 'yaml' | |
include FileUtils | |
APP = YAML.load_file(File.join(ENV['APP'] || ".", "app.yaml")) |
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
require 'rubygems' | |
require 'rake' | |
require 'rake/clean' | |
require_relative 'platform/skel' | |
require 'fileutils' | |
require 'find' | |
require 'yaml' | |
include FileUtils | |
APP = YAML.load_file(File.join(ENV['APP'] || ".", "app.yaml")) |
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
$ UNIVERSAL=1 rake | |
(in /Users/micah/Code/shoes) | |
we're universal! | |
rm -rf dist | |
mkdir -p dist | |
rm -f dist/shoes | |
rm -f dist/shoes-bin | |
ld: warning in bin/main.o, file is not of required architecture | |
ld: warning in /usr/local/Cellar/ruby/1.9.1-p378/lib/libruby.dylib, file is not of required architecture | |
ld: warning in /usr/local/Cellar/cairo/1.8.10/lib/libcairo.dylib, file is not of required architecture |
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 goomba | |
image_loading("goomba.png") | |
drawable(image_loading.image, walking.draw_x, walking.draw_y) | |
walking(goomba_ai.movement) | |
... | |
end |
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
// Lesson2Final.as | |
package | |
{ | |
import com.pblabs.engine.PBE; | |
import com.pblabs.engine.entity.*; | |
import com.pblabs.rendering2D.*; | |
import com.pblabs.rendering2D.ui.*; | |
import flash.display.Sprite; | |
import flash.geom.Point; |
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
module Main where | |
import System.Environment | |
import Text.ParserCombinators.Parsec hiding (token, (<|>), many) | |
import Control.Applicative | |
data Expr = Symbol Char | |
| Apply Expr Expr | |
| Lambda Expr Expr deriving (Show) | |
main :: IO () |
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
main = interact prg | |
prg :: String -> String -- pure function! | |
prg s = unlines $ [ "What is your name?" | |
, "Hi, " ++ name ++ "!" | |
, "Where do you live?" | |
, place ++ " is very nice, isn't it?" ] | |
++ re 2 (lns !! 2) | |
where lns = lines s |
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
$Bar = "a"; | |
$Foo = "Bar"; | |
$World = "Foo"; | |
$Hello = "World"; | |
$a = "Hello"; | |
$a; //Returns Hello | |
$$a; //Returns World | |
$$$a; //Returns Foo | |
$$$$a; //Returns Bar |