Skip to content

Instantly share code, notes, and snippets.

@dokker
dokker / postgresettings.txt
Created February 22, 2012 08:12
PostgreSQL settings
add_missing_from off
allow_system_table_mods off
archive_command (disabled)
archive_mode off
archive_timeout 0
array_nulls on
authentication_timeout 1min
autovacuum on
autovacuum_analyze_scale_factor 0.1
autovacuum_analyze_threshold 50
@dokker
dokker / firefox and chrome cookie converter
Created January 24, 2012 10:10 — forked from dvj/firefox and chrome cookie converter
firefox and chrome cookie converter
@dokker
dokker / .vimrc
Created December 2, 2011 15:01
.vimrc
"""""""""""""""""""""""""""
" General
"""""""""""""""""""""""""""
set nocompatible
" init pathogen to include files in ~/.vim/bundle
call pathogen#infect()
" Set folding
set foldenable
@dokker
dokker / meizu_video_convert.sh
Created November 25, 2011 13:18
Convert video for meizu m6 player
#!/bin/bash
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are
# met:
#
# * Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disclaimer.
# * Redistributions in binary form must reproduce the above
# copyright notice, this list of conditions and the following disclaimer