- Preprocessor;
- Task runner;
- Scaffolding;
- Code style;
- Pendências da documentação
var actualDate = new Date(2009,11,24); | |
var date = actualDate.getDate().toString(); | |
var month = actualDate.getMonth().toString(); | |
var year = actualDate.getFullYear().toString(); | |
var testDate = new Date(year, month, date); | |
console.log("Antes"); | |
console.log(actualDate); |
var actualDate = new Date(2009,02,31); | |
var date = actualDate.getDate().toString(); | |
var month = actualDate.getMonth().toString(); | |
var year = actualDate.getFullYear().toString(); | |
var testDate = new Date(year, month, date); | |
console.log("Antes"); |
<ion-view title="COMPONENTES"> | |
<div class="separador-exemple"><span>SEARCH BOX</span></div> | |
<ion-content class="has-header"> | |
<div class="row"> | |
<div class="col"> | |
<chart type="bar"></bar-chart> | |
</div> | |
<div class="col"> | |
<chart chart-id="fixed" chart-data="fixedChartData" type="bar"></bar-chart> |
# ------------------------------------------------------------------- | |
# Git | |
# ------------------------------------------------------------------- | |
alias ga='git add' | |
alias gp='git push' | |
alias gl='git log' | |
alias gs='git status' | |
alias gd='git diff' | |
alias gm='git commit -m' | |
alias gma='git commit -am' |
# Path to your oh-my-zsh installation. | |
export ZSH=/Users/bernardo/.oh-my-zsh | |
# Set name of the theme to load. | |
# Look in ~/.oh-my-zsh/themes/ | |
# Optionally, if you set this to "random", it'll load a random theme each | |
# time that oh-my-zsh is loaded. | |
ZSH_THEME="gianu" | |
# Uncomment the following line to use case-sensitive completion. |
@font-face { | |
font-family: 'icomoon'; | |
src: url('../font/font-icons.eot'); | |
src: url('../font/font-icons.eot#iefix') format('embedded-opentype'), | |
url('../font/font-icons.woff') format('woff'), | |
url('../font/font-icons.ttf') format('truetype'), | |
url('../font/font-icons.svg#font-icons') format('svg'); | |
font-weight: normal; | |
font-style: normal; | |
} |
var Task = function (name) { | |
this.name = name; | |
this.completed = false; | |
//implicit return this here; | |
} | |
Task.prototype.save = function() { | |
console.log("saving..."); | |
} |
#!/bin/bash | |
REPO_NAMES=( | |
hiroto | |
izumi | |
kato | |
kaze | |
kishimoto | |
kojima | |
kuwabara | |
kurono |
(function() { | |
function ${name}Controller($scope) | |
} | |
${name}Controller.$inject = [ | |
'$scope', | |
]; | |
angular.module('${name}') |