Software required:
After installation and putting the youtube-dl in PATH
youtube-dl \
| /* CORS */ | |
| const Hapi = require('hapi'); | |
| const server = new Hapi(); | |
| server.connection({ | |
| host: '0.0.0.0', | |
| port: this.config.webservice_port, | |
| routes: { | |
| cors: { | 
Software required:
After installation and putting the youtube-dl in PATH
youtube-dl \
| // 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!" | 
| routerHelper.configureStates(getStates(levels), function () { | |
| var redirects = '/404'; | |
| if($state.current.url === '^') { | |
| redirects = '/'; // Or Whatever your homepage is | |
| } | |
| return redirects; | |
| }); | 
Go to the egghead website, i.e. Building a React.js App
run
$.each($('h4 a'), function(index, video){
  console.log(video.href);
});| .center-column { | |
| float: none !important; | |
| margin: 0 auto; | |
| } | |
| .no-padding-left { | |
| padding-left: 0; | |
| } | |
| .no-padding { | |
| padding: 0; | |
| } |