Look at LSB init scripts for more information.
Copy to /etc/init.d:
# replace "$YOUR_SERVICE_NAME" with your service's name (whenever it's not enough obvious)| // ---- | |
| // Sass (v3.3.0.rc.2) | |
| // Compass (v1.0.0.alpha.17) | |
| // ---- | |
| // | |
| // map-fetch($map, $keys) | |
| // | |
| // An easy way to fetch a deep value in a multi-level map. Works much like | |
| // map-get() except that you pass multiple keys as the second parameter to |
| tim@touchsmart:~/Code$ nvm use v0.11.2-generators | |
| Now using node v0.11.2-generators | |
| tim@touchsmart:~/Code$ node --harmony testgen.js | |
| <Buffer 76 61 72 20 66 73 20 3d 20 72 65 71 75 69 72 65 28 27 66 73 27 29 3b 0a 66 75 6e 63 74 69 6f 6e 20 72 65 61 64 46 69 6c 65 28 70 61 74 68 2c 20 65 6e 63 ...> | |
| Sleeping for 2000ms... | |
| Done |
| var app = angular.module('app', []); | |
| app.directive('yaTree', function () { | |
| return { | |
| restrict: 'A', | |
| transclude: 'element', | |
| priority: 1000, | |
| terminal: true, | |
| compile: function (tElement, tAttrs, transclude) { |
Look at LSB init scripts for more information.
Copy to /etc/init.d:
# replace "$YOUR_SERVICE_NAME" with your service's name (whenever it's not enough obvious)| // Source: https://groups.google.com/forum/#!topic/angular/hVrkvaHGOfc | |
| // jsFiddle: http://jsfiddle.net/pkozlowski_opensource/PxdSP/14/ | |
| // author: Pawel Kozlowski | |
| var myApp = angular.module('myApp', []); | |
| //service style, probably the simplest one | |
| myApp.service('helloWorldFromService', function() { | |
| this.sayHello = function() { | |
| return "Hello, World!" |
Awesome PHP has been relocated permanently to its own Github repository. No further updates will made to this gist.
Please open an issue for any new suggestions.
| { | |
| "scope": "source.css", | |
| "completions": | |
| [ | |
| { "trigger": "l|left", "contents": "left:$1;$0" }, | |
| { "trigger": "r|right", "contents": "right:$1;$0" }, | |
| { "trigger": "t|top", "contents": "top:$1;$0" }, | |
| { "trigger": "b|bottom", "contents": "bottom:$1;$0" }, | |
| { "trigger": "z|z-index", "contents": "z-index:$1;$0" }, |
| <!doctype html> | |
| <html lang="en" manifest=""> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> | |
| <title><%= title %></title> | |
| <meta name="description" content=""> | |
| <meta name="author" content=""> | |
| ### | |
| Web Toolkit v0.4 (by M@ McCray) | |
| http://gist.github.com/515035 | |
| NOTE: This is meant to be used as a Cakefile (Coffee's RAKE equivalent). | |
| ### | |
| COFFEE_SRC="source/coffee" |