Get to menu items without using the mouse and a keyboard shortcut instead.
Remove Amazon ads from Ubuntu 12.10
Open a terminal and run the following command:
sudo apt-get remove unity-lens-shopping
Installing VirtualBox Additions for Debian
Login as root
$apt-get update
$apt-get upgrade
$apt-get install build-essential module-assistant
$m-a prepare;
Click on Guest Additions to mount CD-ROM
$bash /media/cdrom/VBoxLinuxAdditions.run
Count words in a file
This command will do the trick
uniq -c file-to-count.txt
Problem with Outlook on Mac Mail
Could not delete an email message. I was actually already deleted but it kept showing up on mail and could not be deleted. Solution was to rebuild the email.
"mailbox, rebuild" fixed the problem.
Installing iPad application ad hoc
Local copy of site notes: Wireless AdHoc Distribution for iOS Applications.pdf
Use the following link for additional research:
http://gknops.github.com/adHocGenerate/
FileMerge comes with xedit
There is a single file compare utility that comes when installing xedit, and it's called FileMerge. You can find it in spotlight.
Curl without proxy
Example:
curl http://webdev --noproxy webdev
Works better behind firewall with proxy:
wget --proxy-user=xxx --proxy-password=\$escape-dollar-signed-passwords http://google.com
Ubuntu Firewall Fix in Virtualbox
The following was done to allow Ubuntu 10.10 access to repositories through firewall, confirmed to work for Ubuntu 12.04
1. Update proxy configurations
1.1. System, Preferences, "Network Proxy", "Manual Proxy Configurations", "Use the same...", "Apply System Wide..."
1.2. System, Administration, "Synaptic Package Manager", "Settings", "Preferences", "Network", "HTTP Proxy:"
2. edit the following file: /etc/apt/apt.conf as sudo su
You should already see the proxy settings from previous steps; however, it is missing your credentials, these need added and the appliance needs restarted.
Format is as follows:
Acquire::http::proxy "http://user:pass@proxy.xxxx.xxxx:port";
3. You will need to restart before these changes start working
Note: Do not bother editing /etc/bash.bashrc it does not help anymore
Awk statments to find line lengths
Use this to get a file of bad records:
awk 'length < 517' SBN_GIFT_MANIFEST_20130209_234013.TXT > BAD-RECORDS-SBN_GIFT_MANIFEST_20130209_234013.txt
This gives you a quick count:
awk 'length < 517' SBN_GIFT_MANIFEST_20130209_234013.TXT | wc -l

