Adding "Related Posts" Below each post in Blogger

Wednesday, April 8, 2009

There are many widgets/code available on internet for related posts , but this one i found the best. you can modify number of labels it search and number of posts under each label it displays. the js code matches the template and it doesnt look out of the world. one more thing, since you're pasting the full code here inside the template, it does not slow down your page load. and hence recommended.

how to add the code?
Got to layout --> Edit html --> check on Expand widget--> search for "data:post.body" and add the code below the line as shown. and you're done. (will upload the txt file for direct download later for now, click to enlarge the image. )

Read more...

How to stop "sh mem" command output on a cisco router?

Tuesday, February 17, 2009

How to stop "sh mem" command output on a cisco router?

Escape character is '^]'.
A4F6C 001 -------- -------- 1243B008 *Packet Data*
331A4F6C 0000001140 331A3E6C 331A5410 001 -------- -------- 1243ABF4 *Packet Header*
331A5410 0000004304 331A4F6C 331A6510 001 -------- -------- 1243B008 *Packet Data*
331A6510 0000001140 331A5410 331A69B4 001 -------- -------- 1243ABF4 *Packet Header*
331A69B4 0000004304 331A6510 331A7AB4 001 -------- -------- 1243B008 *Packet Data*
331A7AB4 0000001140 331A69B4 331A7F58 001 -------- -------- 1243ABF4 *Packet Header*
331A7F58 0000004304 331A7AB4 331A9058 001 -------- -------- 1243B008 *Packet Data*
331A9058 0000001140 331A7F58 331A94FC 001 -------- -------- 1243ABF4 *Packet Header*
331A94FC 0000004304 331A9058 331AA5FC 001 -------- -------- 1243B008 *Packet Data*
331AA5FC 0000001140 331A94FC 331AAAA0 001 -------- -------- 1243ABF4 *Packet Header*
331AAAA0 0000004304 331AA5FC 331ABBA0 001 -------- -------- 1243B008 *Packet Data*
331ABBA0 0000001140 331AAAA0 331AC044 001 -------- -------- 1243ABF4 *Packet Header*
331AC044 0000004304 331ABBA0 331AD144 001 -------- -------- 1243B008 *Packet Data*
331AD144 0000001140 331AC044 331AD5E8 001 -------- -------- 1243ABF4 *Packet Header*
331AD5E8 0000004304 331AD144 331AE6E8 001 -------- -------- 1243B008 *Packet Data*
331AE6E8 0000001140 331AD5E8 331AEB8C 001 -------- -------- 1243ABF4 *Packet Header*
331AEB8C 0000004304 331AE6E8 331AFC8C 001 -------- -------- 1243B008 *Packet Data*
331AFC8C 0000001140 331AEB8C 331B0130 001 -------- -------- 1243ABF4 *Packet Header*
331B0130 0000004304 331AFC8C 331B1230 001 -------- -------- 1243B008 *Packet Data*
331B1230 0000001140 331B0130 331B16D4 001 -------- -------- 1243ABF4 *Packet Header*
331B16D4 0000004304 331B1230 331B27D4 001 -------- -------- 1243B008 *Packet Data*
331B27D4 0000001140 331B16D4 331B2C78 001 -------- -------- 1243ABF4 *Packet Header*
331B2C78 0000004304 331B27D4 331B3D78 001 -------- -------- 1243B008 *Packet Data*
331B3D78 0000001140 331B2C78 331B421C 001 -------- -------- 1243ABF4 *Packet Header*
331B421C 0000004304 331B3D78 331B531C 001 -------- -------- 1243B008 *Packet Data*
331B531C 0000001140 331B421C 331B57C0 001 -------- -------- 1243ABF4 *Packet Header*
331B57C0 0000004304 331B531C 331B68C0 001 -------- -------- 1243B008 *Packet Data*


Use Ctrl+Shift+6

Read more...

Server 404 Issue with Blogger

Wednesday, December 17, 2008

a quick fix to those facing server 404 problem with blogger custom domain configs,

switch to your original blogspot.com address -->>> save
again go to custom domain advance setting and configure the same custom domain (go-daddy for example) and save the settings.

P.S. not sure when blogger would come back with a good fix.. till then..

Read more...

Desktops for VNC

Wednesday, December 3, 2008

Terminal is set to: vt100
Display is not set.
bgl-cde-015:1>
bgl-cde-015:1>
bgl-cde-015:1>
bgl-cde-015:1>
bgl-cde-015:1> vncserver

You will require a password to access your desktops.

Password:
Verify:
Would you like to enter a view-only password (y/n)? y
Password:
Verify:
xauth: creating new authority file /users/popariha/.Xauthority

New 'X' desktop is bgl-cde-015:20


Creating default startup script /users/popariha/.vnc/xstartup
Starting applications specified in /users/popariha/.vnc/xstartup
Log file is /users/popariha/.vnc/bgl-cde-015:20.log

bgl-cde-015:2> vncserver

New 'X' desktop is bgl-cde-015:27

Starting applications specified in /users/popariha/.vnc/xstartup
Log file is /users/popariha/.vnc/bgl-cde-015:27.log

bgl-cde-015:3>

To Enable Copy paste from, to vnc:

By adding following code to xstartup:


if [ -x /usr/bin/vncconfig ]; then

/usr/bin/vncconfig -nowin &

elif [ -x /usr/cisco/bin/autocutsel ] ; then

/usr/cisco/bin/autocutsel &

fi



If you are running the vncserver on Linux/Unix, You can run the command autocutsel & on the terminal. If this doesn’t work then try the following command


vncconfig –display :n –nowin & - where “n” is the vnc display number (If you are logging on to vncserver x-lnx:1 then n is 1)





Read more...

Unix Automation: Most Used

Tuesday, November 25, 2008

unix vi editor, viewing a long file -->>
-rw-r--r-- 1 popariha eng12 2114685 Nov 25 12:25 TaskLog.qos.pdmib
-rw-r--r-- 1 popariha eng12 115102 Nov 25 12:25 pdmib.results
-rw-r--r-- 1 popariha eng12 8119 Nov 25 12:25 pdmib.rerun
-rw-r--r-- 1 popariha eng12 78312 Nov 25 12:25 pdmib.report
-rw-r--r-- 1 popariha eng12 473743 Nov 25 12:25 pdmib.out
-rw-r--r-- 1 popariha eng12 63 Nov 25 12:25 pdmib.ckp
-rw-rw-r-- 1 popariha eng12 481823 Nov 25 12:25 pdmib.2008Nov25_21:07:13.tar.Z
ipetc-earms-exec:7> vim TaskLog.qos.pdmib

Tar/Zcat/Compress:



uncompress filename.tar.Z
gunzip filename.tar.gz
tar xvf filename.tar

the one i find the best:
zcat filename.tar.Z | tar xvf -
or
gzcat filename.tar.gz | tar xvf -




Read more...

ONLINE

FOLLOWERS

  © poonamparihar.com 2008

Back to TOP