This is a work in progress - it may not work!
- node_ssl (with SSL support)
| node_modules |
| { scopeName = 'text.html.basic'; | |
| firstLineMatch = '<!DOCTYPE|<(?i:html)|<\?(?i:php)'; | |
| fileTypes = ( 'html', 'htm', 'shtml', 'xhtml', 'phtml', 'php', 'inc', 'tmpl', 'tpl', 'ctp' ); | |
| foldingStartMarker = '(?x) | |
| (<(?i:head|body|table|thead|tbody|tfoot|tr|div|select|fieldset|style|script|ul|ol|li|form|dl)\b.*?> | |
| |<!--(?!.*--\s*>) | |
| |^<!--\ \#tminclude\ (?>.*?-->)$ | |
| |<\?(?:php)?.*\b(if|for(each)?|while)\b.+: | |
| |\{\{?(if|foreach|capture|literal|foreach|php|section|strip) | |
| |\{\s*($|\?>\s*$|//|/\*(.*\*/\s*$|(?!.*?\*/))) |
| var portrange = 45032 | |
| function getPort (cb) { | |
| var port = portrange | |
| portrange += 1 | |
| var server = net.createServer() | |
| server.listen(port, function (err) { | |
| server.once('close', function () { | |
| cb(port) |
| #!/usr/bin/env sh | |
| ## | |
| # This is script with usefull tips taken from: | |
| # https://github.com/mathiasbynens/dotfiles/blob/master/.osx | |
| # | |
| # install it: | |
| # curl -sL https://raw.github.com/gist/2108403/hack.sh | sh | |
| # |
This is a work in progress - it may not work!
| // Use Gists to store code you would like to remember later on | |
| console.log(window); // log the "window" object to the console |