A friend gave me a script that automated the install of rtorrent/rutorrent the other day when he was showing it to me. It was a fairly basic script that worked most of the time but didn’t allow for much customization. I was rather bored during the weekend and saw a great oppurtunity to brush the […]
I’m hosting a website for a friend and the other day he inquired if I was backing up the data on his website since he was going to update his site and wanted to make sure he could recover the site in case everything went fubar. I hadn’t really put much thought into regular backups, […]
I love Firefox, I love Tabs. But sometimes these two don’t get along. I’ve lost my tabs plenty of times, which is very annoying since I have usually 100+ tabs open. After loosing all my tabs today, and then learning about the Sessionstore.js and loosing the latest copy as I was trying to restore my tabs I felt the need to backup that file. So, here is a simple program you can put into Task Scheduler that will backup the sessionstore.js file of every Firefox profile into a directory called SessionStoreBackups which is located in each each profile dir.
Hopefully I won’t loose my tabs again or at least it won’t be a travesty
Here is an example on how you can interface with FSRM (File Server Resource Manager) to programmatically set or change a quota for a given directory.
First you need to find and reference the srmlib.dll file from either the Windows SDK 7.1 or from Windows 2008 R2 installation.
Here’s another function that does the reverse of the other one (CIDR 2 Decimal)
It’s a bit longer since it’s more complicated to convert the decimal value back into CIDR and make sure it’s in the correct format
Jóhannes H. Laxdal is a specialized humanoid carbon unit whose field is computers and telling lousy jokes, it has a tendency to put "well" before every sentence it utters. In here you will find its ramblings about computer-related stuff.
Tags.net 7 8 2008 2008 R2 Administrator Administrator for web ADSI Application Pool AppPool asp.net backup BannerBitmap C# CentOS CIDR Create debian Decimal Dedicated Server Enumerate Enumerate Websites error IE 7 IIS IIS 6 install banner L4D2 Left 4 dead 2 Linux PeriodicRestartSchedule php Recycle Recycling Samba script spam Submask user-agent Website windows Windows 7 Windows 2008 R2 Windows Media Services WMS