Pages

Tuesday, July 26, 2011

NoDoFollow for Firefox 4, 5 and above

NoDoFollow is a Mozilla Firefox addon which Highlights links in a document and color codes them according to follow / nofollow. 

 It's used quite a bit in my office but the author hasn't released updated version compatible with Firefox 4 or Firefox 5. So when I installed latest Firefox version 5.0.1, there were quite a few protests from the minions. So I modified the NoDoFollow to make it work with Firefox 5.

Download it from this link: http://www.jjamwal.in/dl/nodofollow.xpi
 Open the XPI file from Firefox's Open menu and it'll be installed.  

In case, you want to know how it's done, read on.
 There isn't much to it. XPI files are just ZIP files with modified extensions. All one needs to do is unzip the file into a folder and open install.rdf file in a text editor. Find and modify the following line em:MaxVersion="3.6"
Replace 3.6 with any version number of Firefox you want. I changed it to 6.6. :p
 After that, all you need to do is to create a zip up these files in to an archive again and change the extension to XPI from ZIP. Take care of not zipping the folder in which you extracted the files. The archive should be of content structure as it is.
 

Musicians who died at 27




I'm 27 too :D
Not dead though :(


Jim Morrison
Dead: July 3, 1971, 27 years and 207 days, cause of death listed as "heart failure"
Band: The Doors

Kurt Cobain
Dead: April 5, 1994, 27 years and 44 days, ruled as suicide by shotgun
Band: Nirvana


Alan "Blind Owl" Wilson
Dead: September 3, 1970, Barbiturate overdose, possible suicide
Band: Canned Heat


Ron "Pigpen" McKernan
Dead: March 8, 1973, Gastrointestinal hemorrhage associated with alcoholism
Band: Grateful Dead

Les Harvey
Dead: May 3, 1972, Electrocution by live microphone after touching it with his wet hands
Band: Stone the Crows


Dave Alexander
Dead: February 10, 1975, Pulmonary edema
Band: Stooges


Janis Joplin
Dead: October 4, 1970, 27 years and 258 days, heroin overdose
Band: The Kozmic Blues Band and Full Tilt Boogie Band



Jimi Hendrix
Dead: eptember 18, 1970, 27 years and 295 days, asphyxiated on vomit after combining sleeping pills with wine
Band: The Jimi Hendrix Experience and Band of Gypsys

Brian Jones
Dead: July 3, 1969, 27 years and 125 days, drowned in a swimming pool
Band: Rolling Stones


Amy Winehouse
Dead: July 23, 2011, 27 years and 313 days, probable heroin overdose



List and photos from acidcow.com

Another link Kurt Cobain | Amy joins Club 27 

Thursday, July 21, 2011

Tarmak007 -- A bold blog on Indian defence: Here comes Prahaar! It took less than 2 years to d...

Tarmak007 -- A bold blog on Indian defence: Here comes Prahaar! It took less than 2 years to d...: "Photos of Prahaar launch from LC-III, ITR. (Official Press Release) DRDO successfully flight tested its latest surface to surface missile ..."

Wednesday, July 20, 2011

Taliban's retribution for Pakistan Army's mass killings in the Swat Valley

Taliban's retribution for Pakistan Army's mass killings in the Swat Valley


Tuesday, July 19, 2011

Tarmak007 -- A bold blog on Indian defence: DRDO hopes to impress Army with Prahaar punch; dem...

Tarmak007 -- A bold blog on Indian defence: DRDO hopes to impress Army with Prahaar punch; dem...: "if one were go by what insiders tell Tarmak007 then Prahaar is an extremely cost-effective missile. It will be much cheaper than the BrahMos cruise missile. Since it uses solid propulsion systems, it will be on a ready-for-launch-mode any time. There won’t be any storage issues and the missile will be completely maintenance-free, taking it out of the periodic-checking issues. Load it on to a Canister system and fire it!
Being a road-mobile system, Prahaar can hit multiple targets at a time with the canister able to hold a maximum of 6 missiles. “All components and critical systems for this missile are available in India and it can be produced in large numbers at very short notice making it extremely cost-effective,” sources said.
..."

Thursday, July 14, 2011

War Scenario PDF

You can download pdf of war scenario"Beginning Of the End" which I started writing in November 2010 and finished in June 2011  from www.jjamwal.in/dl/WarScenario.pdf
 More details at my website here.

Monday, July 11, 2011

Tarmak007 -- A bold blog on Indian defence: Just Loving It! Here Comes LCH TD-2!

Tarmak007 -- A bold blog on Indian defence: Just Loving It! Here Comes LCH TD-2!: "Snapshots from LCH TD-2 maiden flight in Bangalore on 28 June 2011. Photos: Planefinder"

Basic Linux Networking

This article is for people trying to get their Linux PC connect to internet or just the local network. Most linux distributions come with automatic DHCP clients and thus need minimal tinkering with configuration. But if you are in a situation where having a simple DHCP client is not working, read on. In this part I'll write about bare basics only.



First run ifconfig command in console window to check your ip configuration. ifconfg is linux counterpart of Windows ipconfig command. Most likely, the output will look like this:




root@jj:/# ifconfig
eth0 Link encap:Ethernet HWaddr 00:e0:1c:40:07:cf
inet addr:192.168.1.117 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::2e0:1cff:fe40:7cf/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:90395 errors:0 dropped:0 overruns:0 frame:0
TX packets:68143 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:58988739 (58.9 MB) TX bytes:11107421 (11.1 MB)
Interrupt:22 Base address:0x3000

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:377 errors:0 dropped:0 overruns:0 frame:0
TX packets:377 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:41747 (41.7 KB) TX bytes:41747 (41.7 KB)





Here eth0 identifies your LAN interface. If you have more than one, it's shown as eth1, eth2 and so on. Wirelss interfaces are shown as wlan0, wlan1 and so on.

lo is you default local interface which will always have ip 127.0.0.1



In this case, you can see that eth0 is correctly configured with ip 192.168.1.117 and netmask 255.255.255.0


If you are sure that your network has a DHCP server and want to use only that, run the following command:


/etc/init.d/networking restart



Unless you had specified a permanent IP address, the interface on which DHCP client is running will get you an ip like this.

For cases where you don't have a DHCP server to provide you IP configuration automatically or you just want some other address, say 192.168.1.11 on eth0, type the following command


ifconfig eth0 192.168.1.11 netmask 255.255.255.0


This command will assign ip address 192.168.1.11 with netmask 255.255.255.0 to your default network interface eth0. If you want to assign this ip to another ethernet interface, replace eth0 by that interface's identifier. For example if you want to assign this ip to your 2nd network card, type:

 ifconfig eth1 192.168.1.11 netmask 255.255.255.0



Now, that you've assigned an ip, it's time to provide gateway too. If your gateway address in 192.168.1.1,  type the following command.

route add default gw 192.168.1.1
 

 By now, you should be able to connect to your local network. But in order to browse internet, you still need DNS. In Linux, a file named resolv.conf stored in /etc/ contains address of your DNS server. To manually add DNS entries, open resolv.conf in any text editor and add your DNS ip in separate lines. For example:

nameserver 192.168.1.1
namserver 4.2.2.2


Don't forget to add nameserver before each DNS ip. Save the file and start browsing.


Following above steps will enable you to  connect to the network for current session. But what if you need to save the settings permanently ? For this you'll need to edit a file named interfaces. It's path is /etc/network/interfaces and it's contents look like this:



auto lo
iface lo inet loopback

auto eth0
iface eth0 inet dhcp


iface eth1 inet dhcp
address 192.168.1.11
netmask 255.255.255.0
gateway 192.168.1.1

#auto eth2
#iface eth2 inet dhcp

#auto ath0
#iface ath0 inet dhcp

auto wlan0
iface wlan0 inet dhcp

 


Here,  auto eth0 , iface eth0 inet dhcp part shows that DHCP is enabled on eth0 interface.


iface eth1 inet static
 address 192.168.1.11
netmask 255.255.255.0
gateway 192.168.1.1           

This part is for eth1 and displays it's static ip address, netmask and gateway in different lines. If you want any of your interfaces to have a static permanent address, modify entry for that interface  just like this with address of your choice. In this case, I have 2 network cards and one wireless lan. eth0  and wlan get their ip from DHCP while eth1 has a static ip. You can either delete entries of interfaces that you don't have or just put a # before them to disable them.
Also you can disable a network interface by using command

ifconfig eth0 down

To enable it again type:

ifconfig eth0 up 

That's most of it that's usually needed in a normal computer. Thanks for reading  






Friday, July 8, 2011

I Don't Care




Music video by Apocalyptica featuring Adam Gontier of Three Days Grace performing I Don't Care

Wednesday, July 6, 2011

Earthlings - Full length documentary (multi-subtitles)



EARTHLINGS is the single most powerful and informative documentary about society's tragic and unforgivable use of nonhuman animals, narrated by Joaquin Phoenix with soundtrack by Moby. Directed by Shaun Monson, this multi-award winning film by Nation Earth is a must-see for anyone who cares about nonhuman animals or wishes to make the world a better place.

PLEASE: don't run from reality, watch the film and share your thoughts with other viewers in the comments section. Thank you.

If you are under 18 and not allowed to watch, press the link below:
http://www.youtube.com/v/ce4DJh-L7Ys

If you live in Germany and can't see, press the link below:
http://www.youtube.com/watch?v=Tszu9twyEEo

The film's official website:
http://www.earthlings.com

Use the [CC] button for subtitles in your language.

Subtitles / Captions currently available in 25 languages:
Bulgarian, Chinese, Croatian, Czech, German, Greek, English, Estonian, Finnish, French, Galician, Hebrew, Hungarian, Indonesian, Italian, Polish, Portuguese, Portuguese-BR, Romanian, Russian, Serbian, Slovak, Spanish, Swedish, Turkish

Dutch version:
http://www.youtube.com/watch?v=dPTMYS3DwPg

A request: subtitles in Arabic, Japanese and Hindi do exist somewhere. If you know how I can get one of them, please let me know. Thanks.

Still didn't watch the best video I know on Animal Rights - Gary Yourofsky's amazing speech? Please do and SHARE it in any way you can.
http://www.youtube.com/watch?v=es6U00LMmC4

We are all Earthlings - Make the Connection!

Friday, July 1, 2011

A friend said "u know what jamwal, U`ll always be the guy who i use as a reference point for every thing that is monotonous, mundane , dead end gear of this lifeless machine in the world....its cos of people like u that progress can never be defined... i`m telling u as on day with my feet firmly on the ground that u`ll never realise this till ur death bed when no one will be there to give a drop of water.... else all well here apki dua hai"
:) :D
Me is honoured
:)

Pageviews past week