If you haven't already set your NPM author info, now you should:
npm set init.author.name "Your Name"
npm set init.author.email "[email protected]"
npm set init.author.url "http://yourblog.com"
npm adduser
<?php | |
use Symfony\Component\HttpKernel\Kernel; | |
use Symfony\Component\Config\Loader\LoaderInterface; | |
class AppKernel extends Kernel | |
{ | |
public function registerBundles() | |
{ | |
$bundles = array( |
var app = angular.module('controlacar', ['ngRoute'], ['shared']); | |
app.config(['$routeProvider', '$locationProvider', function($routeProvider,$locationProvider) { | |
$locationProvider.hashPrefix('!'); | |
$routeProvider | |
.when('/', { | |
templateUrl: 'components/login/form.html' | |
}) |
var app = angular.module('controlacar', ['ngRoute'], ['shared']); | |
app.config(['$routeProvider', '$locationProvider', function($routeProvider,$locationProvider) { | |
$locationProvider.hashPrefix('!'); | |
$routeProvider | |
.when('/', { | |
templateUrl: 'components/login/form.html' | |
}) |
/** | |
* States dropdown directive | |
* | |
*/ | |
app.directive('stateDropdown', function(){ | |
return { | |
controller: function($scope, stateService) { | |
stateService.list() |
{ | |
"bitwise": true, | |
"camelcase": true, | |
"curly": true, | |
"eqeqeq": true, | |
"es3": false, | |
"forin": true, | |
"freeze": true, | |
"immed": true, | |
"indent": 2, |
(function() { | |
'use strict'; | |
angular | |
.module('controlaCarApp.route', []) | |
.config(['$stateProvider', '$urlRouterProvider', config]); | |
function config($stateProvider, $urlRouterProvider) { | |
$urlRouterProvider.otherwise('/'); |
/** | |
* Login controller | |
* | |
*/ | |
(function() { | |
'use strict'; | |
angular | |
.module('controlaCarApp.login', []) |
{ | |
"bitwise": true, | |
"camelcase": true, | |
"curly": true, | |
"eqeqeq": true, | |
"es3": false, | |
"forin": true, | |
"freeze": true, | |
"immed": true, | |
"indent": 2, |
# 1.install gource using HomeBrew | |
$ brew install gource | |
# 2.install avconv | |
git clone git://git.libav.org/libav.git | |
cd libav | |
# it will take 3-5 minutes to complie, be patient. | |
./configure --disable-yasm | |
make && make install |
If you haven't already set your NPM author info, now you should:
npm set init.author.name "Your Name"
npm set init.author.email "[email protected]"
npm set init.author.url "http://yourblog.com"
npm adduser