🔮
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
//FightCode can only understand your robot | |
//if its class is called Robot | |
var Robot = function(robot) {}; | |
Robot.prototype.onIdle = function(ev) { | |
var robot = ev.robot; | |
robot.ahead(100); | |
robot.rotateCannon(360); | |
robot.back(100); |
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
/** | |
* Put this in: | |
* - Mac: ~/Library/Application Support/Google/Chrome/Default/User StyleSheets/Custom.css | |
* - Ubuntu: ~/.config/chromium/Default/User StyleSheets/Custom.css | |
* - Windows: C:\Users\YourUsername\AppData\Local\Google\Chrome\UserData\Default\User StyleSheets\Custom.css | |
*/ | |
#-webkit-web-inspector.compact #toolbar { | |
background: -webkit-linear-gradient(#CCC, #AEAEAE) !important; |
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
Finished compiling for arch osx | |
gcc -I/usr/local/Cellar/glib/2.32.4/include/glib-2.0 -I/usr/local/Cellar/glib/2.32.4/lib/glib-2.0/include -I/usr/local/Cellar/gettext/0.18.1.1/include -I/usr/local/Cellar/cairo/1.12.2/include -I/usr/local/Cellar/cairo/1.12.2/include/cairo -I/usr/X11R6/include/freetype2 -I/usr/X11R6/include/freetype2/freetype -I/usr/local/Cellar/freealut/1.1.0/include -I/System/Library/Frameworks/OpenAL.framework/Headers -framework OpenAL -I/usr/local/Cellar/libvorbis/1.3.3/include -I/usr/local/Cellar/libogg/1.3.0/include -I/usr/X11R6/include -I/usr/local/include/ -I/usr/local/include/glib-2.0 -I rock_tmp -I /usr/local/rock/libs/headers/ -L/usr/local/lib -I/usr/local/include -I/usr/pkg/include -std=gnu99 -Wall -D__OOC_USE_GC__ -DGC_NO_THREAD_REDIRECTS -L/usr/X11R6/lib -L/usr/local/Cellar/glib/2.32.4/lib -L/usr/local/Cellar/gettext/0.18.1.1/lib -lglib-2.0 -lintl -L/usr/local/Cellar/cairo/1.12.2/lib -lcairo -L/usr/local/Cellar/freealut/1.1.0/lib -lalut -L/usr/local/Cellar/libvorbis/1.3.3/lib -L/us |
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
Process: alone [36378] | |
Path: /Users/USER/Desktop/*/alone | |
Identifier: alone | |
Version: ??? (???) | |
Code Type: X86-64 (Native) | |
Parent Process: bash [29669] | |
Date/Time: 2011-12-21 21:58:37.231 +0100 | |
OS Version: Mac OS X 10.7.2 (11C74) | |
Report Version: 9 |
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
~/Desktop/alone (master) $ ./alone | |
[Mon Dec 19 22:17:17 2011] [INFO] [Input] Input system initialized | |
[Mon Dec 19 22:17:17 2011] [DEBUG] [Sprite] Loaded svg asset assets/svg/health.svg (size 23x23) | |
[Mon Dec 19 22:17:17 2011] [DEBUG] [Sprite] Loaded svg asset assets/svg/score.svg (size 23x23) | |
[Mon Dec 19 22:17:17 2011] [DEBUG] [Sprite] Loaded svg asset assets/svg/bloodScreen.svg (size 1920x1080) | |
[Mon Dec 19 22:17:17 2011] [DEBUG] [LevelLoader] Loading json assets/levels/full1.json! | |
[Mon Dec 19 22:17:17 2011] [DEBUG] [Sprite] Loaded svg asset assets/svg/movingObj_Full.svg (size 400x400) | |
[Mon Dec 19 22:17:17 2011] [DEBUG] [Sprite] Loaded svg asset assets/svg/sign.svg (size 156x163) | |
[Mon Dec 19 22:17:17 2011] [DEBUG] [Sprite] Loaded svg asset assets/svg/Vacuum.svg (size 164x126) | |
[Mon Dec 19 22:17:17 2011] [DEBUG] [LevelLoader] Level 'Welcome to hell', by 'Amos Wenger' |
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
getRenderer = (records, template, prepare, insert) -> | |
render = (index = 0) -> | |
if index < records.length | |
record = records[records.length - 1 - index] | |
data = prepare record | |
context.render('templates/' + template + '.template', data ).then (node) -> | |
insert node | |
render index + 1 | |
category = {} |
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
/Users/romac | |
├─┬ [email protected] | |
│ ├── [email protected] | |
│ └─┬ [email protected] | |
│ └── [email protected] | |
├── [email protected] | |
├── [email protected] | |
├─┬ [email protected] | |
│ └── [email protected] | |
├── [email protected] |
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
( function( d ) | |
{ | |
var img = d.querySelector( 'img' ), | |
text; | |
text = d.createElement( 'strong' ); | |
text.style.marginTop = '20px'; | |
text.style.display = 'block'; | |
text.style.textAlign = 'center'; | |
text.innerHTML = img.title; |
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
TEMP_DIR:=$(shell mktemp -d -t /tmp) | |
MARKDOWN=perl Resources/Markdown.pl | |
WKHTMLTOPDF=/usr/local/bin/wkhtmltopdf | |
BUILD_DIR=Build | |
MD_OUTPUT=Documentation.md | |
HTML_OUTPUT=Documentation.html | |
PDF_OUTPUT=Documentation.pdf | |
COVER=__Couverture |
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
parse_git_branch() | |
{ | |
if [[ -d ./.git ]]; then | |
git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/ \[\1\]/' | |
fi | |
} | |
PS1='\[\033[01;37m\]\w\[\033[00;35m\]$(parse_git_branch)\[\033[00m\] \$ ' |