Wraps selection into {_'$selection'}
*Installation:(
- save
latte-translator.sublime-snippet
intoPackages/User/
- add keybinding into
Key Bindings - User
.
Usage: select text and press ctrl+t
<?php | |
namespace Sim; | |
$wwwDir = __DIR__ . '/..'; | |
define('WWW_DIR', $wwwDir); // BC | |
require_once $wwwDir . '/libs/Nette/loader.php'; | |
require_once $wwwDir . '/app/inc/Configurator.php'; |
Inline image without link - simply wrap your images with <a></a>
, preventing Github from creating its own link.
<a></a>
Also note that images served over https://
are not cached, which is useful for changing content without actually editing the image url itself. Example: CI status badges
- [ ] foo
- [ ] (in parentheses)
- [ ] bar
*.* |
ls ~/** | |
alias -g S="| sort" | |
cd /u/lo/b<tab> => /usr/local/bin | |
cd usr srv | |
pwd # /srv/local/bin | |
RPROMPT |
What I really entered: 30. 8. 2013
Any suggestions why would GitHub parse it like a list AND start with 1 rather than the suggested number?
{ | |
"cmd" : [ | |
"gcc $file_name -o ${file_base_name} && osascript -e 'tell application \"iTerm\" to activate' && osascript -e 'tell application \"iTerm\" to tell last terminal to tell the last session to write text \"$file_path/$file_base_name\"'" | |
], | |
"selector": "source.c", | |
"shell": true, | |
"working_dir": "$file_path" | |
} |
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |