##Simply annoying Tweets
Annoyingly extended words (4+ of the same letter in a phrase): OOOOHHHHMMMMYYYYGGGGOOOODDDD
([a-z])/1{4}
Tweet w/ just a single hashtag: #omgthissucks
^ *#[^ ]+$
on GET /notes | |
fetch the 20 most recent notes filtered by tag | |
show as h-feed | |
on GET /notes/new | |
the user must be an admin | |
show autofilled note-form | |
on GET /notes/{id} | |
fetch note |
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> | |
<title>CSS3 Panorama by Barnaby Walters</title> | |
<style type="text/css"> | |
.panorama-container { | |
width: 750px; | |
} |
<?php | |
class ServiceHelper { | |
// @text is the full tweet text | |
// @shortCode is the code part of the shortlink, like nXXX0 | |
public function shortenForTwitter($text, $shortCode=FALSE, $shortDomain=FALSE) { | |
$placeholders = array(); | |
$rawTweet = $text; |
##Simply annoying Tweets
Annoyingly extended words (4+ of the same letter in a phrase): OOOOHHHHMMMMYYYYGGGGOOOODDDD
([a-z])/1{4}
Tweet w/ just a single hashtag: #omgthissucks
^ *#[^ ]+$
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE | |
Version 2, December 2004 | |
Copyright (C) 2011 YOUR_NAME_HERE <YOUR_URL_HERE> | |
Everyone is permitted to copy and distribute verbatim or modified | |
copies of this license document, and changing it is allowed as long | |
as the name is changed. | |
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE |
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE | |
Version 2, December 2004 | |
Copyright (C) 2011 Will McKenzie<www.oinutter.co.uk> | |
Everyone is permitted to copy and distribute verbatim or modified | |
copies of this license document, and changing it is allowed as long | |
as the name is changed. | |
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE |
$url = 'https://github.com/socialigniter/blog/zipball/master'; | |
$options = array( | |
CURLOPT_RETURNTRANSFER => 1, | |
CURLOPT_SSL_VERIFYPEER => 0, | |
CURLOPT_SSL_VERIFYHOST => 0, | |
CURLOPT_FOLLOWLOCATION => 1, | |
); | |
$ch = curl_init($url); |
Request URL:http://nerdout.me/api/nerdout/create_checkin | |
Request Method:POST | |
Status Code:200 OK | |
Request Headers | |
Accept:application/json, text/javascript, */*; q=0.01 | |
Authorization:OAuth realm="",oauth_consumer_key="00931ed93a8d5ddab03e6cba3a22482404d733e63",oauth_token="e2a9de18fedf4c86d4134f4ac9c0c4db04d733e63",oauth_timestamp="1299408374",oauth_nonce="7SoL8M",oauth_signature_method="HMAC-SHA1",oauth_signature="7hDRwep4VPWV0CUMmvkcdWDIl1s%3D" | |
Content-Type:application/x-www-form-urlencoded; charset=UTF-8 | |
Origin:http://nerdout.me | |
Referer:http://nerdout.me/home/nerdout/custom | |
User-Agent:Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_6; en-us) AppleWebKit/533.19.4 (KHTML, like Gecko) Version/5.0.3 Safari/533.19.4 |
<?php | |
include('autoloader.php'); | |
include('OAuth.php'); | |
$googleOAuthConsumerKey = 'aaron.pk'; | |
$googleOAuthConsumerSecret = 'XXXXXXXXXXXXXXXXXXXX'; | |
$oAuthAccessTokenSecret = 'XXXXXXXXXXXXXXXXXXXXXXX'; | |
$oAuthAccessToken = 'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX'; |
// Gets Current Browser Date/Time | |
var now = new Date(); | |
// Gets Current Browser Timezone | |
var zone = now.toString().substr(25,6) + ":" + now.toString().substr(31,2); |