Creating a common Yii code directory

Yii natively supports code recycling, by allowing you to store common code in modules, widgets etc.
However, to share code between applications, you still have to copy the files from one application to another. Right? Wrong!
I recently created a common code directory (wittingly called "my-yii") where I store all …

more ...

RssCache - An RSS Cache / Aggregator

Note: I'm no longer using this site, and might take it down. Let me know if you want the code.

Recently I've decided that I want to use μTorrent's Feed ability to auto download BitTorrent torrents, after I gave up on Miro (I moved my video library and discovered that …

more ...

Active Directory's Object Specific ACEs and PowerShell

I recently checked the option of handing out AD permissions through PowerShell scripts, and I found out that setting object-specific ACEs is not trivial scriptwise.
Active Directory ACE (access control entries) are different from your regular ACEs (for example, NTFS), because they can be used to grant permissions only on …

more ...

Making sure your Audit Collection Server is collecting

A few days ago I wanted to make sure that my ACS (Audit Collection Server) is collecting events from all of my DCs.
For those unfamiliar with ACS, it's an additional component to SCOM (System Center Configuration Manager) that allows you to collect events from the security log of several …

more ...

Google Friendly Apache Domain Migration

I recently migrated a domain for a client, and did it like a noob (as in simply copying the db and files, making sure everything's working, and then shutting down the old site). As a result, Google's pageranks were lost, old links were broken and ghost pages were found on …

more ...

Monitoring SharePoint 2010 on SCOM - Minimal Permissions

I've recently started monitoring my new SharePoint 2010 farms on SCOM, and found the management pack's documentation to be rather lacking in setup instructions, and the required permissions for SCOM's account on the farm were rather shocking:

  • Local admin on all SharePoint servers
  • Local admin on all SQL servers
  • dbowner …
more ...

"The module ... owssvr.dll could not be loaded due to a configuration problem"

Recently, one of my teammates installed ArcGis Server 9.3 on our fresh SharePoint 2010 box, causing all sites to respond with 503 Service Unavailable. A quick inspection showed that the application pools have stopped themselves, and the Windows application event log was spammed with:

Event ID: 2282
Source: Microsoft-Windows-IIS-W3SVC-WP …
more ...

Solving and preventing "Topology Discovery failed, error 0x80040a02"

Recently our Exchange 2003 environment broke down when we demoted our last ancient DCs. We panicked and re-promoted them, but no avail. The Exchange servers won't finish loading (they'd get stuck on "Applying computer settings", while actually waiting for the Microsoft Exchange System Attendant service to finish starting).
The error …

more ...

Showing "Mail" icon in control panel through Group Policy

I recently had to lock down a Windows 2008R2 remote desktop server (terminal server)
One of the requirements was to show only some control panel items, a setting that can be achieved using the Group Policy setting "Show only specified Control Panel items" (under Policies > Administrative Templates > Control Panel), but …

more ...

Dumping your MySQL db using PHP

Hi.
One of my clients asked me to be able to take manual backups of his DB, and because he wasn't so technologically-inclined, using the hosting company's interface wasn't an option. So I created a small PHP page that uses mysqldump to dump the site's db in a downloadable way …

more ...