Skip to content

Instantly share code, notes, and snippets.

Roy Lines roylines

Block or report user

Report or block roylines

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
roylines / github_issues_to_csv
Last active Jan 21, 2016
Extract github issues into a csv file. Usage: github_issues_to_csv -u USER -t TOKEN -o ORG -r REPO -l LABELS -h HOST
View github_issues_to_csv
#!/usr/bin/env bash
while [[ $# > 1 ]]
case $key in
shift # past argument
roylines / remote-terraform-s3-policy
Created Sep 19, 2015
IAM policy to allow storing of remote terraform state in S3
View remote-terraform-s3-policy
"Version": "2012-10-17",
"Statement": [
"Effect": "Allow",
"Action": [
"Resource": [
roylines / haproxy.cfg
Last active Nov 18, 2019
haproxy configuration for using with
View haproxy.cfg
# Change YOUR_TOKEN to your prerender token
# Change (server_name) to your website url
frontend my-frontend
mode http
bind :80
acl user-agent-bot hdr_sub(User-Agent) -i baiduspider twitterbot facebookexternalhit rogerbot linkedinbot embedly showyoubot outbrain pinterest slackbot vkShare W3C_Validator
acl url-asset path_end js css xml less png jpg jpeg gif pdf doc txt ico rss zip mp3 rar exe wmv doc avi ppt mpg mpeg tif wav mov psd ai xls mp4 m4a swf dat dmg iso flv m4v torrent ttf woff
roylines / haproxy.cfg
Last active Jul 23, 2019
SImple haproxy configuration for microservices. Optional ssl and
View haproxy.cfg
pidfile /var/run/
log local0
maxconn 4000
# set default parameters to the intermediate configuration
# tune.ssl.default-dh-param 2048
log global

Keybase proof

I hereby claim:

  • I am roylines on github.
  • I am roylines ( on keybase.
  • I have a public key whose fingerprint is 0D6E C8A2 9750 F7F1 FC0C 4DBD 731F B64F FE46 56EA

To claim this, I am signing this object:

roylines /
Created Jan 5, 2013
renames jpgs using exif info
set -e
exiv2 -v -r'%Y%m%d.%H%M%S' rename $(ls)
roylines /
Created Jan 5, 2013
finds mounted DCIM directories and copies all jpgs
set -e
cp -v $(find `mount | grep vfat | cut -d' ' -f3` *.jpg | grep DCIM) .
roylines /
Created Mar 18, 2012
Use flickcurl to upload all jpgs in the current directory
set -e
for image in *.jpg; do flickcurl upload $image; done
You can’t perform that action at this time.