Skip to content

Instantly share code, notes, and snippets.

MATSUKI Hidenori mazgi

Block or report user

Report or block mazgi

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@zlbruce
zlbruce / svg2icns
Created Oct 1, 2016
covert svg to icns (with imagemagick)
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
@drscream
drscream / conf.d unicorn.redmine
Last active Dec 23, 2015
Gentoo Redmine Unicorn: The `unicorn.redmine` file should be created as `unicorn` file in `/etc/init.d/`. After that you should symlink the file to the correct app name, for example to `unicorn.redmine`. Create a configuration file in `/etc/conf.d/` that should be named as the app name.
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=""
@GedowFather
GedowFather / percona_backup.sh
Last active May 22, 2017
Backup & Restore Scripts for Percona XtraBackup
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/
@nebiros
nebiros / Gemfile
Created May 23, 2012
rails + unicorn + rbenv + init.d daemon
View Gemfile
group :production do
gem "unicorn"
end
@tobert
tobert / config.ru
Created May 18, 2011
Gollum rackup for Unicorn
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, {})
You can’t perform that action at this time.