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
void setup() { | |
Serial.begin(9600); | |
} | |
void loop() { | |
float average = 0.00; | |
float c = analogRead(A5); | |
int sampleSize = 1000; | |
for (int i = 1; i <= sampleSize; i++ ) { | |
average = average + (0.0445 * c - 22.8) / 1000; | |
//average = .04 * c; |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
{ | |
"sensors": { | |
"V0": "12.28", | |
"V1": "0.00", | |
"V2": "0.00" | |
} | |
} |
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
screen /dev/tty.usbserial 9600 |
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
watch -n 5 "iwlist wlan0 scan | egrep 'Cell|Quality|ESSID' | pee cat 'wc -l'" |
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
sudo iptables -t nat -A POSTROUTING -o wlan1 -j MASQUERADE | |
sudo iptables -A FORWARD -i wlan1 -o wlan0 -m state --state RELATED,ESTABLISHED -j ACCEPT | |
sudo iptables -A FORWARD -i wlan0 -o wlan1 -j ACCEPT |
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
select | |
word, | |
sum(word_count) as num | |
from | |
publicdata:samples.shakespeare | |
where | |
lower(word) like 'z%' | |
group by | |
word | |
order by |
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
javascript:(function(){javascript:window.prompt("Copy to clipboard: Ctrl+C, Enter",document.title);})(); |
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
// spur(number, radius, length, width, height); | |
module spur(n,r,l,w,h) { | |
for(i=[0:n]) | |
rotate([0,0,i*360/n]) | |
translate([r,0,0]) | |
cube([l,w,h]); | |
} |
We can make this file beautiful and searchable if this error is corrected: No commas found in this CSV file in line 0.
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
Year Price | |
1937 .19 | |
1963 .39 | |
2009 1.50 | |
2015 1.79 |