Skip to content

Instantly share code, notes, and snippets.

View leviwilson's full-sized avatar

Levi Wilson leviwilson

  • Northwoods
  • Colorado, USA
View GitHub Profile
@leviwilson
leviwilson / droid_java_maven
Created June 2, 2012 14:49
Ubuntu Android, Java and Maven Shell Script
# update packages
sudo apt-get update
# Install git
sudo apt-get install git-core
# Install jdk
sudo apt-get install openjdk-6-jdk
# Setup Maven
*.csproj text=auto merge=union
*.sln -text merge=union
@cheerfulstoic
cheerfulstoic / quantizator.rb
Created January 27, 2016 13:51
pngquant script
#!/usr/bin/env ruby
require 'rubygems'
require 'bundler/setup'
require 'png_quantizator'
require 'tempfile'
speed = ENV['SPEED'] || 1
ARGV.each do |png_path|
puts "Processing #{png_path}..."
file = PngQuantizator::Image.new(png_path)