Skip to content

Instantly share code, notes, and snippets.

View avxkim's full-sized avatar
🏠
Working from home

Alexander Kim avxkim

🏠
Working from home
View GitHub Profile
@avxkim
avxkim / nginx
Last active October 30, 2017 14:19
Example: You have site under domain proxy.com, you want to show website from mirror.com on that domain, you can do the following code to make it work.
server {
listen 80;
server_name mirror.com www.mirror.com;
location / {
proxy_pass http://mirror.com;
proxy_set_header Host mirror.com;
}
}
conv workflow:delcache
GRANT GRANT OPTION ON *.* TO 'new_user'@'localhost';
@avxkim
avxkim / instruction.sh
Created February 6, 2018 05:10
Full instructions
Here's full instructions:
1. Go to your Mac HD/Applications folder and move your World of Warcraft to the Trash
2. Go to your Mac HD/Users/Shared folder and move the Blizzard folder to the Trash
3. Go to your Mac HD/Users/your account/Library/Preferences and delete any files associated with WOW:
(You might not have all of these files.)
- com.blizzard.downloader.plist
- com.blizzard.Downloader.prefs
- com.blizzard.errorreporter.plist
@avxkim
avxkim / test.sh
Created February 17, 2018 15:15
High Sierra 10.13, you can just left-click once to highlight the offending entry, then tap the <DEL> key (not backspace, forward-delete) to remove it.
_
sudo mv composer.phar /usr/local/bin/
vi ~/.bash_profile
alias composer="php /usr/local/bin/composer.phar"
Here's full instructions:
1. Go to your Mac HD/Applications folder and move your World of Warcraft to the Trash
2. Go to your Mac HD/Users/Shared folder and move the Blizzard folder to the Trash
3. Go to your Mac HD/Users/your account/Library/Preferences and delete any files associated with WOW:
(You might not have all of these files.)
- com.blizzard.downloader.plist
- com.blizzard.Downloader.prefs
- com.blizzard.errorreporter.plist
git checkout HEAD fileToDelete
git checkout HEAD fileToDelete