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
{ | |
"ok": true, | |
"messages": [ | |
{ | |
"type": "message", | |
"user": "U061F7TRS", | |
"text": "Was there was there was there what was there was there what was there was there there was there.", | |
"thread_ts": "1482960137.003543", | |
"reply_count": 2, | |
"replies": [ |
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
01 "To Hold Down a Shadow" by Pullman from "Turnstyles & Junkpiles" 1998 | |
all-acoustic Tortoise-related side project. | |
02 "In a Thimble" by Tortoise from the "Reach the Rock" soundtrack. 1998 | |
A movie written by John Hughes, directed by his son, with music by John McEntire of Tortoise. Recommended. | |
03 "Empiric" by Jet Black Crayon from "Inaccuracies of the Mind Machine" 2004 | |
Featuring everyone's favorite cube-gleaming sk8r co-star of Gleaming the Cube, Tommy Guerrero on bass | |
04 "Loft" by Landing from "Brocade" 2005 | |
05 "A Cloud No Bigger Than A Man's Head" by Cerberus Shoal from "Bastion of Itchy Preeves" 2004 | |
06 "Moon" by the Beans from "Inner Cosmosis" 2002 | |
07 "Waves of Union" by Franz Prichard of Yume Bitsu from "Atlantian Waves" (Dolphin Festival) 2003 |
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
{ | |
"twitter_text": { | |
"version": "1.0-blah-blah", | |
"regular_expressions": { | |
"at_signs": '[@@]', | |
"url_chars_before": '(?:[^-\\/"\':!=a-z0-9_@@]|^|\\:)', | |
"url_domain": '(?:[^\\p{P}\\p{Lo}\\s][\\.-](?=[^\\p{P}\\p{Lo}\\s])|[^\\p{P}\\p{Lo}\\s])+\\.[a-z]{2,}(?::[0-9]+)?', | |
"probable_tld": '/\\.(?:com|net|org|gov|edu)$/iu', | |
"url_chars_path": '(?:(?:\\([a-z0-9!\\*\';:=\\+\\$\\/%#\\[\\]\\-_,~]+\\))|@[a-z0-9!\\*\';:=\\+\\$\\/%#\\[\\]\\-_,~]+\\/|[\\.\\,]?(?:[a-z0-9!\\*\';:=\\+\\$\\/%#\\[\\]\\-_~]|,(?!\s)))', | |
"urls_chars_path_end": '[a-z0-9=#\\/]', |
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
urls: | |
- description: "Autolink URL with pipe character" | |
text: "text http://example.com/pipe|character?yes|pipe|character" | |
expected: "text <a href=\"http://example.com/pipe|character?yes|pipe|character\">http://example.com/pipe|character?yes|pipe|character</a>" | |
- description: "Autolink trailing url" | |
text: "text http://example.com" | |
expected: "text <a href=\"http://example.com\">http://example.com</a>" | |
- description: "Autolink url in mid-text" |
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
<status> | |
<created_at>Fri Jan 28 21:25:36 +0000 2011</created_at> | |
<id>31100606156378113</id> | |
<text>@jeremycloud is so much cooler than I am - he orders things not on the menu! (@ Blue Bottle Café w/ @zaius) http://t.co/1mHuocE</text> | |
<source><a href="http://foursquare.com" rel="nofollow">foursquare</a></source> | |
<truncated>false</truncated> | |
<favorited>false</favorited> | |
<in_reply_to_status_id></in_reply_to_status_id> | |
<in_reply_to_user_id>15062340</in_reply_to_user_id> | |
<in_reply_to_screen_name>jeremycloud</in_reply_to_screen_name> |
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
<status> | |
<created_at>Fri Oct 08 14:43:57 +0000 2010</created_at> | |
<id>26755568880</id> | |
<text>@episod Thinking today's avatar might be crazier than any one before. I thought the sensible one the other day was pretty good :-)</text> | |
<source><a href="http://www.tweetdeck.com" rel="nofollow">TweetDeck</a></source> | |
<truncated>false</truncated> | |
<in_reply_to_status_id></in_reply_to_status_id> | |
<in_reply_to_user_id>819797</in_reply_to_user_id> | |
<favorited>false</favorited> | |
<in_reply_to_screen_name>episod</in_reply_to_screen_name> |
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 | |
include ("oAuth.php"); | |
$noisy_debug_mode = 1; | |
define("twitpicApiKey", "twitPic_Api_key"); | |
define("consumerSecret", 'myConsumerSecret'); | |
define("consumerKey", "myConsumerKey"); | |
define("oauthToken", "myAccessToken"); | |
define("oauthTokenSecret", "myAccessTokenSecret"); |
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
string.gsub(/([^ a-zA-Z0-9_.-]+)/n) do | |
'%' + $1.unpack('H2' * $1.size).join('%').upcase | |
end.tr(' ', '+') |