This file contains hidden or 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
/* A1 1. */ | |
SELECT HotelNo, COUNT(*) AS SingleRoomsCount | |
FROM room | |
WHERE Type = "single" | |
GROUP BY HotelNo | |
; | |
/* A1 2. With combined double and family rooms > 3 */ | |
SELECT HotelNo, COUNT(*) AS FamilyAndDoubleRoomsCount | |
FROM room |
This file contains hidden or 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 pwmFd(float on, long duration) { | |
pwmAbstract(0, 0b00000011, on, duration); | |
} | |
void pwmBk(float on, long duration) { | |
pwmAbstract(1, 0b00000011, on, duration); | |
} | |
void pwmAbstract(int directionNumber, int motors, float on, long duration) { |
This file contains hidden or 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
int runningProgram = 0; // For changing programs | |
long millis = 0L; // Keeping track of time between switch hits | |
// ... and any future time use. | |
void main() { | |
// Set up time tracking variable | |
millis = mseconds(); | |
// Turn off those pesky motors | |
ao(); | |
// Decide what program to run |
This file contains hidden or 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
int runningProgram = 0; // For changing programs | |
long millis = 0L; // Keeping track of time between switch hits | |
// ... and any future time use. | |
void main() { | |
// Set up time tracking variable | |
millis = mseconds(); | |
// Turn off those pesky motors | |
ao(); | |
// Decide what program to run |
This file contains hidden or 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
fergalhainey@FergalMBP~$ openssl s_client -connect central-e2.crashplan.com:443 | |
CONNECTED(00000003) | |
5973:error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol:/SourceCache/OpenSSL098/OpenSSL098-35/src/ssl/s23_clnt.c:601: |
This file contains hidden or 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
http://gitorious.org/webkitgtk-examples/examples/trees/master |
This file contains hidden or 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
whuh |
This file contains hidden or 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
hey |
This file contains hidden or 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
hey |
This file contains hidden or 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
waaaa |