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.
| # Chroot Jail for SSH Access | |
| # Tested on Ubuntu 14.04.2 LTS and Debian GNU/Linux 8 (jessie) | |
| # Reference : http://allanfeid.com/content/creating-chroot-jail-ssh-access | |
| # | |
| # Had to add/change several things to make it work, including: | |
| # - create lib64 folder | |
| # - copy whoami dependencies that ldd doesn't show to fix 'I have no name!' | |
| # in the customized prompt + create passwd file | |
| # |
| <!doctype html> | |
| <html ng-app="Demo" ng-controller="DemoController"> | |
| <head> | |
| <meta charset="utf-8" /> | |
| <title> | |
| Grouping Nested ngRepeat Lists In AngularJS | |
| </title> | |
| </head> | |
| <body> |
| // 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.
http://visionmedia.github.com/mocha/
Mocha is a new library from VisionMedia aka TJ Holowaychuk author of ExpressJs. As usual it has everything you can think of from a testing library and manages to keep it simple and straight forward to use.
Just like jasmine it has a very solid bdd style to testing: