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
meepmeep: meepmeep.cpp Makefile | |
$(CXX) -o $@ $< | |
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
#include <stdio.h> | |
main() | |
{ | |
printf("Meep meep!\n"); | |
} |
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
#include <iostream> | |
using namespace std; | |
int main (int argc,char *argv[]) { | |
int line; | |
FILE * myfile; | |
if (argc ==1) | |
{ | |
return 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
property tick : 2 -- raise volume level by this many each loop | |
property thismany : 1 -- seconds to wait before making next increment to volume | |
tell application "iTunes" | |
set snd to sound volume | |
set sound volume to 0 | |
play playlist "wakeup" -- your playlist here | |
repeat | |
if (get sound volume) is greater than or equal to (snd - tick) then | |
set sound volume to snd | |
exit repeat |
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 post_id FROM stream WHERE filter_key ='nf' and created_time < 1335500000 |
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
t stream timeline | while read u; do read s; read b; growlnotify -t "$u" -m "$s"; done | |
# Beware the following will fill your screen | |
t stream search "#IWishYouKnew" | while read u; do read s; read b; growlnotify -t "$s" -m "$b"; done |
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
<!DOCTYPE html> | |
<html xmlns:fb="http://ogp.me/ns/fb#"> | |
<head> | |
<meta charset="utf-8"> | |
<title>Comments Plugin</title> | |
<meta name="description" content="Example of Facebook Comments"</title> | |
<meta property="fb:app_id" content="YOUR_APP_ID"> | |
<meta property="og:url" content="YOUR_URL"> | |
<meta property="og:title" content="Comments Plugin"> | |
<meta property="og:description" content="Example of Facebook Comments"> |
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
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:fb="http://ogp.me/ns/fb#"> | |
<head> | |
<title>Junkaholic — Home</title> | |
<meta charset="utf-8"> | |
<meta property="fb:app_id" content="270173419678397"> | |
<meta property="og:url" content="http://junkaholic.co.uk"> | |
<meta property="og:title" content="Junkaholic — Home"> |
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 name, page_id from page where page_id in (SELECT page_id from page_fan where uid in (SELECT uid2 FROM friend WHERE uid1 = me()) and profile_section='movies') |
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
<?php | |
require '../src/facebook.php'; | |
// Create our Application instance (replace this with your appId and secret). | |
$facebook = new Facebook(array( | |
'appId' => 'app_id', | |
'secret' => 'your_secret', | |
)); |
OlderNewer