Lately I'll need to add some space to Ubuntu, but it was installed in VMware. And the following method could be the same for the actual desktop. Find a CD that has Ubuntu image burned in, i.e. a boot up CD. Reboot the device to CD-loaded Ubuntu - click "try without installing" Run "gParted" Locate "Extended… Continue reading How to extend primary partition size in Ubuntu
Tag: tip
VPS Setup Record - LAMP
LAMP = Linux + Apache + MariaDB + PHP Install Apache yum -y install httpd Before doing any modifications, you might want to make a copy of important files like: mkdir /etc/httpd_bak cp -R /etc/httpd /etc/httpd_bak Now setup the first webpage: vim /etc/httpd/conf.d/happyz.me.conf
Get rid of grid in Matlab "surf"
Recently I need to look at the antenna beam and show the RSS while steering the beam in various angles. The results are stored in a matrix and I'll need to surf it. The black grids are really annoying.. To get rid of it, just assign either LineStyle or EdgeColor to none. For instance, surf(X,Y,Z,'LineStyle','none','EdgeColor','none').