Computer And Technologies

Computer And Technologies: Blogs_help
Showing posts with label Blogs_help. Show all posts
Showing posts with label Blogs_help. Show all posts

Wednesday, 13 May 2009

How to view your Picasa photo's on Blogs ?

It will act on all type blogs like webpress,blogger etc..

Open Picasa account --> Login to Picasa,

Then go to your albm,

Then click on the red spot,

then click on the red sopy i'e Embaded slide show,


then either click on Get Your Own else copy the HTML code (lest Red rounded code )

Then paste this code in

Paste that HTML code Here,

----------------------------------------------------------------------------------------------------------------------------------

<div style="width:400px;font-family:arial,sans-serif;font-size:13px;"><div><embed type="application/x-shockwave-flash" src="http://picasaweb.google.com/s/c/bin/slideshow.swf" width="400" height="267" flashvars="host=picasaweb.google.com&hl=en_US&feat=flashalbum&RGB=0x000000&feed=http%3A%2F%2Fpicasaweb.google.com%2Fdata%2Ffeed%2Fapi%2Fuser%2Famareshchandradas2005%2Falbumid%2F5333448294418359985%3Falt%3Drss%26kind%3Dphoto%26authkey%3DGv1sRgCOygwc6e9sGl4QE%26hl%3Den_US" pluginspage="http://www.macromedia.com/go/getflashplayer"></embed></div><span style="float:left;"><a href="http://picasaweb.google.com/amareshchandradas2005/AwesomePictures?authkey=Gv1sRgCOygwc6e9sGl4QE&feat=flashalbum" style="color:#3964c2">View all</a></span><div style="text-align:right;"><a href="http://picasaweb.google.com/lh/getEmbed?feat=flashalbum" style="color:#3964c2">Get your own</a></div></div>


---------------------------------------------------------------------------------------------------------------------------------


DO save and enjoy with your Pictures,

If you ll get any problem then comment me, i will guide you , Good Luck!!

Thanks,

-Amaresh


Tuesday, 12 May 2009

Falling snow effect on your blog

This is very cool widget for your blog, if you like snow i will lead you how to add to your blog , just with very simple step.copy this code

<script src="http://www33.websamba.com/anhvosite/blogger/js2/snow-effect.js" type="text/javascript"></script>

and add it before tag
</head>

Thats all
now save and join

note:
you can go to that link : SnowFall

Reference:--

Cheerz \m/

How wil you add counters in Blogs ?

Dear all ,

It's dead easy, feel free to log in Start Counter,


Then follow the instruction as per the site "http://www.statcounter.com/"

finally , you will get a HTML code , copy (ctrl -c) this HTML code and paste as per bellow instruction,



paste (ctrl-v) HTML code and save it

Now view your blogs ,

Good luck
If you are in difficult please leave a comment.I will answer you.

Monday, 11 May 2009

Make your blog redirect to another address ?

Some bloggers asked me is there any way to get the visitors back to their new domain without changing anything!They have been using blog for a long time and they wanted to make a website instead of it, but they didn't want to lose their familiar visitors.This is a really hard problem to some bloggers, so this tip will help you to get back your visitors ( not perfect but it can get back 90 % perhaps).

This is called redirect address , it means you have to put 1 short meta tag to your blog source , before tag :


<meta http-equiv="refresh" content="0;url=http://yournewurl.com"/>



That's it , just replace the red word by your new address then your old blog will redirect to your new site ( include any address and you can use it to redirect all your sub blogs to your mail blog, too).

Save and don't bother about the visitors.Keep thinking about your new address name.

How to show code in your any Bolgs or Post ?

If you want to lead your visitors to do somethings about web development but you can not put the codes in the post so this is maybe a big problem.You don't believe ? Go to "Create new post" and type the word

Use this link and paste the modified code here ,

Link:-Simple Code "http://www.simplebits.com/cgi-bin/simplecode.pl?"


Thanks,
-Amar

how to add visitor counter in blogspot ?

For Blogger / Blogspot. You simply need to:

  1. Sign up for a free account at StatCounter and follow the 'Install Code' wizard to generate your StatCounter code.
  2. When prompted, make sure to choose Blogger / Blogspot as your Blog/Web Page Editor from the drop down list.
  3. Copy the StatCounter code.
  4. Log into your Blogger / Blogspot blog.
  5. Go to the layout area.

    Blogger - Layout

  6. Click one of the “Add a Gadget” links at the bottom or to the right of your blog layout area (as indicated in the picture). (Note from the screenshot that we are in the “Page Elements” tab of the “Layout” area.)

    Blogger - Add a Gadget

  7. Clicking “Add a Gadget” opens a new window similar to the one pictured below.

    Blogger - Add a Gadget Window

  8. Scroll down through the list of Basic gadgets to find the HTML/Javascript gadget as shown in the picture below. Click the text (that says HTML/JavaScript) to add the gadget to your blog.

    Blogger - HTML/Javascript Gadget

  9. Paste the StatCounter code into the content section of the gadget.

    Blogger - HTML/Javascript Gadget

  10. Click "Save" and that's it!
Your StatCounter will now begin recording visitor information and, if you chose the visible option, your StatCounter will be visible on your blog!

Add Your URL to Google!!!

Dear all,


If you want to publish your URL through Google as it's totaly free to add url,

So Please follow the bellow steps:-
  1. collect own url site like "www.bangaloreorbit.com"
  2. add your url in google "http://www.google.com/addurl"

Cheers \m/
-Amar

Wednesday, 6 May 2009

MultiLaguage Option In webs or Blogs

Just Opened the Dashboard of your blog,
  1. go to

Then Click on Layout


Then add as Gadget and Choose HTML/Javascript


then edit the Title as per your choice, then paste this bellow code Content Block,






Please remove that " from script .



Then save and preview your blog and test accordingly ,

Cheers!!!




Tuesday, 5 May 2009

Remote shutdown of Windows from Linux box

  • If it's just access to do it you could use TS/Remote Desktop or even go the vnc route.If it's a case that you are already remoting it and missing your shutdown command, then
go to start > settings > Windows Security and you will get the ctrl-alt-del option screen.

  • Python script to shutdown the system remotely
#!/usr/bin/env python
# win32shutdown.py
import win32api
import win32con
import win32netcon
import win32security
import win32wnet


def shutdown(host=None, user=None, passwrd=None, msg=None, timeout=0, force=1,
reboot=0):
""" Shuts down a remote computer, requires NT-BASED OS. """

# Create an initial connection if a username & password is given.
connected = 0
if user and passwrd:
try:
win32wnet.WNetAddConnection2(win32netcon.RESOURCET YPE_ANY, None,
''.join([r'\\', host]), None, user,
passwrd)
# Don't fail on error, it might just work without the connection.
except:
pass
else:
connected = 1
# We need the remote shutdown or shutdown privileges.
p1 = win32security.LookupPrivilegeValue(host, win32con.SE_SHUTDOWN_NAME)
p2 = win32security.LookupPrivilegeValue(host,
win32con.SE_REMOTE_SHUTDOWN_NAME)
newstate = [(p1, win32con.SE_PRIVILEGE_ENABLED),
(p2, win32con.SE_PRIVILEGE_ENABLED)]
# Grab the token and adjust its privileges.
htoken = win32security.OpenProcessToken(win32api.GetCurrent Process(),
win32con.TOKEN_ALL_ACCESS)
win32security.AdjustTokenPrivileges(htoken, False, newstate)
win32api.InitiateSystemShutdown(host, msg, timeout, force, reboot)
# Release the previous connection.
if connected:
win32wnet.WNetCancelConnection2(''.join([r'\\', host]), 0, 0)


if __name__ == '__main__':
# Immediate shutdown.
shutdown('salespc1', 'admin', 'secret', None, 0)
# Delayed shutdown 30 secs.
shutdown('salespc1', 'admin', 'secret', 'Maintenance Shutdown', 30)
# Reboot
shutdown('salespc1', 'admin', 'secret', None, 0, reboot=1)
# Shutdown the local pc
shutdown(None, 'admin', 'secret', None, 0)


Reference:-
  1. Link"http://code.activestate.com/recipes/360649/"
  2. Poweroff
  • You can also shutdown a windows box if you have samba installed.

    "net rpc SHUTDOWN -C "some comment here" -f -I x.x.x.x -U user_name%password"

    As long as the user you supplied has rights to shutdown the system it will work.

    I wrote a bash script that scans our network and turns off all our system that are left on over night. If you are interested.



    "#!/bin/bash

    wks=(`nmap -sL --dns-servers 10.x.x.x,10.x.x.x 10.x.x.x/22, 10.x.x.x.x/23 grep FQDN|cut -d" " -f2 |grep -v -f serverlist`)

    for (( i=0; i < "${#wks[@]}"; i++)); do net rpc SHUTDOWN -C "This system was left on after hours and is being shutdown" -f -I "${wks[$i]}" -U user_name%password done" Basically what the script does is scans the network(s) with nmap, pipes it though grep and cut to get the FQDN. Then "grep -v -f serverlist" is an exclude list of server I don't want shutdown. From there it puts the workstations into an array and turns off each system.

How to add feeds as your sign!! ?

@Mozilla Thunderbird

Follow these steps to use Headline Animator with an existing email account set up within Thunderbird:

1. Create a new text file using a simple text editor, such as Notepad (Windows) or TextEdit (Mac OS X).
2. Copy this code —

Include a "Grab this" link
"

It's My Hot News

↑ Grab this Headline Animator

"



— and paste into this file.
3. Save the file with the name “signature.html” in a location on your system you can easily find later.
4. Launch Mozilla Thunderbird.
5. Choose “Account Settings…” from the Options menu.
6. In the account list, select the email account you wish to use the signature with.
7. In the Account Settings section, check the “Attach this signature:” box.
8. Click [Choose…] and locate the “signature.html” file you saved earlier in your local file system.
9. Click OK.

When you compose a new email message, Headline Animator should automatically be inserted at the end of the new message.


@Microsoft Outlook Express

Follow these steps to use Headline Animator with an existing email account set up within Outlook Express:

1. Create a new text file using a simple text editor, such as Notepad (Windows) or TextEdit (Mac OS X).
2. Copy this code —

Include a "Grab this" link
"

It's My Hot News

↑ Grab this Headline Animator

"



— and paste into this file.
3. Save the file with the name “signature.html” in a location on your system you can easily find later.
4. Launch Microsoft Outlook Express.
5. Choose “Options…” from the “Tools” menu.
6. In the dialog box that appears, click the “Signatures” tab.
7. In the “Signatures” section, click the [New] button.
8. In the “Edit Signature” section, click the “File” radio button.
9. Click the [Browse…] button and locate the “signature.html” file you saved earlier in your local file system. Click [Open] once you have selected this file.

Tip: If you want the signature to appear automatically at the end of each message, also check the “Add signatures to all outgoing messages” checkbox on the “Signatures” tab.
10. Click OK.
11. Compose a new message. When you have finished the new message, choose “Signature” from the “Insert” menu. Headline Animator should appear at the end of your message (unless you followed the tip in step 9 and your signature appears automatically).

@Microsoft Outlook 2003

Follow these steps to use Headline Animator with an existing email account set up within Microsoft Outlook:

1. Create a new text file using a simple text editor, such as Notepad (Windows) or TextEdit (Mac OS X).
2. Copy this code —

Include a "Grab this" link
""

It's My Hot News

↑ Grab this Headline Animator

"

"


— and paste into this file.
3. Save the file with the name “signature.html” in a location on your system you can easily find later. It is important that the file be saved with a .html file extension.
4. Launch Microsoft Outlook 2003.
5. Choose “Options…” from the “Tools” menu.
6. In the dialog box that appears, click the “Mail Format” tab.
7. Click [Signatures…]
8. In the subdialog box that appears, click [New…]
9. In the sub-subdialog box that now appears, enter a title for this signature (such as “Feed Headlines Sig”).
10. Click the “Use this file as a template” radio button.
11. Click the [Browse…] button and locate the “signature.html” file you saved earlier in your local file system. Click [Select] once you have located this file.
12. Click [Next].
13. A preview of the signature should appear. If Headline Animator displays in the preview window, everything is set up properly and you may click [Finish], and then [OK] on all remaining dialog boxes to complete this setup task.
14. Compose a new message. When you have finished the new message, choose “Signature” from the “Insert” menu, and then select your signature by name. Your Headline Animator should appear at the end of your message automatically.

Tip: If you do not want to have the signature appear automatically, make sure the Signature for new messages dropdown menu selection on the Mail Format tab is set to “-None-“.


@Yahoo! Mail

Follow these steps to use Headline Animator with an existing email account set up within Yahoo! Mail. Please note that these steps only apply if you use Yahoo! Mail in Mozilla Firefox 1.0 or Internet Explorer 5.5 and later. Users of Yahoo! Mail in other browsers will not be able to use “rich text” signatures.

1. Sign in to Yahoo! Mail.
2. Choose the “Options” link from the list of account links on the right hand side of the home page.
3. Choose the “Signature” link from the middle column of account option choices. A signature editor should appear.
4. Make sure you choose “Color and Graphics” as your signature option; “Plain” is the default choice.
5. Copy this code —

Include a "Grab this" link
""

It's My Hot News

↑ Grab this Headline Animator

"

— and paste into the editor area.

Tip: If you want the signature to appear automatically at the end of each message, also check the “Add signature to all outgoing messages” checkbox.
6. Click [Save].
7. Compose a new message. Make certain that the “Use my signature” checkbox is checked before you send the message. Your recipient will see your Headline Animator graphic if their email application supports standard HTML email.