DEPRECATED
View Testing PHP Random Salt Generation
# Testing PHP Random Salt Generation | |
## Functions for generating salt | |
### mt_rand() | |
``` | |
function mtSalt ($length = 22) | |
{ | |
mt_srand(); | |
$chars = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789./'; | |
$salt = ''; |
View Composer Copy
php copyToVendor.php project_one project_two | |
Will copy project_one's source and put it into project_two's vendor folder under the namespace/package from composer.json |
View Coding Standards for Lazy PHP Devs
export PATH=~/.composer/vendor/bin:$PATH | |
composer global require "squizlabs/php_codesniffer=*"; | |
# Check and Beautify | |
# - Ignore some commonly ignored things (composer folder, blade templates, ...) | |
phpcs ./ --ignore=test-reports,vendor,*.blade.php --standard=psr2,psr1 --report=summary | |
phpcbf ./ --ignore=test-reports,vendor,*.blade.php --standard=psr2,psr1 --report=summary | |
View Gmail Filter For Recruiters
from:(@progressivege.com OR @onezeero.co.uk OR @damiagroup.com OR @ontheshortlist.co.uk OR @searchability.co.uk OR @ascentpeople.co.uk OR @s-sa.co.uk OR @jobstheword.com OR @tyba.com OR @evosearch.co.uk OR @recann.co.uk OR @rebelrecruitment.co.uk OR @x4group.co.uk OR @yoh.com OR @broadbean.net OR @redskyrecruitment.co.uk OR @xpertise-recruitment.com OR @progressiverecruitment.com OR @linuxrecruit.co.uk OR @unitingambition.com OR @avantirec.com OR @techmodi.net OR @vantageconsulting.co.uk OR @erg-uk.com OR @gsatechsource.com OR @explorerec.com OR @monarchrecruitment.co.uk OR @marinsoftware.com OR @rtrs.co.uk OR @bettercareers.co.uk OR @yolkrecruitment.com OR @jp-jobs.com OR @mobilecontractor.co.uk OR @spring.com OR @senitor.com OR @monarchit.co.uk OR @exploreltd.com OR @lorien.co.uk OR @interactconsulting.co.uk OR @computerpeople.co.uk OR @modis.co.uk OR @evolutionjobs.co.uk OR @lainternational.com OR @project-it.co.uk OR @oscar-associates.com OR @bigredrecruitment.co.uk OR @venturi-group.com OR @jamrecruitmen |
View .gitignore_global
# Save this file to ~/.gitignore_global | |
# Run: git config --global core.excludesfile ~/.gitignore_global | |
############################################################################# | |
# OSX: https://github.com/github/gitignore/blob/master/Global/OSX.gitignore # | |
############################################################################# | |
*~ | |
.DS_Store | |
.AppleDouble | |
.LSOverride |
View 14.04-bloat-packages
# Purge the following packages | |
account-plugin-aim | |
account-plugin-facebook | |
account-plugin-flickr | |
account-plugin-jabber | |
account-plugin-salut | |
account-plugin-twitter | |
account-plugin-windows-live | |
account-plugin-yahoo |
View README.md
How to use
{{dynamic-template source=htmlbarsTemplateStingHere}}
View setup.sh
# | |
# 1. Create Counterparty wallet: https://counterwallet.io/ | |
# 2. Docs: https://github.com/Storj/storjshare-daemon/ | |
# Firewall! | |
sudo ufw default allow; | |
sudo ufw enable; | |
sudo ufw allow 22/tcp; | |
sudo ufw allow 4000:4003/tcp |