Skip to content

Instantly share code, notes, and snippets.

View phoet's full-sized avatar
:shipit:
Shippin Stuffs 🚀

Peter Schröder phoet

:shipit:
Shippin Stuffs 🚀
View GitHub Profile
@phoet
phoet / Questions
Created August 10, 2011 12:22
Frozen Rails Give-away
Day job: Rails Freelancer in Hamburg Germany
Your Rails contributions (if any): Redis & File Caching Plugins, ActiveService Plugin
What's your Ruby/Rails experience?: Ruby since 2009, Rails since 2010
How do you use GitHub?: GitHub for Mac, Browsing Code on Web, Selective Watching and Forking
unless File.exists?('Gemfile')
File.write('Gemfile', <<-GEMFILE)
source 'https://rubygems.org'
gem 'rails', '4.0.0'
gem 'sqlite3'
GEMFILE
system 'bundle'
end
@phoet
phoet / artifacts.py
Created January 19, 2016 13:00 — forked from mat/artifacts.py
Pillow PNG artifacts
#!/usr/bin/python
# -*- coding: utf-8 -*-
# This script reproduces the issue with artifacts when
# handling (semi)transparent PNG files:
# https://github.com/python-pillow/Pillow/issues/1449
# Version used:
#