Loading Search...

Thursday, October 29, 2009

gigya toolbar, a wibiya toolbar alternative

just add this into your web/blog html, optionally get your own partner id and you got yourself a gigya toolbar:



or if you're using blogspot, just click on 'Add to blogger' icon:


--
tips & tricks on computers and gadgets
denny on IT ; let's doIT
documenting the brain

Saturday, October 10, 2009

the perfect mysql backup

this is the perfect mysql backup tool for me.


how to use it:
  • create LocalUserWithMinimalReadOnlyRight on mysql with your favourite tool. i only give it SELECT, RELOAD, LOCK TABLES privileges.
  • download backup-mysql.logrotate, edit the file, change the username and password
  • put the files in /etc/logrotate.d/
  • run this for the very first time:
for i in `mysql --batch -e 'show databases' | tail -n +2`; do
if [ ! -e /bak/mysql/$i ]; then mkdir -m 700 /bak/mysql/$i; fi
mysqldump --opt -u LocalUserWithMinimalReadOnlyRight $i | gzip -c > /bak/mysql/$i/$i.sql.gz
done

that's it. i will creates 5 daily backup, 4 weekly backup and 3 monthly backup.
for best result, make sure you put your backup on separate drive or even on a separate network/country/planet...

--
tips & tricks on computers and gadgets
denny on IT ; let's doIT
documenting the brain

Friday, October 09, 2009

Google Chrome native builds for mac and linux

so you've been trying all possible ways to get google chrome installed in your mac and linux?

now you can get the native builds from google early access release. it's unreleased, beta and developer channel.

  • google chrome for mac
  • debian package for linux
and if you install the debian package on debian/ubuntu, it will also install google chrome repo to make sure you always get updated version of google chrome.


and if you want better privacy and using ubuntu, you can use chromium daily builds.
add this to your /etc/apt/source.list
deb http://ppa.launchpad.net/chromium-daily/ppa/ubuntu hardy main
# replace hardy with jaunty or whatever your ubuntu version is


personally, i hate 'daily' stuffs that i feel the need to update everyday...


after you get google chrome installed, check out some cool and hot themes to dress-up your browser.
--
tips & tricks on computers and gadgets
denny on IT ; let's doIT
documenting the brain