OSのベースイメージ. 以下でローカルにprecise32
という名前で特定URLからダウンロードして追加する.
$ vagrant box add precise32 http://files.vagrantup.com/precise32.box
(function(){ | |
var total = {}; | |
var year = '2012'; | |
var all = false; | |
function init(num) { | |
if(typeof num !== 'number') { | |
num = 0; | |
$('<div/>').css({ | |
position: 'fixed', | |
left: 0, |
Twitter API 1.1 の現行APIの制限 | |
(REST API v1.1 Limits per window by resource) | |
https://dev.twitter.com/docs/rate-limiting/1.1/limits | |
・15分辺り最大何回実行できるか | |
Timelines | |
GET statuses/mentions_timeline 15回 | |
GET statuses/user_timeline 180回/user, 300回/application |
#!/usr/bin/env bash | |
apt-get update | |
echo mysql-server-5.5 mysql-server/root_password password PASSWORD | debconf-set-selections | |
echo mysql-server-5.5 mysql-server/root_password_again password PASSWORD | debconf-set-selections | |
apt-get install -y mysql-common mysql-server mysql-client | |
apt-get install -y apache2 |
更新: | 2013-07-30 |
---|---|
バージョン: | 0.1.1 |
作者: | @voluntas |
URL: | http://voluntas.github.io/ |
概要
Awesome PHP の記事をフォークして翻訳したものです (2013年4月25日)。おどろくほどすごい PHP ライブラリ、リソースやちょっとした情報のリストです。
【訳者コメント】 PHP 入門者のかたにはクィックリファレンスとして PHP: The Right Way 、セキュリティに関しては2011年3月に出版された 体系的に学ぶ 安全なWebアプリケーションの作り方 をおすすめします。
<!DOCTYPE html> | |
<html> | |
<meta charset="UTF-8"> | |
<head> | |
<style> | |
body { | |
margin : 0; | |
padding : 0; | |
background-color: #eee; | |
font-size: 25px; |
// http://ejohn.org/blog/simple-javascript-inheritance/ | |
function Class() {} | |
Class.extend = function extend(props) { | |
var SuperClass = this; | |
function Class() { | |
if (typeof this.init === 'function') { | |
this.init.apply(this, arguments); |
Jenkins × PHP環境構築の巻 | |
■目的 | |
PHP環境に対応したJenkins設定を行い、 | |
コミットされる度にサーバ上でのPHPUnitの実行 及び | |
カバレッジレポート出力を"全自動"で行えるようにすること。 | |
1) PHP Pear系のインストール | |
sudo pear channel-discover pear.phing.info | |
sudo pear channel-discover pear.pdepend.org |