Skip to content

Instantly share code, notes, and snippets.

View Elamurugan-Nallathambi's full-sized avatar

Elamurugan Nallathambi Elamurugan-Nallathambi

  • Cognizant Technology Solutions
  • Charlotte, NC
  • LinkedIn in/elamurugan
View GitHub Profile
<?php
class ProtectedClass
{
public function execute($called)
{
echo 'Called ProtectedClass from ' . $called . PHP_EOL;
}
}
@Elamurugan-Nallathambi
Elamurugan-Nallathambi / sync_log_report_files.sh
Last active December 22, 2020 05:13
Copies log & report from root user level to non root user home directory
#!/bin/bash
#get latest raw version of https://gist.github.com/Elamurugan-Nallathambi/7043becbe6f0b5eab2c3fecc2a7213bf
#curl -s https://gist.github.com/Elamurugan-Nallathambi/7043becbe6f0b5eab2c3fecc2a7213bf/raw/ca1b901b8ca98a88b4f09649231765441c599016/sync_log_report_files.sh | bash -s -- /var/www/html/vusevapor.com/htdocs
domain_home=${1:-none}
if [ "$domain_home" = "none" ]; then
exit 1
@Elamurugan-Nallathambi
Elamurugan-Nallathambi / ALTERNATIVES.adoc
Created May 26, 2020 01:52 — forked from mbbx6spp/ALTERNATIVES.adoc
Super quick list of alternatives to Jira and/or Confluence, Stash, Crucible, etc.