In order of first appearance in The Morning Paper.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
tell application "Deckset" | |
set doc to first document | |
set ind to 0 | |
set slideIndex of doc to ind | |
set delaySeconds to 15 | |
--set question to display dialog "Start presentation?" buttons {"OK", "Cancel"} default button 1 | |
--set answer to button returned of question | |
--if answer is equal to "OK" then |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cd() { | |
if [ -d .git ] && [ ! -d $@ ]; then | |
git checkout "$@" | |
else | |
command cd "$@" | |
fi | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Simple Magento integration test PHPUnit bootstrap | |
*/ | |
chdir(__DIR__ . '/../..'); | |
$mageFile = 'htdocs/app/Mage.php'; | |
umask(0); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" open ctag in tab/vertical split | |
map <C-\> :tab split<CR>:exec("tag ".expand("<cword>"))<CR> | |
map <leader><C-\> :vsp <CR>:exec("tag ".expand("<cword>"))<CR> |
JavaScript Code
var str = "hi";
Memory allocation:
Address | Value | Description |
---|---|---|
...... |
... |