Lists all files for the last commit (HEAD)
git show --name-only --oneline HEADDelete a remote git tag
git tag -d v1.0.0Lists all files for the last commit (HEAD)
git show --name-only --oneline HEADDelete a remote git tag
git tag -d v1.0.0| <?php | |
| /** | |
| * @author Jose Luis Quintana <joseluisquintana.pe> | |
| */ | |
| class JDirectory { | |
| private $_ignore_list = array(); | |
| function ignore_list($ignore_list) { |
| var HTTPStatusService = { | |
| ok: { | |
| code: 200, | |
| msg: 'The request sent by the client was successful.' | |
| }, | |
| bad_request: { | |
| code: 400, | |
| msg: 'The syntax of the request was not understood by the server.' | |
| }, | |
| no_authorized: { |
| /** | |
| * Some jQuery utils functions | |
| */ | |
| (function($){ | |
| $.fn.isEmpty=function(){ | |
| return !!$(this).val()==null||$(this).val().length==0||/^\s+$/.test($(this).val()); | |
| }; | |
| $.fn.isEmail=function(){ | |
| return !!(/\w{1,}[@][\w\-]{1,}([.]([\w\-]{1,})){1,3}$/.test($(this).val())); |
| // for demo: http://jsbin.com/jeqesisa/7/edit | |
| // for detailed comments, see my SO answer here http://stackoverflow.com/questions/8853396/logical-operator-in-a-handlebars-js-if-conditional/21915381#21915381 | |
| /* a helper to execute an IF statement with any expression | |
| USAGE: | |
| -- Yes you NEED to properly escape the string literals, or just alternate single and double quotes | |
| -- to access any global function or property you should use window.functionName() instead of just functionName() | |
| -- this example assumes you passed this context to your handlebars template( {name: 'Sam', age: '20' } ), notice age is a string, just for so I can demo parseInt later | |
| <p> | |
| {{#xif " this.name == 'Sam' && this.age === '12' " }} |
Here some very essential and useful plugins for Sublime Text Editor.
First, it's necessary to install Package Control.
| { | |
| "theme": "Flatland Dark.sublime-theme", | |
| "flatland_square_tabs": true, | |
| "color_scheme": "Packages/User/Flatland Dark (SL).tmTheme", | |
| "flatland_sidebar_tree_small": true, | |
| "font_face": "Monaco", | |
| "font_size": 10, | |
| "ignored_packages": [ | |
| "Vintage" | |
| ], |
| // helpers.scss v1.0.2 | |
| // Some utilities mixins and functions. | |
| // MIT License | Develop by Jose Luis Quintana - joseluisquintana.pe | |
| // Transition element | |
| @mixin transition($value: all .3s ease) { | |
| -webkit-transition: $value; | |
| -moz-transition: $value; | |
| -ms-transition: $value; | |
| -o-transition: $value; |