On my dev server
##Install git
su
apt-get install git-core
##Create ssh directory since it doesn't exists by default on the Amazon AMI
<!-- | |
RATP or RAPT ? | |
--> | |
<osm-script output="json" timeout="25"> | |
<!-- gather results --> | |
<union> | |
<!-- query part for: “operator=rapt” --> | |
<query type="node"> | |
<has-kv k="operator" v="RAPT"/> | |
<bbox-query s="48.8326901185081" w="2.325925827026367" n="48.86477122456225" e="2.379741668701172"/> |
var http = require("http"), | |
url = require("url"), | |
path = require("path"), | |
fs = require("fs") | |
port = process.argv[2] || 8976, | |
throttle = 2000; // ms | |
http.createServer(function(request, response) { |
var Collection = function () { | |
return { | |
db: [], | |
add: function (o) { | |
if (typeof(o.uid) === 'undefined') { | |
throw 'error: object has no uid'; | |
} | |
if (this.get(o.uid) === false) { | |
this.db.push(o); | |
} |
#include<stdio.h> | |
main() | |
{ | |
printf("Hello World"); | |
} |
// | |
// split.js | |
// parse large files by new lines. | |
// uses buffer for very long lines | |
// | |
// Created by gaspard on 2012-07-19. | |
// wtfpl | |
// | |
# /bin/sh | |
case $1 in | |
start) | |
/Applications/MAMP/bin/startMysql.sh | |
/Applications/MAMP/bin/startApache.sh | |
;; | |
stop) | |
/Applications/MAMP/bin/stopMysql.sh | |
/Applications/MAMP/bin/stopApache.sh |
// the shortest strlen function | |
function cc($s){ | |
if(($ss = substr($s,1))!='') return 1+cc($ss); | |
else return 1; | |
} |
<h2>Rôles et auteurs</h2> | |
<B_equipe> | |
<ul> | |
<BOUCLE_equipe(projets_liens){id_projet}> | |
<BOUCLE_equipe_auteur(AUTEURS){tous}{id_auteur=#ID_OBJET}> | |
<li> | |
<a href="#URL_AUTEUR">#NOM</a> | |
[((#_equipe:ROLE|role{auteur}))] | |
</BOUCLE_equipe_auteur> | |
</li> |
navigator.mediaDevices.getUserMedia ({ | |
"audio": true, | |
"video": { | |
width: 640, | |
height: 360, | |
facingMode: "user" | |
} | |
}).then( | |
gotStream | |
).catch( |
On my dev server
##Install git
su
apt-get install git-core
##Create ssh directory since it doesn't exists by default on the Amazon AMI