Skip to content

Instantly share code, notes, and snippets.

View maicong's full-sized avatar
⚠️

ERR_INVALID_USER maicong

⚠️
View GitHub Profile
AutoClick = {};
AutoClick.keydown = function(k) {
var oEvent = document.createEvent('KeyboardEvent');
Object.defineProperty(oEvent, 'keyCode', {
get : function() {
return this.keyCodeVal;
}
});
Object.defineProperty(oEvent, 'which', {
@TimothyZhang023
TimothyZhang023 / upgrade_php7_amh.sh
Created February 5, 2015 02:48
upgrade_php7_dev
#!/bin/bash
PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:~/bin
export PATH
# Check if user is root
if [ $(id -u) != "0" ]; then
echo "Error: You must be root to run this script, please use root to install lnmp"
exit 1
fi
301 https://github.com/zxdrive/imouto.host