# vi /etc/yum.repos.d/google-chrome.repo -------------------------------------------------- [google-chrome] name=google-chrome baseurl=http://dl.google.com/linux/chrome/rpm/stable/x86_64 enabled=1 gpgcheck=1 gpgkey=https://dl.google.com/linux/linux_signing_key.pub -------------------------------------------------- # yum install google-chrome-stable
centos7 : change user's home base dir
usermod --home /var/www/ username
php : redefine function runkit
for cebos7 rpm http://pkgs.org/centos-7/remi-x86_64/php-pecl-runkit-1.0.4-0.7.git5e179e9.el7.remi.5.4.x86_64.rpm.html http://php.net/manual/en/function.runkit-function-redefine.php <?php function testme() { echo "Original Testme Implementation\n"; } testme(); runkit_function_redefine('testme','','echo "New Testme Implementation\n";'); testme(); ?>
mega_main_menu : submenu_post_type too heavy
plugins/mega_main_menu/extensions/mega_main_menu/menu_options_array.php
Chrome : 44.0.2403.89 https js error
function.php function https_chrome44fix() { $_SERVER['HTTPS'] = false; } add_action('init', 'https_chrome44fix',0);
CentOS 6 : chrome install
#vi /etc/yum.repos.d/google-chrome.repo [google-chrome] name=google-chrome baseurl=http://dl.google.com/linux/chrome/rpm/stable/$basearch enabled=1 gpgcheck=1 gpgkey=https://dl-ssl.google.com/linux/linux_signing_key.pub #yum install google-chrome-stable # wget http://chrome.richardlloyd.org.uk/install_chrome.sh # chmod 755 install_chrome.sh # ./install_chrome.sh ... need os update.... # google-chrome &