{{dynamic-template source=htmlbarsTemplateStingHere}}
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
# | |
# 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 |
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
# 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 |
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
# 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 |
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
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 |
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
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 | |
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 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 |
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
# Testing PHP Random Salt Generation | |
## Functions for generating salt | |
### mt_rand() | |
``` | |
function mtSalt ($length = 22) | |
{ | |
mt_srand(); | |
$chars = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789./'; | |
$salt = ''; |