Skip to content

Instantly share code, notes, and snippets.

View jbh's full-sized avatar
🥑
Living my best life.

Yeshua Hall jbh

🥑
Living my best life.
View GitHub Profile
@phpdave
phpdave / Get the PHP Source and prerequisite binaries, run configure and make to compile.sh
Last active April 17, 2019 01:51
DISCLAIMER Note: this is currently is a draft and is not meant to be used yet. Many things that I'm looking to clean up and simplify. There may be things that don't work so only do this on a development system that you aren't worried about it being fubar'd
#DISCLAIMER: this is currently is a draft and is not meant to be used yet. Many things that I'm looking to clean up and simplify. There may be things that don't work so only do this on a development system that you aren't worried about it being fubar'd
#Download PHP source code and change directories to the downloaded src. This is a dev version of PHP. git.php.net is official. http://www.github.com/php/php-src is mirror
git clone http://git.php.net/repository/php-src.git && cd php-src
#Alternative get a certain branch (version), the default is the master branch which is development
#git clone -b PHP-5.6.7 http://git.php.net/repository/php-src.git
#specific to litmis space not having the includes on a fresh container
#local
scp qopensys-usr-include.tar.gz [email protected]:~
// This will open up a prompt for text to send to a console session on digital ocean
// Useful for long passwords
(function () {
var t = prompt("Enter text to be sent to console, (This wont send the enter keystroke)").split("");
function f() {
var character = t.shift();
var i=[];
var code = character.charCodeAt();
var needs_shift = "!@#$%^&*()_+{}:\"<>?~|".indexOf(character) !== -1