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: July 2009
Backup / restore PostgreSQL database
To backup / dump entire DB (database cluster), use the following command: pg_dumpall > outfileor with username and gzipped pg_dumpall -U postgres | gzip > db_backup.gz-U usename – connect as specified database user To restore from dump file “db_backup” use: … Continue reading
STL breaks after installing Microsoft Security Advisory 973882
After installing through Microsoft Update Vulnerabilities in Microsoft Active Template Library (ATL) Could Allow Remote Code Execution STL broke with the following error: c:\program files\microsoft visual studio 9.0\vc\include\xutility(2764) : error C3861: ‘_Swap_adl’: identifier not found Most probably, this is caused … Continue reading
Batch script to test if folder / directory is empty
Yesterday I needed a Dos batch script to check if folder is empty. A little Google search revealed some methods: Using dir and find commands, does not work on non-english Windows versions: www.computing.net Using dir command with /a-d, does not … Continue reading
Join (merge / concatenate) split files: Windows or Linux
Sometimes you have to join two files together. There are plenty of tools for file spitting and joining (restoring), but I prefer the build in ones. Use copy command under Windows: copy /B file1.ext + file2.ext result_file.ext “B” stands for … Continue reading
My Linux command quick reference
My day-to-day job does not involve Linux, so I made a command reference for me. Some useful nix commands: list directory contents ls list directory contents wish permissions, dates, size, etc. ls -l print (name of) working directory pwd text … Continue reading
Ubuntu Server static ip problems – ubuntu reverts back to DHCP on its own
Many people report that Ubuntu Server suddenly reverts its static IP address to dynamic (via DHCP). Here are some discussions: static ip reverts back to DHCP (ubuntuforums.org). Static IP reverting to DHCP on Ubuntu Server 8.04 (www.howtogeek.com). This happened to … Continue reading
How to change Ubuntu Server from dynamic address (DHCP) to a static IP address?
You need to change addresses into following files: /etc/network/interfaces /etc/resolv.conf The following article from www.howtogeek.com prefers vi editor, but I use nano editor. sudo nano /etc/network/interfaces change to something like this iface eth0 inet static address 192.168.1.5 netmask 255.255.255.0 network … Continue reading