avatar

Andres Jaimes

Old school: Use xcopy to back up your stuff

Need an easy way to back up your files, but don’t feel like monkeying with expensive or complicated software? Using the xcopy command and a simple text file, you can accomplish this rather easily. Here’s what I do. First, make sure that file extensions are not hidden by going to My Computer > Tools > Folder Options > View. Uncheck Hide Extensions for Known File Types and click OK (if it’s already unchecked, don’t worry about it).

Create a DNS zone file

by FreeBSD.orgAn example master zone file for example.org(existing within /etc/namedb/master/example.org) is as follows: $TTL 3600 ; 1 hour default TTL example.org. IN SOA ns1.example.org. admin.example.org. ( 2006051501 ; Serial 10800 ; Refresh 3600 ; Retry 604800 ; Expire 300 ; Negative Response TTL ) ; DNS Servers IN NS ns1.example.org. IN NS ns2.example.org. ; MX Records IN MX 10 mx.example.org. IN MX 20 mail.example.org. IN A 192.168.1.1 ; Machine Names localhost IN A 127.

CentOS useful commands

To get your CentOS version type: cat /etc/redhat-release To update all your CentOS packages at once: yum update To install nslookup, dig and other network utilities: yum install bind-utils -y

Show User Library Directory in Mac OS X Lion

Show User ~/Library in OS X Lion Launch Terminal from Spotlight or Launchpad > Utilities, and enter the following command to show the directory: `` chflags nohidden ~/Library/ The users Library folder will immediately become visible. Reverting this back to the standard Lion setting is simple too: Hide User ~/Library in OS X Lion (default setting) This returns to the default setting of hiding the user Library directory: ``

IIS tips and tricks

Running multiple versions of the .NET framework in IIS When you install a new .NET framework in your IIS server some applications can stop working showing you the following error: Server Application Unavailable In the event viewer you will find this: the same IIS process. Please use the IIS Administration Tool to reconfigure your server to run the application in a separate process. This happens because different .NET frameworks can run in the same server, but cannot share the same application pool, so, to solve this: