This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash -ex | |
USERNAME=salutte | |
HOSTNAME=salutte | |
VERSION=2.0 | |
DB_NAME=salutte2 | |
install() | |
{ | |
DEBIAN_FRONTEND=noninteractive apt-get -y \ | |
-o DPkg::Options::=--force-confdef \ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!bash | |
#run as root | |
install() | |
{ | |
DEBIAN_FRONTEND=noninteractive apt-get -y \ | |
-o DPkg::Options::=--force-confdef \ | |
-o DPkg::Options::=--force-confold \ | |
install $@ | |
} | |
username="${1:-gpittau}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Andando | |
module("sru/fixtures/store2" | |
, { | |
setup: | |
function() | |
{ | |
var line_separator | |
= '\n' | |
, field_separator | |
= ',' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
gist: 3982154 Test Csonv Relational | |
gist: 3970060 init | |
gist: 1634626 | |
more... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var connect = require('connect'); | |
var less = require('less-middleware'); | |
var app | |
= connect() | |
.use(connect.logger('dev')) | |
.use(connect.directory(__dirname + '/public')) | |
.use(connect.static(__dirname+'/public')) | |
.use( | |
less( |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
( | |
function(fw) | |
{ | |
( | |
function(find,filter,spec) | |
{ | |
var results={} | |
fw.each( | |
spec | |
, function(source_transform,index) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<title>Stream Mustache Demo</title> | |
<!--[if lt IE 9]> | |
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script> | |
<![endif]--> | |
</head> | |
<body> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
members="SIGMA-IT nguidi francosoto mrios jprongue gpittau" | |
for member in $members | |
do | |
#Borra remote de cada uno | |
git remote rm $member | |
#Crea un remote para cada uno | |
git remote add $member git@github.com:$member/SGM.git | |
#git branch -d $member | |
#Crea un branch para cada uno |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
_.mixin({ | |
// ### _.objMap | |
// _.map for objects, keeps key/value associations | |
objMap: function (input, mapper, context) { | |
return _.reduce(input, function (obj, v, k) { | |
obj[k] = mapper.call(context, v, k, input); | |
return obj; | |
}, {}, context); | |
}, | |
// ### _.objFilter |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
player_id='first-video-player'; | |
function addCommand(id,command) | |
{ | |
$('<button id="'+id+'">'+id+'</button></br>') | |
.click(command) | |
.appendTo('#qa-panel') | |
}; | |
player=MP.players[player_id]; | |
$('<div id="qa-panel">') | |
.css('position','fixed') |
OlderNewer