Pangdu - pangdu.com - PANGDU 胖嘟

Latest News:

vim search non-greedy 24 Aug 2013 | 02:11 am

Instead of .* use .\{-}.

php Turn on output buffering 14 Aug 2013 | 10:15 am

ob_start(); $buffer = ob_get_clean();

Migrate mysql users to another server 15 May 2013 | 11:01 am

ERROR 1577 (HY000) at line 1: Cannot proceed because system tables used by Event Scheduler were found damaged at server start ERROR 1547 (HY000) at line 1: Column count of mysql.proc is wrong. Expecte...

Rsync and sudo over SSH 15 May 2013 | 05:35 am

backup_user ALL=(root)NOPASSWD:/usr/bin/rsync rsync --rsync-path="sudo rsync" backup_user@myhosttobackup.net:/root /backup_directory

debian Add a second hard disk 14 May 2013 | 03:01 pm

fdisk -l cfdisk /dev/sdb mkfs.ext3 /dev/sdb1 mkdir /disk2 mount -t ext3 /dev/sdb1 /disk2 /etc/fstab /dev/sdb1 /disk2 ext3 defaults,errors=remount-ro 0 1 

error: 'Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' 14 May 2013 | 02:13 pm

error: 'Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' in my case my solution is simply comment out skip-bdb Berkeley DB is no longer in 5.1x, so the option doesn't ...

debian no sound 22 Apr 2013 | 10:46 am

lsof /dev/snd/* to find out what program are using sound device, some program might be hanging causing sound not to function

linux grep and sed to find through files and replace a string 11 Apr 2013 | 05:07 am

grep -rl oldstring path | xargs sed -i 's/oldstring/newstring/g find /path -type f -exec sed -i 's/oldstring/newstring/g' {} \;

Related Keywords:

apt-get update, w: gpg error:, no_pubkey, no_pubkey apt-get, no_pubkey aed4b06f473041fa, grub2 change default, adding fields on magento account create, sudo rm -rf, export cms pages, linux untar gz with permissions

Recently parsed news:

Recent searches: