Skip to content

Instantly share code, notes, and snippets.

View HZooly's full-sized avatar
🐇

Hugo Torzuoli HZooly

🐇
View GitHub Profile
# 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
@HZooly
HZooly / settings.json
Last active February 27, 2020 10:12
VSCode Settings
{
"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,
@HZooly
HZooly / example.php
Created January 2, 2018 14:34
PDO JSON
<?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);