I hereby claim:
- I am rhyspowell on github.
- I am rhyspowell (https://keybase.io/rhyspowell) on keybase.
- I have a public key ASCZuW3aBywl_IbAmZh9-WbaHnwvw9gv-OSjFhYLNwH-zwo
To claim this, I am signing this object:
from PIL import Image, ImageFont, ImageDraw | |
from collections import namedtuple | |
def position_tuple(*args): | |
Position = namedtuple('Position', ['top', 'right', 'bottom', 'left']) | |
if len(args) == 0: | |
return Position(0, 0, 0, 0) | |
elif len(args) == 1: | |
return Position(args[0], args[0], args[0], args[0]) |
import json | |
import os | |
import requests | |
_url = "http://intranet.mycompany.com/v7/api/1.1/" | |
def send_request(): | |
username = os.environ['USERNAME'] |
from moviepy.audio.io.AudioFileClip import AudioFileClip | |
from moviepy.editor import * | |
import subprrocess | |
def word_to_audio(word, outfile, voice="tessa"): | |
"""Yeah, this is gonna be mac only""" | |
subprocess.call(["say", word, "-o", outfile, "-v", voice]) | |
def audio_clip(outfile): | |
return AudioFileClip(outfile) |
<div class="grid-y medium-grid-frame"> | |
<div class="cell shrink header medium-cell-block-container"> | |
<h1>Grid Frame Header</h1> | |
<div class="grid-x padding-gutters"> | |
<div class="cell medium-4"> | |
<p> This demo shows what is possible with the new Foundation 6.4 XY Grid</p> </div> | |
<div class="cell medium-4 medium-cell-block"> | |
<p style="width:80vw;">This is a horizontal cell block - on medium+ it will overflow automatically</p> | |
</div> | |
<div class="cell medium-4"> |
I hereby claim:
To claim this, I am signing this object:
conf = { | |
"sqs-access-key": "", | |
"sqs-secret-key": "", | |
"sqs-queue-name": "", | |
"sqs-region": "us-east-1", | |
"sqs-path": "sqssend" | |
} | |
import boto.sqs | |
conn = boto.sqs.connect_to_region( |
''' quick example showing how to attach a pdf to multipart messages | |
and then send them from SES via boto | |
''' | |
from email.mime.text import MIMEText | |
from email.mime.application import MIMEApplication | |
from email.mime.multipart import MIMEMultipart | |
import boto |
#!/bin/zsh | |
for i in *.svg; do | |
inkscape -e ../res/drawable-hdpi/${i%.svg}.png -w 48 -h 48 $i | |
inkscape -e ../res/drawable-mdpi/${i%.svg}.png -w 32 -h 32 $i | |
inkscape -e ../res/drawable-xhdpi/${i%.svg}.png -w 64 -h 64 $i | |
inkscape -e ../res/drawable-xxhdpi/${i%.svg}.png -w 96 -h 96 $i | |
done | |
inkscape -e ../ic_launcher.png -w 512 -h 512 ic_launcher.svg |
consumer_key = 'your-consumer-key' | |
consumer_secret = 'your-consumer-secret' | |
access_token = 'your-access-token' | |
access_secret = 'your-access-secret' |
Verifying that +bleachin is my openname (Bitcoin username). https://onename.com/bleachin |