Skip to content

Instantly share code, notes, and snippets.

Vladimir Tsyupko vladimirtsyupko

Block or report user

Report or block vladimirtsyupko

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
vladimirtsyupko / protocolcheck.js
Created Mar 17, 2016
protocolcheck.js with successCallback
View protocolcheck.js
(function (window) {
function _registerEvent(target, eventType, cb) {
if (target.addEventListener) {
target.addEventListener(eventType, cb);
return {
remove: function () {
target.removeEventListener(eventType, cb);
vladimirtsyupko / gist:10964795
Created Apr 17, 2014
Git ignore doesn’t work
View gist:10964795
git rm -r --cached .
git add .
git commit -m ".gitignore is now working"
vladimirtsyupko / gist:10964772
Created Apr 17, 2014
Git force pull to overwrite local files
View gist:10964772
git fetch --all
git reset --hard origin/master
git pull origin master
View gist:10964740
touch script
chmod 777 script
nano script
Put this to script “
export PATH="/usr/local/bin:/usr/bin:/bin"
cd `dirname $0`
exec "$@"
env EDITOR=nano crontab -e
You can’t perform that action at this time.