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
//instalation sur linux | |
sudo apt-get install git | |
//for ui git in terminal | |
curl -L http://install.ohmyz.sh | sh | |
//télécharger git | |
http://git-scm.com/downloads | |
//interface pour gérer git |
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
<snippet> | |
<content><![CDATA[ | |
class ${1:className} { | |
//variable instance | |
private \$${2:val}; | |
//constructeur | |
function __construct(\$${2:val}){ |
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
<snippet> | |
<content><![CDATA[ | |
//Getter ${1:val} | |
public function get${1/(?:^|_)(\w)/\U$1$2/g$1}(){ | |
return \$this->${1:val}; | |
} | |
//Setter ${1:val} | |
public function set${1/(?:^|_)(\w)/\U$1$2/g$1}(\$${1:val}){ | |
\$this->${1:val} = \$${1:val}; |