Categories
- Computers (41)
- Databases (3)
- OS (53)
- Programming (56)
- Web (36)
Calendar
Featured
Archives
- February 2013 (2)
- January 2013 (2)
- December 2012 (2)
- August 2012 (2)
- July 2012 (3)
- April 2012 (2)
- March 2012 (2)
- February 2012 (2)
- December 2011 (3)
- November 2011 (2)
- October 2011 (1)
- September 2011 (2)
- August 2011 (2)
- July 2011 (4)
- June 2011 (2)
- May 2011 (1)
- April 2011 (6)
- March 2011 (4)
- February 2011 (2)
- January 2011 (4)
- December 2010 (3)
- November 2010 (6)
- October 2010 (8)
- September 2010 (6)
- August 2010 (1)
- July 2010 (5)
- June 2010 (2)
- May 2010 (2)
- April 2010 (5)
- February 2010 (1)
- January 2010 (2)
- December 2009 (2)
- November 2009 (2)
- October 2009 (2)
- September 2009 (5)
- August 2009 (11)
- July 2009 (7)
Tags
.bat .net ASP.NET batch files Benchmark Bug C# c++ cmd CSS Debug DHCP Dos Error ESXi files HTML http IIS IP JavaScript Links Linux network NTFS PHP PowerShell speed STL Ubuntu Urih VC++ Vista Visual Studio VMware VS VS2010 web website Windows Windows 7 Windows API Windows Server Windows Update Windows XP-
Recent Posts
- RAID 1 (mirror) read speed as fast as RAID 0 (stripe)
- Executing very large script on Microsoft SQL Server 2008 R2 fails
- Building OpenSSL with Visual Studio 2010 for x64 / Win64 causes error
- Did you know that IP addresses (IPv4) can be written in shorter representations?
- C# / .NET MessageBox is hidden behind the Form
Recent Comments
- Ken on On production machine: AjaxControlToolkit requires ASP.NET Ajax 4.0 scripts.
- Andi on Batch script to test if folder / directory is empty
- Anonymous on Batch script to test if folder / directory is empty
- Judy on VS2010: Project not selected to build for this solution configuration
- Anonymous on IIS 7.5 error: Handler “PageHandlerFactory-Integrated” has a bad module “ManagedPipelineHandler” in its module list
Menu
Monthly Archives: August 2009
Change timezone with TZ environment variable in Windows
If your program uses one of the following MFC or CRT function, then you can change timezone using TZ environment variable: CTime::GetLocalTm CTime::Format COleDateTime::operator= ctime _wctime _tctime _ctime64 _wctime64 _tctime64 mktime _mktime64 _utime _wutime _tutime _utime64 _wutime64 _tutime64 For example, … Continue reading
PHP $_POST returns only one item for SELECT multiple HTML tag
PHP developers decided that values posted from HTML select tag with attribute multiple, somehow overwrites some internal variable data. Basically it goes like this – you have the following form with a select tag: <form action=”/post.php” method=”post”> <select name=”MyMultiSelect” multiple> … Continue reading
CSS pseudo-element first-letter using form label element
Today I spent 1/2 hour trying to understand, why my labels do not respect CSS rule first-letter. Here is an example snippet: #myform label:first-letter {text-decoration:underline} <form id=”myform” action=”/test/” method=”post”> <label title=”From”>From:</label> The problem was, that The ‘first-letter’ pseudo-element can only … Continue reading
Edit any website / webpage with simple JavaScript
Copy the following one line JavaScript into address bar of browser to enable ‘edit mode’. javascript:document.body.contentEditable=’true’; document.designMode=’on’; void 0 Now you can add or delete any text, move images and objects, and more. Have a fun! Tested on Internet Explorer … Continue reading
Getting file size in KB using batch file
To get file size using batch file, we use variable with modifier. Then set /a, performs match operation (divide by 1024). Unlike other examples, this example works on any Windows language. @echo off :: Name: file_size.bat :: Author wishmesh.com :: … Continue reading
xcopy alternative for Windows Vista and Windows Server 2008 – ROBOCOPY
Robocopy – Robust File Copy for Windows is bundled with Windows Server 2008, Windows 7 and Vista. If you can not do something in xcopy, you probably can in robocopy. For example robocopy can: resume on network error, specify number … Continue reading
VMware ESXi enable remote ssh access (unsupported)
To enable VMware ESXi 4.0 SSH (Windows Putty) access: At physical console press ALT+F1. VMware ESXi banner will appear. There is no prompt on the screen, but type ‘unsupported’ and press Enter. Now at password prompt type root password. You … Continue reading
VMware ESXi unsupported console
By default ESXi does not support console. To enable it you must be at physical terminal (screen & keyboard). Press ALT+F1 and type “unsupported”. Then at the Password prompt type root password. You are in. Tested on ESXi 4.0 @ … Continue reading
Make asynchronous call in PHP using PHP socket and custom User agent string
Recently I wrote about async calls in PHP. In the provided example from w-shadow.com there is one thing missing – User agent string. Changing User agent string to something unique is handy, when analyzing log file. You can see, if … Continue reading
Make asynchronous call in PHP
The problem is, that there is no standard way of making asynchronous function or other calls in PHP version 5. In search for async calls I found, that socket version works for me. Here is link to example from W-Shadow.com: … Continue reading