sudo add-apt-repository ppa:nilarimogard/webupd8
sudo apt-get update
sudo apt-get install indicator-netspeed
wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
<?php | |
use Symfony\Component\Console\Input\ArrayInput; | |
use Symfony\Component\Console\Output\ConsoleOutput; | |
use Symfony\Bundle\FrameworkBundle\Console\Application; | |
use Behat\BehatBundle\Command\BehatCommand; | |
class BehatTest extends KernelAwareTest | |
{ | |
/** |
<?php | |
/** | |
* php-ansi-color | |
* | |
* Original | |
* https://github.com/loopj/commonjs-ansi-color | |
* | |
* @code | |
* <?php | |
* require_once "ansi-color.php"; |
rpm -Uvh http://rbel.co/rbel5 | |
yum install ImageMagick-devel ImageMagick-c++-devel | |
gem install rmagick |
sudo apt-get install \ | |
libxml2 \ | |
libxml2-dev \ | |
libssl-dev \ | |
pkg-config \ | |
curl \ | |
libcurl4-nss-dev \ | |
enchant \ | |
libenchant-dev \ | |
libjpeg8 \ |
<?php | |
class Computer | |
{ | |
protected $cpu; | |
protected $ram; | |
public function __construct($cpu,$ram) | |
{ | |
$this->cpu = $cpu; |
<?php | |
class Counter | |
{ | |
protected $count = 0; | |
static private $instance = null; | |
// protected will ensure that this class only created once |
<?php | |
add_action( 'wp_enqueue_scripts', 'registerMyPluginScripts' ); | |
function registerMyPluginScripts(){ | |
wp_enqueue_script( 'myPluginScript', plugins_url('my-plugin/js/script.js',__FILE__), array('jquery')); | |
} |
<VirtualHost *:80> | |
ServerName old.kmcmission.or.kr | |
DocumentRoot /home/kmcbishop/kmcmission.or.kr | |
</VirtualHost> |