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
<?php | |
function getQuarter() { | |
$monthNumber = intval(date("m")); | |
return floor(($monthNumber - 1) / 3) + 1; | |
} | |
function buildWeek() { | |
if (date('l') == "Sunday") { | |
$sundayTime = time(); | |
} |
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
<?php | |
function getQuarter() { | |
$monthNumber = intval(date("m")); | |
return floor(($monthNumber - 1) / 3) + 1; | |
} | |
function buildWeek() { | |
if (date('l') == "Sunday") { | |
$sundayTime = time(); | |
} |
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
<script type="text/javascript"> | |
var _gaq = _gaq || []; | |
_gaq.push(['_setAccount', 'UA-XXXXXXXX-1']); | |
_gaq.push(['_trackPageview']); | |
_gaq.push(['_setCustomVar', 1, 'cohort_data’', {{cohortString}}, 1]); | |
(function() { | |
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; |
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
[ INFO] [1349244532.436518937]: SET ~bitrate_ctrl_mode : 0.00 | |
[ INFO] [1349244532.437762217]: SET ~max_bitrate : 4000.00 | |
[ INFO] [1349244532.439009777]: SET ~outdoor : 0.00 | |
[ INFO] [1349244532.441707137]: SET ~flight_without_shell : 1.00 | |
[ INFO] [1349244532.443061697]: SET ~altitude_max : 3000.00 | |
[ INFO] [1349244532.444378937]: SET ~altitude_min : 100.00 | |
[ INFO] [1349244532.445763457]: SET ~enemy_colors : 2.00 | |
[ INFO] [1349244532.447132657]: SET ~enemy_without_shell : 0.00 | |
[ INFO] [1349244532.448422817]: SET ~control_vz_max : 850.00 | |
[ INFO] [1349244532.449664537]: SET ~control_yaw : 1.75 |
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
//Flex sensor mapping | |
//adapted from http://garagelab.com/profiles/blogs/tutorial-flex-sensor-with-arduino | |
/* | |
Light based laser tags. | |
*/ | |
int max_val = 120; | |
int red = 3; | |
int green = 6; |
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
vagrant@precise64:/vagrant/mapnik$ make | |
python scons/scons.py -j2 --config=cache --implicit-cache --max-drift=1 | |
scons: Reading SConscript files ... | |
Using previous successful configuration... | |
Re-configure by running "python scons/scons.py configure". | |
Welcome to Mapnik... | |
scons: done reading SConscript files. | |
scons: Building targets ... |
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
vagrant@precise64:/vagrant/mapnik$ make | |
python scons/scons.py -j2 --config=cache --implicit-cache --max-drift=1 | |
scons: Reading SConscript files ... | |
Using previous successful configuration... | |
Re-configure by running "python scons/scons.py configure". | |
Welcome to Mapnik... | |
scons: done reading SConscript files. | |
scons: Building targets ... |
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
vagrant@precise64:/vagrant/mapnik$ export CXX="g++-4.8" && export CC="gcc-4.8"; | |
vagrant@precise64:/vagrant/mapnik$ ./configure CXX=${CXX} CC=${CC} | |
scons: Reading SConscript files ... | |
Welcome to Mapnik... | |
Configuring build environment... | |
SCons CONFIG found: 'config.py', variables will be inherited... | |
Configuring on Linux in *release mode*... | |
Checking for freetype-config... yes |
By Ed, Dan, and Steve
https://seatgeek.looker.com/dashboards/dw_public/survey_results_internal
OlderNewer