Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000
/* | |
* Animal Crossing Toy Day on an Arduino, by noobermin (or awindywalker) | |
* | |
* Everything except the transcription of the song is in the public domain. | |
*/ | |
// The tone library conflicts with the Arduino core `tone` and `noTone` routines! They | |
// register the similar ISR's leading to a conflict. It is needed though as `tone` doesn't work | |
// with more than one buzzer (port). | |
// What I did to make it work is I deleted the file in a clean copy of the arduino IDE, commented |
Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000
function computeSunrise(day, sunrise) { | |
/*Sunrise/Sunset Algorithm taken from | |
http://williams.best.vwh.net/sunrise_sunset_algorithm.htm | |
inputs: | |
day = day of the year | |
sunrise = true for sunrise, false for sunset | |
output: | |
time of sunrise/sunset in hours */ |
# Make gems available | |
require 'rubygems' if RUBY_VERSION <= '1.9.0' | |
# http://drnicutilities.rubyforge.org/map_by_method/ | |
require 'map_by_method' | |
# Dr Nic's gem inspired by | |
# http://redhanded.hobix.com/inspect/stickItInYourIrbrcMethodfinder.html | |
require 'what_methods' |
<---TUTORIAL FOR CREATING XCURSOR THEMES.---> | |
<---By ThEOnE @ kde-look---> | |
<[email protected]> | |
_______________________________________________________________________________________ | |
| | | |
| First of all, let me tell you that everything I know I've learned it by inspecting | | |
| some xcursor themes like jaguarx, and others. | |