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
# Aliases loading | |
alias aliases='vim ~/.bash_profile' | |
alias aliases_reload='source ~/.bash_profile' | |
# System Changes | |
alias ls='ls -la' | |
# Composer | |
export PATH="$PATH:$HOME/.composer/vendor/bin" | |
export PS1="\W >> \[$(tput sgr0)\]" |
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
<?php | |
class Gallery | |
{ | |
public $data; | |
public function setUp($imagePath) | |
{ | |
$data = file_get_contents($imagePath . 'portfolio.json'); | |
$this->data = json_decode($data, true); | |
$this->images = glob($imagePath . '*.{jpg,png,gif}', GLOB_BRACE); |
NewerOlder