iptables -t nat -A POSTROUTING -p tcp --dport 25 -j SNAT --to-source xx.xx.xx.xx https://nixtree.com/blog/change-outgoing-ip-address-for-smtp-using-iptables/
change root password on mysql
sudo service mysql stop
sudo mysqld_safe --skip-grant-tables --skip-syslog --skip-networking
then run mysql in a new terminal
mysql -u root
and run the following query, after changing the password
UPDATE mysql.user SET Password=PASSWORD('password') WHERE User='root';
FLUSH PRIVILEGES;
quit the mysql safe mode and start mysql service by
mysqladmin shutdown
sudo service mysql start
http://stackoverflow.com/questions/10895163/how-to-find-out-the-mysql-root-password
	Fix wireshark freezes on ubuntu 14.04
https://ask.wireshark.org/questions/39983/wireshark-freezes
Install OpenWRT on ASUS RT-N13U B1 and configure Hilink 4G modem
1 – Dowload firmware and upload over tftp
http://wiki.openwrt.org/toh/asus/rt-n13u
http://luizluca.blogspot.com.br/2012/01/openwrt-turbine-seu-roteador-instalando.html
2 – install luci
http://wiki.openwrt.org/doc/howto/luci.essentials
3 – Install kernel drivers for usb thetering
https://www.google.com.br/search?client=ubuntu&channel=fs&q=cdc_ether+param&ie=utf-8&oe=utf-8&gfe_rd=cr&ei=nuKAVZOYAdCJhASt04CwBQ#channel=fs&q=cdc+ether+openwrt
https://downloads.openwrt.org/snapshots/trunk/ramips/rt305x/
https://downloads.openwrt.org/snapshots/trunk/ramips/rt305x/packages/base/
http://wiki.openwrt.org/doc/howto/usb.tethering
upload tcpdump file to ftp server
tcpdump -w - | curl -u FTPUSER:FTPPASS ftp://ftpserver/where/ever/dump.pcap -T -
For wireshark format:
tcpdump -s 65535 -w - | curl -u FTPUSER:FTPPASS ftp://ftpserver/where/ever/dump.pcap -T -
ssh user@host "tcpdump -i tap0 -w -" | wireshark -k -i -
https://www.wireshark.org/docs/wsug_html_chunked/AppToolstcpdump.html
http://unix.stackexchange.com/questions/28188/how-to-upload-tcpdumps-in-realtime-to-ftp
	SSH Tunneling Made Easy
ssh -f user@personal-server.com -L 2000:personal-server.com:25 -N
http://www.revsys.com/writings/quicktips/ssh-tunnel.html
	ubuntu 14.04 tips
Transform Ubuntu 14.04 to look like Mac
http://www.noobslab.com/2014/04/macbuntu-1404-pack-is-released.html
http://www.noobslab.com/2014/11/mbuntu-macbuntu-1410-transformation.html
Remove anchor icon from docky
gconftool-2 --type Boolean --set /apps/docky-2/Docky/Items/DockyItem/ShowDockyItem False
Installing Java 8 on Ubuntu via ppa
http://tecadmin.net/install-oracle-java-8-jdk-8-ubuntu-via-ppa/
Install Google chrome via ppa
wget -q -O – https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add –
sudo sh -c ‘echo “deb http://dl.google.com/linux/chrome/deb/ stable main” >> /etc/apt/sources.list.d/google-chrome.list’
sudo apt-get update
sudo apt-get install google-chrome-stable
http://www.howopensource.com/2011/10/install-google-chrome-in-ubuntu-11-10-11-04-10-10-10-04/
How to install xrdp in Ubuntu 14.04
sudo apt-get install xrdp
sudo apt-get update
sudo apt-get install mate-core mate-desktop-environment mate-notification-daemon
echo mate-session >~/.xsession
sudo service xrdp restart
Install imapsync ubuntu 12.04
http://teamflawless.org/2012/installing-and-using-imapsync-on-ubuntu/
after this tutorial, run this:
sudo apt-get install libio-tee-perl libunicode-string-perl
Enabling NPAPI in Chrome Version 42 and later
As of Chrome Version 42, an additional configuration step is required to continue using NPAPI plugins.
- In your URL bar, enter:
chrome://flags/#enable-npapi - Click the Enable link for the Enable NPAPI configuration option.
 - Click the Relaunch button that now appears at the bottom of the configuration page.
 
Developers and System administrators looking for alternative ways to support users of Chrome should see this blog, in particular “Running Web Start applications outside of a browser” and “Additional Deployment Options” section.
http://java.com/en/download/faq/chrome.xml#npapichrome
