Skip to content

Instantly share code, notes, and snippets.

Masahiro Suzuka masahirosuzuka

Block or report user

Report or block masahirosuzuka

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
@masahirosuzuka
masahirosuzuka / 0_reuse_code.js
Created Jan 10, 2016
Here are some things you can do with Gists in GistBox.
View 0_reuse_code.js
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
@masahirosuzuka
masahirosuzuka / .gitignore
Last active Mar 10, 2019
gitignore template for KiCad project
View .gitignore
# temp files
*.bak
*.bck
*.kicad_pcb-bak
*-cache.lib
# *-rescue.lib
ftp-lib-table
# for external tools
*.dsn
@masahirosuzuka
masahirosuzuka / nginx.config
Created Aug 26, 2013
Rails3.2 + Nginx + Unicorn + Capisterno Nginx設定ファイル
View nginx.config
user USERNAME;
worker_processes 2;
events {
worker_connections 1024;
}
http {
upstream unicorn {
server unix:/tmp/unicorn.sock; # アプリサーバのポート番号を指定
@masahirosuzuka
masahirosuzuka / unicorn.rb
Last active Dec 21, 2015
Rails3.2 + Nginx + Unicorn + Capisterno Unicorn設定ファイル
View unicorn.rb
# -*- coding: utf-8 -*-
worker_processes 2
working_directory "/var/www/raiqoo/current"
listen "/tmp/unicorn.sock"
pid "/tmp/unicorn.pid"
timeout 60
preload_app true # ダウンタイムをなくす
You can’t perform that action at this time.