| :split filename | |
| ctrl-w w | split window and load another file |
| :vsplit filename | |
| ctrl-w v | vertical split |
| :hide | |
| ctrl-w q | close current window |
| ctrl-w arrow | move cursor up/down/left/right a window |
| ctrl-w ctrl-w | move cursor to another window (cycle) |
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
| require 'rails/commands/server'; server=Rails::Server.new; | |
| Thread.new{server.start} |
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
| #http://chrisjean.com/2009/04/20/git-submodules-adding-using-removing-and-updating/ | |
| # Adding a git submodule | |
| git submodule add $url $path | |
| git submodule init | |
| git submodule update | |
| # Removing a git submodule | |
| vi .gitmodules | |
| vi .git/config |
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
| <html> | |
| <head> | |
| <title>Test</title> | |
| <link rel="stylesheet" media="all" href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.7/themes/start/jquery-ui.css"></link> | |
| <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js"></script> | |
| <script src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.7/jquery-ui.min.js"></script> | |
| <script src="jquery.myplugin.js"></script> | |
| <script> | |
| $(document).ready(function(){ | |
| //call plugin |
This plugin adds a sale items shortcode to WooCommerce. Usage:
[sale_products]
Options & defaults:
per_page=12
columns=4
orderby=title
order=asc