Showing posts with label Creativity. Show all posts
Showing posts with label Creativity. Show all posts
Sunday, 27 September 2009
How to Generate Sequence Diagram online
How to Generate Sequence Diagram online
Don't wast your time to create sequence diagram using visio or some
other tools.
Here I found very useful site that generates sequence diagram as per
your requirement.
You have to just type very smple script that should descripe the call
from one class to
another and On click of "Draw" button you can get your secquence diagram
in the form of picture or pdf.
Don't worry about script learning and script notation, it's
very,following site will give you all help and example
pink back from :
http://www.websequencediagrams.com/
Windows Media Player and Music Status In Gtalk
A post From Google Talk groups (Google) , i thot this wil be useful for most of the gtalk users who are searching for this issue for a long time ….
Hi everyone,
I just wanted to add a little something about an
issue that sometimes comes up when users are trying to share their
music status in Google Talk using Windows Media Player.
When Windows Media Player or your Windows desktop crashes, Windows
Media Player is designed to disable all plug-ins (including the Google
Talk music status plug-in). If this happens, the current music track
you’re playing on Windows Media Player won’t show up as your Google
Talk’s status message.
I know many of you have found the solution to this problem, but for
those who haven’t found this fix before, all you need to do is
re-enable the Google Talk plug-in. Just follow these steps:
I just wanted to add a little something about an
issue that sometimes comes up when users are trying to share their
music status in Google Talk using Windows Media Player.
When Windows Media Player or your Windows desktop crashes, Windows
Media Player is designed to disable all plug-ins (including the Google
Talk music status plug-in). If this happens, the current music track
you’re playing on Windows Media Player won’t show up as your Google
Talk’s status message.
I know many of you have found the solution to this problem, but for
those who haven’t found this fix before, all you need to do is
re-enable the Google Talk plug-in. Just follow these steps:
1. Open Windows Media Player.
2. From the View menu, select ‘Plug-ins’ > ‘Options…’
3. From the Category section of the Plug-ins tab, select ‘Background.’
4. Select the ‘Google Talk Music Plugin’ checkbox.
5. Click ‘OK.’
You’ll have to close and restart Windows Media Player for your change
to take effect.
But sometimes the problem started when I tried to used in WMP 11 on Windows Vista Home Premium ...
this is for vista!
INSTALLING GTALK AND MEDIA PLAYER DISPLAYING THE TRACKS.
all you have to do is right click your gtalk installer. before that close both your media player and gtalk, it doesnt matter if you installing the same version. instead of clicking on install, you RUN AS ADMINISTRATOR. wait a little, open you gtalk, choose to show current track, run your windows media player and play a track, now the media file`s name should be displayed.
cheers.
all you have to do is right click your gtalk installer. before that close both your media player and gtalk, it doesnt matter if you installing the same version. instead of clicking on install, you RUN AS ADMINISTRATOR. wait a little, open you gtalk, choose to show current track, run your windows media player and play a track, now the media file`s name should be displayed.
cheers.
Happy music status sharing!
Wednesday, 9 September 2009
How to add syntax highlighting to Blogger with Alex Gorbatchev's open-source SyntaxHighlighter.
How to display code (nicely) in Blogger posts
I’ve long been envious of all those blogs that show code, nicely formatted and even with line numbers! I finally found out how it’s done.
How to add syntax highlighting to Blogger with Alex Gorbatchev's open-source SyntaxHighlighter.
1.Log into your blogspot account, select the "Layout" tab, and then click "Edit HTML."
2.Click "Download Full Template" to make a backup of your current template.
3.Make a copy of your template, open it in an editor, and find the </head> closing tag. Before that tag, add the following:
4.After the comment that says "add brushes here," add the languages you plan to use.
For example, I'm using brushes for Javascript, CSharp, SQL, XML/HTML, and C++:
5.See the full list of supported syntaxes.
6.Save your modified template, and upload it to Blogger (again, under Layout > Edit HTML).
You should now be able to add syntax highlighting to your blog. Wrap your code in a <pre> tag and specify the brush to use in the class attribute. For example, to highlight a block of SQL:
6.If Blogger produces an Error message, saying something like a tag isn't allowed, simply click the checkbox to ignore, and hit Publish Post.
7.All thanks goes to Alex Gorbatchev for creating Syntax Highlighter in the first place. If you want to speed up things, you might want to host the Syntax Highlighter files on your own webspace (such as on a free webhost; just google).
8.If you don't care about fancily presented code and just want the job done, visit the HTML Entities Encoder and simply copy-paste...:)
HAPPY CODING :)
I’ve long been envious of all those blogs that show code, nicely formatted and even with line numbers! I finally found out how it’s done.
How to add syntax highlighting to Blogger with Alex Gorbatchev's open-source SyntaxHighlighter.
1.Log into your blogspot account, select the "Layout" tab, and then click "Edit HTML."
2.Click "Download Full Template" to make a backup of your current template.
3.Make a copy of your template, open it in an editor, and find the </head> closing tag. Before that tag, add the following:
<link href='http://alexgorbatchev.com/pub/sh/current/styles/shCore.css' rel='stylesheet' type='text/css'/>
<link href='http://alexgorbatchev.com/pub/sh/current/styles/shThemeDefault.css' rel='stylesheet' type='text/css'/>
<script src='http://alexgorbatchev.com/pub/sh/current/scripts/shCore.js' type='text/javascript'/>
<!-- add brushes here -->
<script type='text/javascript'>
SyntaxHighlighter.config.bloggerMode = true;
SyntaxHighlighter.all();
</script>
4.After the comment that says "add brushes here," add the languages you plan to use.
For example, I'm using brushes for Javascript, CSharp, SQL, XML/HTML, and C++:
<!-- add brushes here -->
<script src='http://alexgorbatchev.com/pub/sh/current/scripts/shBrushJScript.js' type='text/javascript'/>
<script src='http://alexgorbatchev.com/pub/sh/current/scripts/shBrushCSharp.js' type='text/javascript'/>
<script src='http://alexgorbatchev.com/pub/sh/current/scripts/shBrushSql.js' type='text/javascript'/>
<script src='http://alexgorbatchev.com/pub/sh/current/scripts/shBrushXml.js' type='text/javascript'/>
<script src='http://alexgorbatchev.com/pub/sh/current/scripts/shBrushCpp.js' type='text/javascript'/>
5.See the full list of supported syntaxes.
6.Save your modified template, and upload it to Blogger (again, under Layout > Edit HTML).
You should now be able to add syntax highlighting to your blog. Wrap your code in a <pre> tag and specify the brush to use in the class attribute. For example, to highlight a block of SQL:
SELECT *
FROM users
WHERE user_id = 1212;
6.If Blogger produces an Error message, saying something like a tag isn't allowed, simply click the checkbox to ignore, and hit Publish Post.
7.All thanks goes to Alex Gorbatchev for creating Syntax Highlighter in the first place. If you want to speed up things, you might want to host the Syntax Highlighter files on your own webspace (such as on a free webhost; just google).
8.If you don't care about fancily presented code and just want the job done, visit the HTML Entities Encoder and simply copy-paste...:)
HAPPY CODING :)
Saturday, 9 August 2008
Thursday, 20 December 2007
Lock N E File in Windows Xp With Password Without N E Software
Open Notepad and paste the following & save as locker.bat


@ECHO OFF
title Folder Locker
if EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" goto UNLOCK
if NOT EXIST Locker goto MDLOCKER
:CONFIRM
echo Are you sure u want to Lock the folder(Y/N)
set/p "cho=>"
if %cho%==Y goto LOCK
if %cho%==y goto LOCK
if %cho%==n goto END
if %cho%==N goto END
echo Invalid choice.
goto CONFIRM
:LOCK
ren Locker "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
attrib +h +s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
echo Folder locked
goto End
:UNLOCK
echo Enter password to Unlock folder
set/p "pass=>"
if NOT %pass%=="Enter Password Here" goto FAIL
attrib -h -s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
ren "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" Locker
echo Folder Unlocked successfully
goto End
:FAIL
echo Invalid password
goto end
:MDLOCKER
md Locker
echo Locker created successfully
goto End
:End
title Folder Locker
if EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" goto UNLOCK
if NOT EXIST Locker goto MDLOCKER
:CONFIRM
echo Are you sure u want to Lock the folder(Y/N)
set/p "cho=>"
if %cho%==Y goto LOCK
if %cho%==y goto LOCK
if %cho%==n goto END
if %cho%==N goto END
echo Invalid choice.
goto CONFIRM
:LOCK
ren Locker "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
attrib +h +s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
echo Folder locked
goto End
:UNLOCK
echo Enter password to Unlock folder
set/p "pass=>"
if NOT %pass%=="Enter Password Here" goto FAIL
attrib -h -s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
ren "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" Locker
echo Folder Unlocked successfully
goto End
:FAIL
echo Invalid password
goto end
:MDLOCKER
md Locker
echo Locker created successfully
goto End
:End
now open the locker.bat file when u open it , it will create a folder named Locker add ur files into it and than again run the .bat file and see the magic !!

Speed up browsing folders....
You may have noticed that everytime you open my computer to browse folders that there is a slight delay. This is because Windows XP automatically searches for network files and printers when you open Windows explorer.
To stop XP from doing this follow the instructions below.
Open My Computer
Click on Tools menu
Click on Folder Options
Click on the View tab.
Uncheck the Automatically search for network folders and printers check box Click Apply
Click Ok
Reboot your computer
Try it now, you will see a significant increase in speed.
To stop XP from doing this follow the instructions below.
Open My Computer
Click on Tools menu
Click on Folder Options
Click on the View tab.
Uncheck the Automatically search for network folders and printers check box Click Apply
Click Ok
Reboot your computer
Try it now, you will see a significant increase in speed.
Subscribe to:
Posts (Atom)



