Skip to content

Instantly share code, notes, and snippets.

@masakielastic
masakielastic / 0_reuse_code.js
Created January 20, 2014 17:27
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console

すぐれた PHP ライブラリとリソース

Awesome PHP の記事をフォークして翻訳したものです (2013年4月25日)。おどろくほどすごい PHP ライブラリ、リソースやちょっとした情報のリストです。

【訳者コメント】 PHP 入門者のかたにはクィックリファレンスとして PHP: The Right Way 、セキュリティに関しては2011年3月に出版された 体系的に学ぶ 安全なWebアプリケーションの作り方 をおすすめします。

Composer

@masakielastic
masakielastic / php.sh
Created September 1, 2012 21:41 — forked from ircmaxell/php.sh
PHP Run Script
#!/bin/bash
BIN=""
if [ "$PHP" == "/usr/local/bin/php" ]
then
PHP=""
fi
BIN="/usr/local/php/$1/bin/php"
@masakielastic
masakielastic / php.rb
Created January 21, 2012 19:38 — forked from bc-zz/php.rb
Homebrew formula for PHP 5.4.4 (default: without-readline because of compile error)
# modified from https://github.com/lifepillar/homebrew-alt/blob/master/duplicates/php.rb
require 'formula'
def mysql_installed?
`which mysql_config`.length > 0
end
def postgres_installed?
`which pg_config`.length > 0