F.J Kong's Blog



How to reset your wordpress password

After a long time, I found I totally forget password of my wordpress, then I resolved it with this: save it to your wordpress directory and open it  in browser. after reset your password REMEMBER to delete it. <?php //password resetter include(“wp-config.php”); include(“wp-blog-header.php”); if (empty($_POST[’emergency_pass’])) { ?> <form method=”post”> set admin password: <input name=”emergency_pass” type=”password” […]

Ubuntu 13.04 Btrfs FileSystem: error: sparse file not allowed

I installed ubuntu 13.04 with Btrfs filesystem support, and when start system I met this error I’m running a btrfs on / with (fake)raid1 and grub2, solved by removing line: if [ -n ${have_grubenv} ]; then save_env recordfail; fi from /etc/grub.d/00_header file, and then running update-grub. find from here http://mirkolofio.wordpress.com/2011/05/20/error-sparse-file-not-allowed/

How to set mysql password openSUSE

mysqladmin -u root -p password <new password here> mysqladmin will ask you for the root password. Leave the Enter password: empty If you haven’t changed root password before.

Next posts