Skip to content

Instantly share code, notes, and snippets.

Fady Khalife Bodom78

  • Frontier Advertising
  • Australia
Block or report user

Report or block Bodom78

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@Bodom78
Bodom78 / readme.md
Created Aug 22, 2018
ANZ eGate Test Credit Cards
View readme.md
Test Card Details To Use
Card Card Number Expiry Sec Code
MasterCard 5123456789012346 05/21 123
MasterCard 5313581000123430 05/21 123
Visa 4005550000000001 05/21 123
Visa 4557012345678902 05/21 123
Amex 345678901234564 05/21 1234
Diners Club 30123456789019 05/21 123
@Bodom78
Bodom78 / dos2unix-directory.md
Created Aug 9, 2016
dos2unix all files in a directory
View dos2unix-directory.md

From your desired directory:

find . -type f -print0 | xargs -0 dos2unix
@Bodom78
Bodom78 / laravel-mongodb-sentinel
Last active Jan 1, 2018
Use the Sentinel 2.x authentication package with Laravel 5.1 and MongoDB
View laravel-mongodb-sentinel
Work in Progress: More testing to be done.
At a glance Authentication, Activation, Throttle, Groups & Permissions seem to
be working.
Downside: Copy and modify files.
Upside: Not really much work to get it up and running.
Assumes you have Laravel 5.1, jenssegers/laravel-mongodb + session addon set up
and your app is namespaced to App/
@Bodom78
Bodom78 / whm-change-document-root.md
Last active Sep 4, 2019
WHM/cPanel - Changing an accounts document root
View whm-change-document-root.md

To properly edit an accounts DocumentRoot go to /var/cpanel/userdata/username/ (replace username with the actual cPanel username for the account), then edit the file domain.com (where domain.com is your primary domain name).

You will see something like this in that file:

documentroot: /home/username/public_html

You will also see the cgi-bin area in this section:

scriptalias:
  -
You can’t perform that action at this time.