#tmux Resources
tmux Cheat Sheet: https://gist.github.com/MohamedAlaa/2961058
tmux Crash Course: http://robots.thoughtbot.com/a-tmux-crash-course
| <snippet> | |
| <content><![CDATA[ | |
| print '<pre>'; | |
| print_r(${1:var}); | |
| print '</pre>'; | |
| ]]></content> | |
| <tabTrigger>ppre</tabTrigger> | |
| <scope>source.php</scope> | |
| </snippet> |
| <?php | |
| error_reporting(E_ALL); | |
| ini_set('display_errors', '1'); | |
| ?> |
| $('h3').click(function(){ | |
| var t = $(this); | |
| if (t.hasClass('open')) { | |
| t.removeClass('open'); | |
| t.siblings('ul').hide(); | |
| } else { | |
| t.addClass('open'); | |
| t.siblings('ul').show(); | |
| }; | |
| }); |
| /* | |
| Theme Name: My Thematic Child Theme | |
| Theme URI: | |
| Description: This is a child theme of thematic created by me | |
| Author: Abbas Suterwala | |
| Author URI: | |
| Template: thematic | |
| Version: 1.0 | |
| */ |
| mysqldump -u root -proot dbname > filename-$(date '+%Y%m%d-%H-%M').sql |
| find . -name .DS_Store -print0 | xargs -0 git rm --ignore-unmatch |
| Edit the hosts file: C:\windows\system32\drivers\etc\hosts | |
| (if the hosts folder/file is invisible, select 'all files' from the file type dropdown) | |
| Add this entry: | |
| 10.0.2.2 localhost mydomain mydomain.com | |
| You can now refer to the parent machine's vhosts by name! |
#tmux Resources
tmux Cheat Sheet: https://gist.github.com/MohamedAlaa/2961058
tmux Crash Course: http://robots.thoughtbot.com/a-tmux-crash-course
| test content |
| class FancyMarkup | |
| def initialize | |
| end | |
| def method_missing(name, attr={}, &block) | |
| puts "<#{name}#{self.flatten(attr)}>" | |
| self.instance_eval(&block) | |
| puts "</#{name}>" |