MAC OS show/hide hidden files

0

Category:

Show hidden files


1. Open the terminal and type the following command and press enter

     defaults write com.apple.Finder AppleShowAllFiles YES

2. Reopen the finder. (hold alt key and right-click on the finder, hit relaunch)


hide hidden files


Follow similar steps as above, just instead of YES put NO, i.e.,

     defaults write com.apple.Finder AppleShowAllFiles NO

Add google +1 button to your site

0

Category:

It is very easy to add google +1 button to your site. Follow the following steps:

  1. Go to the site  (http://www.google.com/webmasters/+1/button/index.html)
  2. Select the size and type of button (Annotation) you need. 
  3. Go to advance option
  4. Select Asynchronous and put the link of your site
  5. Copy and past < g:plusone > </ g:plusone >
    tag where you want the button to be displayed
  6. Place the < script >
    < /script >
    tag anywhere in the page (best practice is to put it inside the head tag)
  7. Update the meta tag as per your need which enable fast indexing of your page in the search engine.

Install Texmaker with spell checker

0

Category: , ,

To install Texmaker with spell checker follow the following steps:

  1. Go to Ubuntu software centre
  2. Find and install texmaker
  3. Download appropriate dictionary from http://wiki.services.openoffice.org/wiki/Dictionaries
  4. unzip the file
  5. copy the content to /usr/share/texmaker/ (e.g., sudo cp ./Downloads/en_GB/* /usr/share/texmaker/ )
  6. restart texmaker

sound to headphone on ubuntu

0

Category:

edit

gksudo gedit /etc/modprobe.d/alsa-base.conf

insert at the bottom
options snd-hda-intel model=hp-dv5 enable_msi=1

Reboot and test.

Other models to test are:
thinkpad
ideapad
hp_laptop
dell-vostro
olpc-xo-1_5

Adjust alsamixer

pgfplot on ubuntu

0

Category:

$ apt-file search pgfplots.sty

Install mono and monodevelop on ubuntu 10.04

1

Category: ,

Ubuntu 10.04 comes with mono. You can check the mono version using

mono -V

To install MonoDevelop follow the following steps-

  1. Click on "System", "Administration", "Software Sources".
  2. Click on the "Other Software" tab.
  3. Click on "Add...", and enter the line:
    deb http://badgerports.org lucid main
    Screenshot from Software Sources
  4. Click on "Add Source"
  5. Click on "Authentication", then on "Import Key File"
  6. Download this GPG key file, ID 0E1FAD0C, and select it in the "Import Key File" window
  7. Click on "Close", then "Reload" when the pop-up appears. You're all set!
From now on, whenever you try to install or update Mono-related packages on your system, you will be given the badgerports version for preference. You don't need to do anything more than update your system as usual to get started!

Then, go to System -> Administration ->Synaptic Package Manager. Find monodevelop from there. Mark for install and press apply.

Install VirtualBox on Ubuntu 10.04

0

Category: ,

The Virtualbox (non-free) repository is available for Ubuntu 10.4 Lucid Lynx (kind of late I'd say). You can add it using the 
following command: 
 
sudo add-apt-repository "deb http://download.virtualbox.org/virtualbox/debian lucid non-free"
wget -q http://download.virtualbox.org/virtualbox/debian/oracle_vbox.asc -O- | sudo apt-key add -
 
 
Then install it: 
 
sudo apt-get update && sudo apt-get install virtualbox-3.2