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
#import "JDAppController.h" | |
static UIWindow *springBoardWindow; | |
@interface JDAppController() | |
@end | |
@implementation JDAppController |
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
App.stateManager = Ember.StateManager.create | |
rootElement: '#content' | |
section1: Ember.ViewState.create | |
view: App.section1 | |
section2: Ember.ViewState.create | |
view: App.section2 | |
App.goToState 'section1' |
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
#!/usr/bin/env sh | |
## | |
# This is script with usefull tips taken from: | |
# https://github.com/mathiasbynens/dotfiles/blob/master/.osx | |
# | |
# install it: | |
# curl -sL https://raw.github.com/gist/2108403/hack.sh | sh | |
# |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>Label</key> | |
<string>me.apple.ipfw</string> | |
<key>ProgramArguments</key> | |
<array> | |
<string>sh</string> | |
<string>-c</string> |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>AutoSubmitted</key> | |
<true/> | |
<key>SysInfoCrashReporterKey</key> | |
<string>11f92f4011d982c7dbb99762743f6db5d25e0bff</string> | |
<key>bug_type</key> | |
<string>109</string> |
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
derp = "bai" | |
zorb = "moo" | |
poop = -> | |
derp = "sup" | |
zorb = "xx" | |
zorb | |
alert deep | |
alert zorb | |
zorb2 = poop() |
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 Serv | |
@instances: {} | |
@each: (cb) -> | |
for key,val of @instances | |
cb val | |
@get: (number) -> | |
@instances[number] |
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 One where | |
class HTML a where | |
oneToHTML :: a -> String | |
manyToHTML :: [a] -> String | |
data Attribute = Attribute { |
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
#lang r5rs | |
(#%require "dispatching.rkt") | |
(define (make-wallet value) | |
(define (add! amount) | |
(set! value (+ value amount))) | |
(define (take! amount) | |
(set! value (- value amount))) | |
(dispatch (wallet) add! take! value)) |
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
(define white #b111111111111) | |
(define blue #b111100000000) | |
(define green #b000011110000) | |
(define red #b000000001111) | |
;Tile smaller than 10 might slow drawing, but will not cause flashes | |
(define tile 10) ;size of a `pixel' | |
(define size 13) ;number of pixels (/ 130 10) | |
(define index 169) ;total number of pixels |
OlderNewer