from PIL import Image
import requests
from io import BytesIO
url = "https://i.imgur.com/R3tZo.jpg"
def thumbnailBytes(imgURL):
response = requests.get(url)
img = Image.open(BytesIO(response.content))
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
#!/usr/bin/python3.5 | |
import tweepy | |
from time import sleep | |
consumer_key = "<KEY HERE>" | |
consumer_secret = "<KEY HERE>" | |
access_token = "<KEY HERE>" | |
access_token_secret = "<KEY HERE>" |
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
function nthPrime(n) { | |
var P = 0; | |
function isPrime(x) { | |
var isPrime= true; | |
for (var d = 2; d <= Math.sqrt(x); d++) { | |
if((x/d) % 1 == 0) { | |
isPrime = false; | |
break; |
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
/platform/plugins/Q/web/js/fn/clickfocus.js | |
Clickfocus description | |
/platform/plugins/Q/web/js/fn/hautoscroll.js | |
Hautoscroll description | |
Plugin for Animated moving Element content inside it from let to right ? | |
/platform/plugins/Q/web/js/fn/sortable.js | |
lift description ? | |
parameters object for vertical movement |