Skip to content

Instantly share code, notes, and snippets.

View gurindergithub's full-sized avatar

Gurinder Singh gurindergithub

View GitHub Profile
@gurindergithub
gurindergithub / _gar.php
Created November 25, 2019 08:00
teleprogroup.com spam filter file
<?php
header("Content-type: text/plain");
require_once __DIR__ . "/wp-load.php";
function pr($e) {
print_r($e);
}
function vd($e) {
var_dump($e);
}

Startup steps for AWS Cloud9

These are the startup steps for AWS Cloud9. The Platform should be set to Ubuntu Server 18.04 LTS.

Git Config and global .gitignore file

  • Setup the git configuration variables
     git config --global user.name "Gurinder Singh"
     git config --global user.email "gurinder.phpdeveloper+git@gmail.com"
     git config --global core.excludesfile "~/.gitignore"
     git config --global color.ui true