- Use this tab function as an alias
- Chain two commands together and enclose each command in quotes. Example:
tab "watchify public/assets/js/sick.js -o public/assets/js/app.js -v" && tab "nodemon server.js"
/** | |
* | |
* Generate Schema | |
* @desc dynamically create the JSON Schema | |
* @see https://github.com/YousefED/typescript-json-schema#programmatic-use | |
* @return {Object} schema | |
* | |
*/ | |
function generateSchema (interfaceType: string): Object { | |
const program = TJS.getProgramFromFiles([resolve('./interfaces/admin/SchemaResponse.ts')], {strictNullChecks: true}); |
#!/bin/bash | |
# | |
# Open new Terminal tabs from the command line | |
# | |
# Original Author: Justin Hileman (http://justinhileman.com) | |
# Modified By: Khaliq Gant (http://khaliqgant.com) | |
# Installation: | |
# Add the following function to your `.bashrc` or `.bash_profile`, | |
# or save it somewhere (e.g. `~/.tab.bash`) and source it in `.bashrc` or `.zshrc` |
_main.$pushLinks.each(function(){ | |
$(this).on('click', function(e){ | |
_push.clickEvent = true; | |
var $el = $(this); | |
_mobile.mobileCheck($el); | |
_filters.urlAnalyzer('add', $el, false); | |
return false; | |
}); | |
}); |
var Gallery = (function() { | |
// whole lotta code here | |
})(); |
tab "watchify public/assets/js/sick.js -o public/assets/js/app.js -v" && tab "nodemon server.js"