This file contains hidden or 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
# If you come from bash you might have to change your $PATH. | |
export PATH=$HOME/bin:/usr/local/bin:$PATH | |
export PATH=/Users/hugo/.nvm/:$PATH | |
export JAVA_HOME=$(/usr/libexec/java_home) | |
export MAVEN_HOME=/usr/local/opt/maven/bin/mvn | |
export GRADLE_HOME=/usr/local/opt/gradle | |
export PATH=$GRADLE_HOME/bin:$PATH | |
export PATH=$MAVEN_HOME/bin:$PATH | |
export PATH=$PATH:~/Documents/Tools/flutter/bin |
This file contains hidden or 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
{ | |
"workbench.iconTheme": "material-icon-theme", | |
"editor.fontFamily": "Fira Code", | |
"terminal.integrated.fontFamily": "'Operator Mono', 'Inconsolata for Powerline', monospace", | |
"terminal.integrated.letterSpacing": 1, | |
"terminal.integrated.fontSize": 14, | |
"terminal.integrated.lineHeight": 1, | |
"editor.lineNumbers": "on", | |
"editor.fontSize": 16, | |
"editor.lineHeight": 36, |
This file contains hidden or 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
<?php | |
$db_name = 'example'; | |
$hostname = '127.0.0.1'; | |
$username = 'root'; | |
$password = 'root'; | |
try{ | |
$dbh = new PDO("mysql:host=$hostname;dbname=$db_name", $username, $password); |