Instantly share code, notes, and snippets.

View svg2icns
#!/bin/bash
echo "*** SVG 2 ICNS ***"
if [ $# -ne 1 ]; then
echo "Usage: svg2icns filename.svg"
exit 100
fi
filename="$1"
name=${filename%.*}
ext=${filename##*.}
echo "processing: $name"
View Scala2.11.md
View conf.d unicorn.redmine
## /etc/conf.d/unicorn
## Project directory where the ruby files are located
PROJECT_DIR="/local/sites/com/<something>/redmine"
## User which unicorn will run (Default: unicorn)
PROJECT_USER="redmine"
## Project name only be used for identification (Default: service name)
#PROJECT_NAME=""
View percona_backup.sh
#!/bin/bash
#
# ============================================================
#
# @license This program is free software.
#
# @category Script for Percona Server
# @project Gedow Software
# @package Gedow Percona Utils
# @author GedowFather http://blog.father.gedow.net/
View Gemfile
group :production do
gem "unicorn"
end
View config.ru
$: << 'lib'
require 'rubygems'
require 'gollum'
require 'gollum/frontend/app'
use Rack::ShowExceptions
Precious::App.set(:gollum_path, Dir.pwd)
Precious::App.set(:wiki_options, {})