sudo yum update
sudo yum install git
git clone https://gist.github.com/2776679.git
chmod 777 install-redis.sh
./install-redis.sh
sudo yum update
sudo yum install git
git clone https://gist.github.com/2776679.git
chmod 777 install-redis.sh
./install-redis.sh
/** | |
* Asset Management app | |
* | |
* Write an asset management app. Lets keep track of Dynamit's | |
* electronic assets. People can borrow them shortly or forever. | |
* We should get notifications for when we are low on supplies, | |
* returns are late. They should be organized. | |
*/ |
/** | |
* Projects | |
* | |
* Generate and display projects based on a database. | |
* Keeps track of clients, skills used, orther project details. | |
*/ |
/** | |
* Generate a form | |
* | |
* Should be able to support text, radio, checkbox, select | |
* Submit and Disable | |
* ids, classes, data attributes | |
*/ |
class SkillFilter { | |
constructor() { | |
this.DOM = { | |
skillCards: document.querySelectorAll('[data-skill-card]'), | |
skillFilters: document.querySelectorAll('[data-skill-filter]'), | |
} | |
this.currentFilter = null; | |
} |
Related Setup: https://gist.github.com/hofmannsven/6814278
Related Pro Tips: https://ochronus.com/git-tips-from-the-trenches/
#!/usr/bin/env bash | |
# names of latest versions of each package | |
export VERSION_PCRE=pcre-8.40 | |
export VERSION_OPENSSL=openssl-1.0.2l | |
export VERSION_NGINX=nginx-1.10.3 | |
# URLs to the source directories | |
export SOURCE_OPENSSL=https://www.openssl.org/source/ | |
export SOURCE_PCRE=ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/ |
# shortform git commands | |
alias g='git' | |
# push changes to an empty git repository for the first time | |
git push --set-upstream origin master | |
# clear out git hooks | |
find .git/hooks -type l -exec rm {} \; && find .githooks -type f -exec ln -sf ../../{} .git/hooks/ \; | |
# remove untracked files in a git repository |
.modal-footer .btn + .btn, | |
.modal-footer .danger-button + .btn, | |
.modal-footer .address-book .address-book-wrapper .address-edit-form .cancel-button + .btn, | |
.address-book .address-book-wrapper .address-edit-form .modal-footer .cancel-button + .btn, | |
.modal-footer .address-book .address-book-wrapper .address-edit-form .address-book-table .make-default-button + .btn, | |
.address-book .address-book-wrapper .address-edit-form .address-book-table .modal-footer .make-default-button + .btn, | |
.modal-footer .address-book-table .address-book .address-book-wrapper .address-edit-form .make-default-button + .btn, | |
.address-book-table .address-book .address-book-wrapper .address-edit-form .modal-footer .make-default-button + .btn, | |
.modal-footer .address-book .address-book-wrapper .address-edit-form .address-book-table .remove-button + .btn, | |
.address-book .address-book-wrapper .address-edit-form .address-book-table .modal-footer .remove-button + .btn, |
/** | |
* Returns various parts of an email address | |
* | |
* @param string $email | |
* Given $email 'john.smith@gmail.com' | |
* @return array || false | |
* 'user' => 'john.smith' | |
* 'end' => 'gmail.com' | |
* 'domain' => 'gmail', | |
* 'tld' => 'com', |