- /var/www/$PROJECTS/
- .git/
- public/
- html など
- scripts/
- gitpull.sh
chown -R apache:apache - /var/www/$PROJECTS
cpan local::lib
cpan Linux::Smaps
shared_memory_size.pl `pgrep httpd`
http://d.hatena.ne.jp/teramako/20130703/p1
class Foo {
constructor(name) {
this.name = name;
}
hello () {
console.log("Hello World");
}
# db export | |
wp db export ../wp_db.sql | |
# update all | |
wp core update && wp core update-db && wp plugin update-all && wp theme update --all | |
# list all plugins | |
wp plugin list --format=csv | \ | |
fgrep -v inactive | \ | |
fgrep active | \ |
In the spirit of openness and transparency and to adhere to our Breaking Change Policy, we publish this roadmap to help developers plan for changes that may require code modifications.
公共性とオープン性と、Breaking Change Policy に従い、コードの変更が必要になるかもしれない開発者へ向けてこのロードマップを公開します。
Like all roadmaps, it may shift slightly, but we will share insight into what is happening as details become available.
他のロードマップ同様、多少の変更はあるかもしれませんが、今後の方向性を知る上で必要な情報を共有します。
/*global $, setTimeout, console*/ | |
/** | |
* なんか重たい処理 | |
*/ | |
function fib(num) { | |
if (num === 0 || num === 1) { | |
return 1; | |
} | |
return fib(num - 1) + fib(num - 2); |
@see http://l-w-i.net/t/memcached/command_001.txt
$ memcached-tool localhost dump
<?php | |
/** | |
* @see http://php.net/manual/en/class.memcached.php | |
*/ | |
class Memcached | |
{ | |
/** | |
* Enables or disables payload compression. | |
* When enabled, item values longer than a certain threshold (currently 100 bytes) | |
* will be compressed during storage and decompressed during retrieval transparently. |