Author: Tushar Neupaney

  • What is the difference between VCPU and  CPU in google cloud?

    In general, 1 vCPU is not equal to 1 CPU. A vCPU is a virtual CPU that is assigned to a VM. A CPU is a physical chip that is installed in a computer. In Google Cloud, a vCPU is typically equivalent to one physical CPU core. However, there are some machine types that use…

  • 10 ways to finding things in linux

    Basically i am talking about Linux terminal and without installing any new programs. I will also not use any programming languages. I am not digging into regexp details, please refer to their documentations. Many programs have their own regexp and syntax so I usually pipe the output to the input of egrep or such to…

  • Ubuntu 10.10. What I did to my computer.

    After installing Ubuntu 10.10 into my computer the following are the list of software and tweaks i did to my computer. If you like it you can use it. 1. Installed Firefox addons: a. Adblock Plus b. DownloadHelper c. Download Statusbar d. FaviconizeTab e. Fission f. Greasemonkey g. Omnibar h. Smart Stop/Reload i.  SmoothWheel j. …

  • stop mysql from running at startup

    My Linux box was running mysql from the start and I did have no clue. It was not in my startup applications list, neither in my init.d folders. But whenever i did nmap of localhost, i could see the mysql port open. I could kill mysql service, need to kill it multiple times, only then…

  • Lookup details of an IP or Domain (whois lookup) graphically

    By using the following script you can easily lookup for an ip or domain using zenity and shell script. (sorry Windows folks, i just hate you).   #!/bin/bash# Get the domain nameZ=”/usr/bin/zenity”O=”/tmp/whois.o.$$”domain=$(${Z} –title  “Domain Information” \                –entry –text “Domain name who’s information you seek!” ) if [ $? -eq 0 ]then    whois $domain  |…

  • oh i am back in ruby!

    After a long time, I am back and am back in ruby too.doing new things in ruby. class linuxfanatic    def says(message)      puts message    end  end    tushar = linuxfanatic.new  tushar.says “oh i am back in ruby!”    Posted via web from Linux fanatic

  • Find latitute and longitute in google maps.

    To make this script work the map must have some point to the center. Else, click on the center of the map of whose you want longitute and latitute and then paste the following in your browser. You will get your result. javascript:void(prompt(”,gApplication.getMap().getCenter())); Posted via web from Tutorial Universe

  • Make Your Linux Box Blazing fast!

    This list is compiled for my personal use, should work for anyone. Try the followings: 1. Use lighter applications (Replace your default applications with them) Gedit >> MousepadPicture viewer (EOG …) >> GpicviewNetwork Manager >> WicdEvince >> epdfview 2. Increase Swappiness $ sudo vim /etc/sysctl.confEdit: vm.swappiness=10 3.  For dual cores (Use Concurrency) $ sudo vim…

  • My .vimrc file

    Vim is the editor of my choice for my linux box. I have configured my .vimrc file in my ubuntu. ————————————————————————————————————- ” Tushar Neupaney’s VIMRC File” Followme twitter.com/tneupaney” linuxfanatic.posterous.com ” (sw)shiftwidth: how many columns text is indented with reindent operations” (sts)softtabstop: how many columns vim uses when you hit tab” (ts)tabstop: how many columns a…

  • [Solved] Wireless Driver for Compaq CQ40 (bcm4312)

    Trying out ubuntu in our new office laptops the Compaq CQ40, I found out that the wireless driver was not working. To find out the actual wirelss device installed in the system I tried the following commands: 1. lshw -C network This gave me the product result as BCM4312 802.11b/g from Broadcom Corporation. Tried a…