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
"""Simple script providing multiline text draw with emoji support (Pillow & emojicdn)""" | |
import io | |
from requests import get | |
from textwrap import wrap | |
from urllib.parse import quote_plus | |
from emoji import emojize, demojize, UNICODE_EMOJI | |
from PIL import Image, ImageDraw, ImageFont, UnidentifiedImageError | |
#-----# |
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
# script to create timer in terminal | |
# Jason Atwood | |
# 2013/6/22 | |
#!/bin/sh | |
# start up | |
echo "starting timer script ..." | |
sleep 1 # seconds | |
# get input from user |
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
config.omniauth :facebook, FACEBOOK_APP_ID, FACEBOOK_APP_SECRET, { :scope => 'user_status,publish_stream' } | |
config.omniauth :twitter, TWITTER_KEY, TWITTER_SECRET |
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
db.Collection.find({ | |
created_at : { | |
'$gte': new Timestamp(new Date(2012, 0, 21), 0), | |
'$lte': new Timestamp(new Date(2012, 0, 22), 0) | |
}) |