Skip to content

Instantly share code, notes, and snippets.


Chris Ramacciotti christherama

View GitHub Profile
#!/usr/bin/env bash
# ==========
# A little utility to open a web browser to the github page for a given file at
# an optional line number, taking into account current git revision. This
# script is handy in coordination with your favorite text editor. Ever look at
# some code and wish you could quickly send your buddy a URL of exactly what
# you're seeing? Just map to a keyboard shortcut. For best results
# add to a directory in your $PATH.
oxguy3 / deploy.php
Last active Jun 19, 2021
Script used to automatically deploy from GitHub to a cPanel shared hosting server
View deploy.php
* deploy.php by Hayden Schiff (oxguy3)
* Available at
* No rights reserved. Dedicated to public domain via CC0 1.0 Universal.
* See for terms.
// random string of characters; must match the "Secret" defined in your GitHub webhook