Skip to content

Instantly share code, notes, and snippets.

View Jason3S's full-sized avatar

Jason Dent Jason3S

  • Street Side Software
  • Netherlands
View GitHub Profile
@Jason3S
Jason3S / sphp.sh
Created November 13, 2016 11:58 — forked from w00fz/sphp.sh
PHP switcher
#!/bin/bash
# Check if command was ran as root.
if [[ $(id -u) -eq 0 ]]; then
echo "The command \"sphp\" should not be executed as root or via sudo directly."
echo "When a service requires root access, you will be prompted for a password as needed."
exit 1
fi
# Usage
@Jason3S
Jason3S / tslint.json
Created October 19, 2016 11:27
Street Side Software tslint definition.
{
"extends": ["tslint:recommended"],
"rules": {
"class-name": true,
"interface-name": [
true,
"never-prefix"
],
"quotemark": [
true,