- コンストラクタ名を__constructorに修正
- newの前の&を削除
- QdmailComponent内のfunction & smtpObjectの引数をスーパークラスと合わせて$null = falseに修正
- HTMLメールでのマルチパート順序をhtml, plain, OMITからplain, html, OMITへ変更
- iPhone用アドレスをi.softbank.ne.jpからi.softbank.jpに修正
This file contains 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
################################################################################ | |
# Method 1: Install using rpm packages (credit to DarkMukke) | |
# | |
rpm -Uvh http://mirror.ghettoforge.org/distributions/gf/gf-release-latest.gf.el7.noarch.rpm | |
rpm --import http://mirror.ghettoforge.org/distributions/gf/RPM-GPG-KEY-gf.el7 | |
# WARNING: removing vim-minimal uninstalls `sudo` if you skip the second step | |
# make sure to at least run `yum install sudo` | |
yum -y remove vim-minimal vim-common vim-enhanced |
GitHubギッハブ Flavoredフレイヴァード Markdownマークダウン においては ruby タグを用もちいる事ことで漢かん字じに紅ル玉ビを振ふる事ことが可能なできるのだッッ!!!
This guide shows how to set up a PHP and MySQL development environment using OSX's built-in Apache, using Homebrew to install necessary components. With this strategy, you can use different versions of PHP for certain virtual hosts.
VirtualHostX is a convenient way to manage development sites, but not required.
brew update
brew install php56
brew install php56-mcrypt
brew install mysql
This file contains 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
web1: | |
document_root: /app/webroot | |
shared_writable_dirs: | |
- app/tmp | |
- app/tmp/cache | |
- app/tmp/logs | |
- app/tmp/sessions | |
- app/tmp/tests | |
php_version: 5.4.14 | |
php_extensions: |
Awesome PHP の記事をフォークして翻訳したものです (2013年4月25日)。おどろくほどすごい PHP ライブラリ、リソースやちょっとした情報のリストです。
【訳者コメント】 PHP 入門者のかたにはクィックリファレンスとして PHP: The Right Way 、セキュリティに関しては2011年3月に出版された 体系的に学ぶ 安全なWebアプリケーションの作り方 をおすすめします。
- Composer/Packagist - パッケージと依存マネージャー
- Composer Installers - マルチフレームワーク Composer ライブラリインストーラー。
This file contains 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
body { | |
font-family: Helvetica, arial, sans-serif; | |
font-size: 14px; | |
line-height: 1.6; | |
padding-top: 10px; | |
padding-bottom: 10px; | |
background-color: white; | |
padding: 30px; } | |
body > *:first-child { |
This file contains 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
<?php | |
// Possible example of using the CakePHP Schema callback `after` | |
// to insert content in the database. | |
// Inspiration: https://github.com/majna/schema | |
// Copy schema.php to app/Config/Schema | |
// Run: ./Console/cake schema create | |
App::uses('ClassRegistry', 'Utility'); | |
class AppSchema extends CakeSchema { |
This file contains 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
# Make sure you can use mpc from your command line before running this. | |
soma = { "Groove Salad (ambient/electronica)" => 'groovesalad', | |
"Suburbs of Goa (world)" => 'suburbsofgoa', | |
"Lush (electronica)" => 'lush', | |
'Digitalis (electronica/alternative)' => 'digitalis', | |
'480 Minutes (alternative)' => '480min', | |
'Indie Pop Rocks! (alternative)' => 'indiepop', | |
'PopTron (alternative)' => 'poptron', | |
'Black Rock FM (eclectic)' => 'brfm', |
This file contains 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
function urlencode (str) { | |
str = (str+'').toString(); | |
return encodeURIComponent(str).replace(/!/g, '%21').replace(/'/g, '%27').replace(/\(/g, '%28').replace(/\)/g, '%29').replace(/\*/g, '%2A').replace(/%20/g, '+'); | |
}; | |
function http_build_query(formdata, numeric_prefix, arg_separator){ | |
var value, key, tmp = [], that = this; | |
var _http_build_query_helper = function (key, val, arg_separator) { | |
var k, tmp = []; |
NewerOlder