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
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" |
Keymap file (pour récupérer la parenthèse fermante)
'atom-workspace atom-pane':
'ctrl-alt-=': 'unset!'
activer le chevron
fn + F2
Les différents socles techniques sont publiés sur la plateforme en ligne 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:
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
git checkout master | |
git pull | |
git add . | |
git commit -m '$0' | |
git push | |
git checkout release | |
git pull | |
git merge master | |
npm run build |
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
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) | |
} |
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
/** | |
<FileUpload> | |
{this.fieldFor('maProp')} | |
</Fileupload> | |
*/ | |
module.exports = React.createClass({ | |
render: function() { | |
return ( | |
<form method='post' action={this.props.action} encType="multipart/form-data"> |
Regular expression are used for many things. It whould be complex to write code to check validation.
There is two part:
- The string to search in
- The regular expression
- Regular erxpression starts and end with a
//
- The operator OR is
|
- It can matches letter or number or special character
- There are used mainly for validation, searching, formatting
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
npm install --save-dev [email protected] babel-eslint eslint-plugin-react |