For multiple screens via one bash interface (edit a file and restart a service without losing place in file)
$ screen
Output content of file to terminal
$ cat
Search a file for a keyword/regex
[Mensch font](http://robey.lag.net/2010/06/21/mensch-font.html), | |
[Source Code Pro](http://sourceforge.net/projects/sourcecodepro.adobe/files/), | |
[Webkit](http://webkit.org), | |
[Chrome](http://google.com/chrome), | |
[Firefox](http://firefox.com), | |
[Kaleidoscope](http://www.kaleidoscopeapp.com), | |
[iTerm](http://iterm2.com), | |
[Sublime Text](http://www.sublimetext.com/dev), | |
[Sequel Pro](http://nightly.sequelpro.com), | |
[Codekit](http://incident57.com/codekit/), |
For multiple screens via one bash interface (edit a file and restart a service without losing place in file)
$ screen
Output content of file to terminal
$ cat
Search a file for a keyword/regex
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
Add all files to staging
git add .
Check differences in file across commits
git diff SHA-HASH FILENAME
Git UI
<!DOCTYPE html> | |
<html> | |
<head> | |
<!-- | |
theme: Copycat | |
version: 1.9a (March 31, 2014) | |
from: adorablethemes.com | |
--> |
define('WP_USE_THEMES', false); | |
require_once('/path/to/wordpress/directory/wp-load.php'); |
<?php | |
require_once "shop/app/Mage.php"; | |
unmask(0); | |
Mage::app('default'); | |
?> |
<?php | |
$layout = Mage::app()->getLayout(); | |
$layout->getUpdate() | |
->addHandle('default') | |
->load(); | |
$layout->generateXml() | |
->generateBlocks(); |