Skip to content

Instantly share code, notes, and snippets.

View parasew's full-sized avatar
:electron:
RIAT

Matthias Tarasiewicz parasew

:electron:
RIAT
View GitHub Profile
# Test Command 8.0.0 PATCH
1 zlib, o6 oxipng -o 6 -i 0 --out 01_oxi_normal.png t.png 48290731 45277379
2 same, interlaced oxipng -o 6 -i 1 --out 02_oxi_normal_interlaced.png t.png 50144548 50144548
3 max zlib oxipng --zc 12 -o max -i 0 -a --out 03_zc12_b.png t.png 48290731 45277379
4 Zopfli oxipng -Z -o 6 -i 0 --out 03_oxi_normal_ZOPFLI.png t.png 47883283 47883283

Comparison of output file size for example images processed with oxipng. Comparing libdeflater 0.11.0 and 0.13.0

Keybase proof

I hereby claim:

  • I am parasew on github.
  • I am parasew (https://keybase.io/parasew) on keybase.
  • I have a public key ASBf-1Wm-0CuO5wCe-I8B3KOE4opJObQTIwxHaEgMliiSwo

To claim this, I am signing this object:

########################################
#
# Nginx 1.8.0
# Pagespeed v.1.9.32.6
# OpenSSL 1.0.2d
# - Tested on Ubuntu 14.4.2
#
########################################
7za a -mx9 -r -slt -mmt=on -mfb=257 -ms=on ./read_7.7z ./read
tar cvvv infiles | xz -f -9 -e --lzma2=nice=273 > output.tar.xz
@parasew
parasew / rack-steamroller.rb
Created January 28, 2011 16:01
steamrolling: removing newlines and spaces from all html output (rack)
# code via techiferous ( https://github.com/techiferous )
require 'nokogiri'
module Rack
class Steamroller
def initialize(app, options = {})
@app = app
@options = options
@parasew
parasew / delete_all_gems.sh
Created January 25, 2010 14:38
delete all gems on a machine in a batch
gem list --no-versions | xargs gem uninstall -a -I
@parasew
parasew / deploying_rails_apps.txt
Created January 25, 2010 14:37
deploying rails apps with all gems
INFO ON HOW TO DEPLOY APP WITH ALL GEMS+BINARY GEMS.
*freezing the app:*
rake rails:freeze:gems
rake gems:unpack
rake gems:refresh_specs
rake gems:build
rake gems:unpack:dependencies
rake gems:refresh_specs
@parasew
parasew / .gitignore
Created January 25, 2010 12:46
.gitignore file about what to ignore in a new rails app
Capfile
config/deploy.rb
config/database.yml
log/*.log
**/*.spec.log
db/*.sqlite3
db/schema.rb
tmp/cache/*
tmp/pids/*
tmp/sessions/*