Skip to content

Instantly share code, notes, and snippets.

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

Tuan Pham atuanpham

🏠
Working from home
View GitHub Profile
@atuanpham
atuanpham / [MySQL] Reset root's password.md
Created June 8, 2016 06:31
Reset root's password when the password is expired.
  • Stop mysqld service

  • Add to /etc/my.cnf with the following option:

skip-grant-tables
  • Start mysql

  • Connect to the mysql server using mysql client:

@atuanpham
atuanpham / OALD8.txt
Last active August 29, 2015 14:26
Install Oxford Dictionary in Ubuntu 14.04 LTS 64 bit and address sound problem.
--- Install missing packages:
sudo apt-get install libgtk2.0-0:i386 libidn11:i386 libglu1-mesa:i386 libpangox-1.0-0:i386 libpangoxft-1.0-0:i386
--- Install OALD8:
linux32 setup.sh
--- Address sound problem:
cd ~/oald8/plugins
mv libflashplayer.so libflashplayer.so.old
mkdir flash9