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
// | |
// HelloWorldLayer.m | |
// Cocos2dLesson1 | |
// | |
// Created by Michael Jablecki on 5/19/12. | |
// Copyright __MyCompanyName__ 2012. All rights reserved. | |
// | |
// Import the interfaces |
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
<?php | |
$results = $qb | |
->map($this->getTableReportMapFunction($groupFields)) | |
->reduce('function(k, vals) { | |
var obj = { | |
idealDeliveryRate: 0, | |
delivery: 0, | |
targetCtr: 0, | |
targetRate: 0, | |
impressions: 0, |
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
recipes: | |
- | |
name: Scrambled Eggs | |
1: | |
- action: crack | |
tool: bowl | |
ingredients: | |
- ingredient: egg | |
quantity: 3 | |
unit: whole |
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
<script type="text/javascript" src="http://mbostock.github.com/d3/d3.v2.js"></script> | |
<style type="text/css"> | |
svg { | |
border:1px solid gray; | |
} | |
#countries path { | |
fill: green; | |
stroke: black; |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<script type="text/javascript" src="http://mbostock.github.com/d3/d3.v2.js"></script> | |
<style type="text/css"> | |
svg { | |
border:1px solid gray | |
} | |
#countries path { |
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
run script file "<HD>:Users:<user>:Documents:sc:scpw.scpt" | |
run script file "<HD>:Users:<user>:Documents:sc:togglefn.scpt" | |
do shell script "open -a 'StarCraft II'" | |
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
services: | |
resque: | |
class: %resque.class% | |
scope: prototype | |
arguments: [ "%resque.host%:%resque.port%", @service_container, "%resque.track%" ] |
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
case "$operatingsystem$lsbmajdistrelease" { | |
debian6, debian5: { | |
file { "/tmp/packages": | |
source => downcase("puppet:///modules/boxgrade/$operatingsystem$lsbmajdistrelease-$architecture"), | |
owner => root, | |
recurse => true, | |
} | |
} | |
} | |
package { "php5-rrd": |
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 fish_prompt --description 'Write out the prompt' | |
set branch (git branch --no-color 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/ \1/') | |
set_color $fish_color_cwd | |
echo -n (basename $PWD) | |
set_color yellow | |
echo -n $branch | |
set_color normal | |
echo -n ' ) ' | |
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
i=1;while [ 1 ];do screencapture -t jpg -x ~/screens/$i.jpg; let i++;sleep 1; done | |
#later | |
cd ~/screens | |
ffmpeg -y -i "%d.jpg" output.m4v | |
rm *.jpg |
OlderNewer