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
import argparse | |
import re | |
import json | |
try: | |
from urllib2 import urlopen, Request | |
from urllib import urlencode | |
except ImportError: | |
from urllib.request import urlopen, Request | |
from urllib.parse import urlencode |
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
{ | |
"contributors": null, | |
"truncated": true, | |
"text": "Say more about what's happening! Rolling out now: photos, videos, GIFs, polls, and Quote Tweets no longer count tow\u2026 https://t.co/SRmsuks2ru", | |
"is_quote_status": false, | |
"in_reply_to_status_id": null, | |
"id": 777915304261193728, | |
"favorite_count": 13856, | |
"source": "<a href=\"http://twitter.com\" rel=\"nofollow\">Twitter Web Client</a>", | |
"retweeted": false, |
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
{}; |
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
using System; | |
using System.Net.Http; | |
using System.Threading.Tasks; | |
public class Program | |
{ | |
public static void Main() | |
{ | |
WriteLine("A: Main"); | |
var googleTask = CallGoogleAsync(); |
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
/* 1. Paste this entire gist over at https://mrcoles.com/bookmarklet/ to generate a bookmarklet */ | |
/* 2. Use a meaningful Name like: 🎧 📖 Links */ | |
/* 3. Drag the generated bookmarklet link to your Bookmarks Toolbar. */ | |
/* 4. Click on the bookmarklet when you're on the Overdrive loan page, e.g. https://yourlibrary.overdrive.com/account/loans */ | |
/* 5. The "Download MP3 audiobook" link should appear like it used to. */ | |
$('a[data-format-id="audiobook-overdrive"]').each(function() { | |
var listenBtn = $(this); | |
if (listenBtn.hasClass('script-added')) { |