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
// Reports the frequency from the TSL230, higher number means brighter | |
// Part: http://www.sparkfun.com/products/8940 | |
// Article: http://bildr.org/2011/08/tsl230r-arduino/ | |
int TSL230_Pin = 4; //TSL230 output | |
int TSL230_s0 = 3; //TSL230 sensitivity setting 1 | |
int TSL230_s1 = 2; //TSL230 sensitivity setting 2 | |
int TSL230_samples = 6; //higher = slower but more stable and accurate |
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
echo "jdk7である必要はない.ただ使ってみたかっただけ(結局OpenJDK6を入れられてしまう)" | |
sudo add-apt-repository ppa:webupd8team/java | |
sudo apt-get update | |
sudo apt-get install oracle-jdk7-installer | |
echo "apt-get arduino{,-core}で必要なものは入るはずだが,Arduino-1.0を使わんがためにわざわざ面倒なことをしている" | |
cd /tmp | |
mkdir arduino/ | |
cd arduino/ | |
curl -OL "http://ftp.jaist.ac.jp/pub/Linux/ubuntu//pool/universe/r/rxtx/librxtx-java_2.2pre2-10_i386.deb" |
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
@-webkit-keyframes kurukuru { | |
0% { | |
-webkit-transform: translateZ(324.07203952454984px) rotateY(0deg) rotateX(0deg); | |
} | |
50% { | |
-webkit-transform: translateZ(324.07203952454984px) rotateY(180deg) rotateX(0deg); | |
} | |
100%{ | |
-webkit-transform: translateZ(324.07203952454984px) rotateY(360deg) rotateX(0deg); | |
} |
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
tr:nth-child(2n+1) { | |
background-color: #CF9; | |
} |
NewerOlder