Skip to content

Instantly share code, notes, and snippets.

/* 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
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) {
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
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
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:
http://gitorious.org/webkitgtk-examples/examples/trees/master