Skip to content

Instantly share code, notes, and snippets.

View alex-seville's full-sized avatar

Alex Seville alex-seville

View GitHub Profile
@flrent
flrent / gist:4060412
Created November 12, 2012 16:44
Multiple require.js file
requirejs: {
amilia: {
options: {
baseUrl:'../app/',
name:'main',
mainConfigFile: "../app/config_amilia.js",
out: "../app/build/debug/require_amilia.js"
}
},
oodili: {
# Hello, Git. Let's make you better.
alias g="git"
# Sensible git defaults:
# ----------------------
alias gadd="git add --verbose" # Make it print out the files added.
alias ggrep="git grep --color=always -I" # Colored; don't search binary files (-I).
alias gdiff="git diff --color --patch-with-stat" # Show stats of each commit; color.
alias glog="git log --color --graph --decorate --date=relative" # Color; short dates; have a small "graph" lines on the left.
@dervalp
dervalp / Birthdate.js
Created January 9, 2012 19:55
Control for Birthdate with Date.js
//reference Date.js
if (!Utilities) var Utilities = {};
$.extend(Utilities,
{
Birthdate : function(lg) {
var Month = {
en : ["January","February","March","April","May","June","July","August","September","October","November","December"],
fr : ["janvier","février","mars","avril","mai","juin","juillet","août","septembre","octobre","novembre","décembre"]
}