Skip to content

Instantly share code, notes, and snippets.

View perudesarrollo's full-sized avatar

Max Palomino Mendoza perudesarrollo

View GitHub Profile
@bad-mushroom
bad-mushroom / post-receive deploy
Created March 28, 2014 23:11
post-receive hook for deploying site based on branch. "master" is pushed to the production site, "development" to the test site.
#!/bin/bash
echo '--- --- --- --- --- --- --- --- --- --- ---'
echo 'Deploying site...'
echo '--- --- --- --- --- --- --- --- --- --- ---'
if ! [ -t 0 ]; then
read -a ref
fi
IFS='/' read -ra REF <<< "${ref[2]}"
@perudesarrollo
perudesarrollo / gist:2e5f13e74670a27a58ca
Created November 3, 2015 16:41 — forked from jiggneshhgohel/gist:ade2c57d03c4ad895e82
Adobe Air 2.6 Installation Steps on Ubuntu 14.04 (64-bit)
@zubaer-ahammed
zubaer-ahammed / Reset MySQL Root Password in Mac OS.md
Last active July 23, 2024 07:29
Reset MySQL Root Password in Mac OS

Reset mysql root password in Mac OS:

First Stop MySQL:

  1. Go to: 'System Preferences' >> 'MySQL' and stop MySQL

OR,

  1. sudo /usr/local/mysql/support-files/mysql.server start
  2. sudo /usr/local/mysql/support-files/mysql.server stop
@zthxxx
zthxxx / Activate Office 2019 for macOS VoL.md
Last active July 23, 2024 19:37
crack activate Office on mac with license file