Skip to content

Instantly share code, notes, and snippets.

@gakuzzzz
gakuzzzz / 1_.md
Last active June 30, 2016 21:58
Skinny Framework ハンズオン Q&A

Skinny Framework ハンズオンで出た質問と回答

IDE の Debugger どうやったら使えるの?

ハンズオン中はごめんなさいをするしかなかったのですが、 Skinny Framework 1.0.6 から使えるようになりました!

$ ./skinny debug [port]
*.o
*.pyc
*~
Thumbs.db
.DS_Store
*.swp
autodetach on
defkanji utf-8
defencoding utf-8
encoding utf-8 utf-8
defscrollback 1000
escape ^z^z
startup_message off
hardstatus alwayslastline "%{= wb} %-w%{=bu dr}%n %t%{-}%+w %= %{=b wk} [%l] %{=b wb}%y/%m/%d %{=b wm}%02c"
bind s
shell /bin/zsh
# users generic .zshrc file for zsh(1)
## Environment variable configuration
#
# LANG
#
export LANG=ja_JP.UTF-8
## OSX tar
@aq2bq
aq2bq / seeds.rb
Last active July 28, 2016 01:42
[JPローカライズ]Spree 2.1.1 with Rails4 用シードファイル
# encoding: utf-8
# This file should contain all the record creation needed to seed the database with its default values.
# The data can then be loaded with the rake db:seed (or created alongside the db with db:setup).
#
# Examples:
#
# cities = City.create([{ name: 'Chicago' }, { name: 'Copenhagen' }])
# Mayor.create(name: 'Emanuel', city: cities.first)
@niwo
niwo / puma
Last active May 31, 2024 14:19
puma with rbenv on CentOS 6
#!/bin/sh
#
# puma - this script starts and stops the puma daemon
#
# chkconfig: - 85 15
# description: Description \
# goes here...
# processname: puma
# config: /etc/puma.conf
# pidfile: /home/stanislaw/apps/micro-apps/puma/puma.pid
@hayajo
hayajo / changelog_en.md
Last active July 19, 2024 05:47
ChangeLog を支える英語

ChangeLog を支える英語

ChangeLog を書く際によく使われる英語をまとめました。

ほとんど引用です。

基本形

@linickx
linickx / gist:3692156
Created September 10, 2012 17:01
hubot init script for RHEL / CENTOS
#!/bin/bash
# hubot
# chkconfig: 345 20 80
# description: hubot
# processname: hubot
# REFERENCE: http://werxltd.com/wp/2012/01/05/simple-init-d-script-template/
# This script assumes you have a user called "hubot" on your system and that hubot is installed in /opt/hubot