Skip to content

Instantly share code, notes, and snippets.

const TTW = 3 * 1000;
//Appel réccursif
let waitForSyncho = (cb, err)=>{
let checkIsOk = ()=>{
svcIsOk().then((data)=>{
if(data.status === true){
cb(true);
}else{
setTimeout(checkIsOk, TTW)
}
git checkout master
git pull
git add .
git commit -m '$0'
git push
git checkout release
git pull
git merge master
npm run build
@pierr
pierr / github.md
Last active September 14, 2015 15:20

Les différents socles techniques sont publiés sur la plateforme en ligne Github.

Github ?

Github est une plateforme d'hébergement online de projet de développement de logiciel avec une offre :

  • Payante pour les projets privés
  • Gratuite pour les projets open source

Exemple de projet:

image

activer le chevron fn + F2

@pierr
pierr / atom.md
Created September 18, 2015 09:53

Keymap file (pour récupérer la parenthèse fermante)

'atom-workspace atom-pane':
 'ctrl-alt-=': 'unset!'
@pierr
pierr / .bash_profile
Last active September 23, 2015 08:49 — forked from Bernardstanislas/.bash_profile
Bash profile
export PYTHONPATH=/c/Python27/
export GYP_MSVS_VERSION=2015
# Environment variables
export ATOM_NODE_URL=http://gh-contractor-zcbenz.s3.amazonaws.com/atom-shell/dist
GIT="/c/Program Files/Git/bin;/c/Program Files/Git/mingw64/libexec/git-core"
PATH="$GIT;$PATH"
# Variables
GATEWAY="$(ipconfig | grep -a Passerelle | grep -P -o -a '([0-9]+\.){3}[0-9]+')"
PROXY="http://172.20.0.9:3128"
KLEE_GATEWAY="172.20.231.1"
@pierr
pierr / focus-images.md
Last active November 2, 2015 12:50
focus images

legocity macbook

team

Keybase proof

I hereby claim:

  • I am pierr on github.
  • I am pierr (https://keybase.io/pierr) on keybase.
  • I have a public key whose fingerprint is 8FF8 DBD2 33C2 8A0E F420 D4FC 1A4E E3BB E622 1BE9

To claim this, I am signing this object:

@pierr
pierr / form.md
Last active November 26, 2015 09:07
form-spec

The page, the forms , the stores, the definition...

Actual spec

When you have a page to create you have to do something like that:

React.createClass({
  render() {
        <ScrollSpy>