- github.com: click Fork button
- git clone fork-git-url
- git remote add upstream parent-repo-url
- git checkout -b new-feature-branch
- git add .
- git commit -m “short yet descriptive message”
- git push origin new-feature-branch
.ui-autocomplete { | |
position: absolute; | |
top: 100%; | |
left: 0; | |
z-index: 1000; | |
float: left; | |
display: none; | |
min-width: 160px; | |
_width: 160px; | |
padding: 4px 0; |
; Enable Zend OPcache extension module | |
zend_extension=opcache.so | |
; Determines if Zend OPCache is enabled | |
opcache.enable=1 | |
; Determines if Zend OPCache is enabled for the CLI version of PHP | |
;opcache.enable_cli=0 | |
; The OPcache shared memory storage size. |
; Enable APCu extension module | |
extension = apcu.so | |
; This can be set to 0 to disable APCu | |
apc.enabled=1 | |
; Setting this enables APCu for the CLI version of PHP | |
; (Mostly for testing and debugging). | |
;apc.enable_cli=0 |
http://stackoverflow.com/questions/5899783/detect-safari-using-jquery
var is_chrome = navigator.userAgent.indexOf('Chrome') > -1;
var is_explorer = navigator.userAgent.indexOf('MSIE') > -1;
var is_firefox = navigator.userAgent.indexOf('Firefox') > -1;
var is_safari = navigator.userAgent.indexOf("Safari") > -1;
var is_opera = navigator.userAgent.toLowerCase().indexOf("op") > -1;
if ((is_chrome)&&(is_safari)) {is_safari=false;}
if ((is_chrome)&&(is_opera)) {is_chrome=false;}
SELECT query_time, rows_examined, sql_text, user_host
FROM mysql.slow_log
WHERE sql_text NOT LIKE "%INFORMATION_SCHEMA%"
ORDER BY query_time DESC, rows_examined DESC
LIMIT 0,25;
<div style="display: none" data-selector="spinner" id="spinner"> | |
<div class="nowrap"> | |
<span class="spinner-text text-info">CUSTOM TEXT</span> | |
<div class="spinner"> | |
<div class="bounce1"></div> | |
<div class="bounce2"></div> | |
<div class="bounce3"></div> | |
</div> |
// @source http://phptest.club/t/browser-tab-open-new-swicht-to-last-1-2-3-4-5-close/866
/**
* $I->newBrowserTab();
*/
public function newBrowserTab()
{
$I = $this;
$I->pressKey('body', array("ctrl", "t"));
}
# docs | |
https://support.rackspace.com/how-to/cloud-backup-agent-logging-basics/ | |
# file path | |
/etc/driveclient/log4cxx.xml | |
# contents | |
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE log4j:configuration SYSTEM "log4j.dtd"> | |
<log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/"> | |
<appender name="FILE" class="org.apache.log4j.RollingFileAppender"> | |
<param name="File" value="/var/log/driveclient.log"/> |