This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| cflags="-I$pkgincludedir -pipe -O2 -Wall -Wno-null-conversion -Wno-unused-private-field -Os -g -fno-strict-aliasing -DDBUG_OFF " #note: end space! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/sh | |
| # | |
| # nginx - this script starts and stops the nginx daemon | |
| # | |
| # chkconfig: - 85 15 | |
| # description: Nginx is an HTTP(S) server, HTTP(S) reverse \ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| EMACS_VER=24.3 | |
| curl -O http://ftp.gnu.org/pub/gnu/emacs/emacs-${EMACS_VER}.tar.gz | |
| svn co http://svn.sourceforge.jp/svnroot/macemacsjp/inline_patch/trunk inline_patch | |
| tar xvfz emacs-${EMACS_VER}.tar.gz | |
| cd emacs-${EMACS_VER} | |
| patch -p0 < ../inline_patch/emacs-inline.patch | |
| ./configure --with-ns --without-x | |
| make bootstrap | |
| make install | |
| cp nextstep/Emacs.app /Application |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| class Account < ActiveRecord::Base | |
| def self.search(name = nil) | |
| # search logic | |
| end | |
| end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Twilio HTTP HAProxy Configuration | |
| # Version: 0.1 | |
| global | |
| daemon | |
| log 127.0.0.1 local0 info | |
| maxconn 60000 | |
| spread-checks 3 | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| cookie["Cookie名指定"] = "値" | |
| cookies[:hoge3] = "hoge3" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # sudo ln -s ~/nginx.conf unicorn.conf | |
| upstream app_server { | |
| server unix:/tmp/unicorn_padrino.sock fail_timeout=0; | |
| } | |
| server { | |
| listen 80; | |
| charset utf-8; | |
| server_name db.innshine.com; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| set -x | |
| set -e | |
| curl -LO https://dev.mysql.com/get/mysql-apt-config_0.6.0-1_all.deb | |
| echo mysql-apt-config mysql-apt-config/select-product select Apply | sudo debconf-set-selections | |
| echo mysql-apt-config mysql-apt-config/select-server select mysql-5.7-dmr | sudo debconf-set-selections | |
| echo mysql-apt-config mysql-apt-config/select-connector-python select none | sudo debconf-set-selections | |
| echo mysql-apt-config mysql-apt-config/select-workbench select none | sudo debconf-set-selections | |
| echo mysql-apt-config mysql-apt-config/select-utilities select none | sudo debconf-set-selections |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Use Gists to store code you would like to remember later on | |
| console.log(window); // log the "window" object to the console |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| class Hitch < Formula | |
| desc "A scalable TLS proxy by Varnish Software" | |
| homepage "https://github.com/varnish/hitch" | |
| url "https://github.com/varnish/hitch/archive/hitch-1.3.1.tar.gz" | |
| sha256 "2a1c007b752e487a2a85204dcb620ba28fec4d51ebf3fa8528bfb05c94f21efd" | |
| head "https://github.com/varnish/hitch.git" | |
| depends_on "automake" => :build | |
| depends_on "autoconf" => :build | |
| depends_on "pkg-config" => :build |
OlderNewer