Skip to content

Instantly share code, notes, and snippets.

Amanda Visconti amandavisconti

Block or report user

Report or block amandavisconti

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
edsu /
Last active Jun 4, 2020
Try to get replies to a particular set of tweets, recursively.
#!/usr/bin/env python
Twitter's API doesn't allow you to get replies to a particular tweet. Strange
but true. But you can use Twitter's Search API to search for tweets that are
directed at a particular user, and then search through the results to see if
any are replies to a given tweet. You probably are also interested in the
replies to any replies as well, so the process is recursive. The big caveat
here is that the search API only returns results for the last 7 days. So
itskingori /
Last active Dec 24, 2017
Example to show how to integrate a site with AnnotatorJS with Store. Includes the Javascript part as well as some server side token generators : one in Ruby and the other in Python.

Replace the Auth options hash value having token: <TOKEN_FOR_TESTING_THAT_LASTS_FOR_A_DAY> with an actual token. This token can be generated by the server side scripts and copied in. It supercedes the tokenUrl: if set.

Just to be 100% sure, feel free to verify the validity of the JSON Web Token generated using, JWT debugger. Oh, and the TTL is set to 86400 which is a day. Enough time to generate a token and play around with it.

Ps: If there are any amendments that I can make to improve clarity or fix issues, feel free to leave a comment below. I'll get a notification and act on it as soon as I can.

Ps 2: I was experiencing an issue with CORS and so I submitted the issue (and this code) to the annotator-dev mailing list. Check the July 2014 archives for an email with the subject ... '[annotator-dev] Integrating Site With AnnotateIt Store'.

mathiasrw / True Trello Printer
Last active May 24, 2020
Ever wanted to print your Trello board? Export as JSON and paste it into the code.
View True Trello Printer
<!DOCTYPE html>
<meta charset="UTF-8">
<title>True Trello Printer</title>
<link href="" rel="stylesheet">
ccstone / BBEdit-TextWrangler_RegEx_Cheat_Sheet.txt
Last active May 26, 2020
BBEdit-TextWrangler Regular Expression Cheat-Sheet
View BBEdit-TextWrangler_RegEx_Cheat_Sheet.txt
BBEdit / BBEdit-Lite / TextWrangler Regular Expression Guide Modified: 2018/08/10 01:19
The PCRE engine (Perl Compatible Regular Expressions) is what BBEdit and TextWrangler use.
Items I'm unsure of are marked '# PCRE?'. The list while fairly comprehensive is not complete.
jeremyboggs / Custom Random Featured Items helper.php
Created Jan 26, 2011
A helper function for Omeka to retrieve any number of random featured items. Include this function in your Omeka theme's custom.php file, and use wherever you'd like to get some random featur
View Custom Random Featured Items helper.php
You can’t perform that action at this time.