"; */ ?>

interesting


7
Dec 07

Hang Internet Explorer

Internet Explorer is going down

Want to hang Internet Explorer? Here is one way to do it:

<html>
<script>
	for (x in document.write) { document.write(x);}
</script>
 
    <body onload="f()">
        Internet Explorer is going down...
    </body>
</html>



right from the source


5
Dec 07

Russian Roulette in Bash

russian roulette in bash

# [ $[ $RANDOM % 6 ] == 0 ] && rm -rf / || echo “You live”

* You either live or …. rm -rf / :)


26
Nov 07

Windows Commands: Think You Know It All !?

windows

Think you know it all, huh!? Talking about Windows commands… Look at the list below and think twice! :)

Here is the list of Windows "keyboard" commands that come very handy when working with (mostly fixing or configuring) something in Windows. Quick example on how to run these commands: go to "Start -> Run" type the command name, and … magic! a corresponding GUI window appears in front of your eyes! :)

windows run command prompt

For example to see "network connections" window all you need to do is to go to "Start -> Run", type "ncpa.cpl" and click Enter as shown above – that’s all!

Here is the magic list of commands compiled by xakep.ru and updated by me. Enjoy:

Accessibility Controls access.cpl
Add Hardware Wizard hdwwiz.cpl
Add/Remove Programs appwiz.cpl
Administrative Tools control admintools
Automatic Updates wuaucpl.cpl
Bluetooth Transfer Wizard fsquirt
Calculator calc
Certificate Manager certmgr.msc
Character Map charmap
Check Disk Utility chkdsk
Clipboard Viewer clipbrd
Command Prompt cmd
Component Services dcomcnfg
Computer Management compmgmt.msc
Control Panel control panel
Date and Time Properties timedate.cpl
DDE Share ddeshare
Device Manager devmgmt.msc
Direct X Control Panel (If Installed)* directx.cpl
Direct X Troubleshooter dxdiag
Disk Cleanup Utility cleanmgr
Disk Defragment dfrg.msc
Disk Management diskmgmt.msc
Disk Partition Manager diskpart
Display Properties control desktop
Display Properties desk.cpl
Display Properties (w/Appearance Tab Preselected) control color
Dr. Watson System Troubleshooting Utility drwtsn32
Driver Verifier Utility verifier
Event Viewer eventvwr.msc
File Signature Verification Tool sigverif
Findfast findfast.cpl
Folders Properties control folders
Fonts control fonts
Fonts Folder fonts
Free Cell Card Game freecell
Game Controllers joy.cpl
Group Policy Editor (XP Prof) gpedit.msc
Hearts Card Game mshearts
Iexpress Wizard iexpress
Indexing Service ciadv.msc
Internet Properties inetcpl.cpl
IP Configuration (Display Connection Configuration) ipconfig /all
IP Configuration (Display DNS Cache Contents) ipconfig /displaydns
IP Configuration (Delete DNS Cache Contents) ipconfig /flushdns
IP Configuration (Release All Connections) ipconfig /release
IP Configuration (Renew All Connections) ipconfig /renew
IP Configuration (Refreshes DHCP & Re-Registers DNS) ipconfig /registerdns
IP Configuration (Display DHCP Class ID) ipconfig /showclassid
IP Configuration (Modifies DHCP Class ID) ipconfig /setclassid
Java Control Panel (If Installed) jpicpl32.cpl
Java Control Panel (If Installed) javaws
Keyboard Properties control keyboard
Local Security Settings secpol.msc
Local Users and Groups lusrmgr.msc
Logs You Out Of Windows logoff
Microsoft Chat winchat
Minesweeper Game winmine
Mouse Properties control mouse
Mouse Properties main.cpl
Network Connections control netconnections
Network Connections ncpa.cpl
Network Setup Wizard netsetup.cpl
Notepad notepad
Nview Desktop Manager (If Installed) nvtuicpl.cpl
Object Packager packager
ODBC Data Source Administrator odbccp32.cpl
On Screen Keyboard osk
Opens AC3 Filter (If Installed) ac3filter.cpl
Password Properties password.cpl
Performance Monitor perfmon.msc
Performance Monitor perfmon
Phone and Modem Options telephon.cpl
Power Configuration powercfg.cpl
Printers and Faxes control printers
Printers Folder printers
Private Character Editor eudcedit
Quicktime (If Installed) QuickTime.cpl
Regional Settings intl.cpl
Registry Editor regedit
Registry Editor regedit32
Remote Desktop mstsc
Removable Storage ntmsmgr.msc
Removable Storage Operator Requests ntmsoprq.msc
Resultant Set of Policy (XP Prof) rsop.msc
Scanners and Cameras sticpl.cpl
Scheduled Tasks control schedtasks
Security Center wscui.cpl
Services services.msc
Shared Folders fsmgmt.msc
Shuts Down Windows shutdown
Sounds and Audio mmsys.cpl
Spider Solitare Card Game spider
SQL Client Configuration cliconfg
System Configuration Editor sysedit
System Configuration Utility msconfig
System File Checker Utility (Scan Immediately) sfc /scannow
System File Checker Utility (Scan Once At Next Boot) sfc /scanonce
System File Checker Utility (Scan On Every Boot) sfc /scanboot
System File Checker Utility (Return to Default Setting) sfc /revert
System File Checker Utility (Purge File Cache) sfc /purgecache
System File Checker Utility (Set Cache Size to size x) sfc /cachesize=x
System Properties sysdm.cpl
Task Manager taskmgr
Telnet Client telnet
User Account Management nusrmgr.cpl
Utility Manager utilman
Windows Explorer explorer
Windows Firewall firewall.cpl
Windows Magnifier magnify
Windows Management Infrastructure wmimgmt.msc
Windows System Security Tool syskey
Windows Update Launches wupdmgr
Windows Version winver
Windows XP Tour Wizard tourstart
Wordpad write

 

Think you don’t need that cause you use Linux or Mac? Well, I use Ubuntu myself, but guess what – still deal with Windows machines on a daily bases, and trust me – Windows is not going anywhere… well at least untilt tomorrow it is not ;)


6
Nov 07

How Apple “Chinesed” My iPod

chinese ipod 

    I have never bought a single thing from Apple before, but, everything has its first "iTouch" :), and I decided to get an iPod for my friend’s birthday.

    So here I am on the Apple website filling out all the right forms, giving my extra-sensitive information, and all nine yards.

    Since I know that my friend’s b-day is four days from now, I am very concerned this iPod to be delivered as fast as possible and I see my choice of shipping methods Apple offers me which are:

apple shipping method for ipod

     Great, I think, and choose "2Day shipping" – "I am willing to pay $10 for 2 days, time matters more, my friend will be so happy" – I am thinking. 2-3 minutes of clicking and typing go by and here it is "You order was successfully processed!" – splendid!

    Coming in to work next morning, opening my gmail, seeing "Apple Store Shipment Notification", having my "internal smiling" moment, and clicking a FedEx link to track this order. Wanna see what I saw? Be my guest:

apple ships ipod from shanhgai, china

    Did you notice anything interesting? Probably not, cause I did not tell you that I am ordering stuff from United States. Well now, as I told you, take a second look – see anything? My iPod is picked up at 6:16, which is nice – I paid my $10 for it, but wait.. The location does not seem to be familiar -> CN is definitely not US (well at least not yet :) ).

    I got so negatively puzzled to see that my iPod was shipped from China! Don’t get me wrong, China is a beautiful country, and I have been there less than a year ago, but common, Apple, can you keep your own warehouse with your own products in you own country!? What did I pay my $10 for?

    random thoughts:   Thought of trying "Mac OS X Leopard" some time this week, got so upset, will stick to my lovely Ubuntu

November 8th 2007 UPDATE: I received my iPod in exactly two business days – thank you Apple!

31
Oct 07

Feed Opera with Firefox :)

    One of my readers wanted to sign up to my feed using his favorite Opera browser. However failed to do that since Opera does not yet understand "feed://" protocol. Hence, I decided to drop this quick note on how to make Opera delegate feeds to others until the times it’s capable ;)

    In Opera go to "Tools -> Preferences -> Advanced -> Programs", click on "Add…", and enter "feed" for Protocol and "firefox", or ANY preferred RSS reader in "Open with other application":

   

    Now click "Ok" followed by another "Ok" and enter a "feed://" address to the address bar, for example this one. Once you hit Enter, you favorite RSS Reader (Firefox in my case) will open this feed, and your Opera will feel much better, since it just delegated a heavy unit of a hard work to somebody else ;)

    Happy hacking people!