Automaticlly Extracting Downloaded Torrents

As every average geek, I too download torrents (containing only legal, copyright-free material, of course), and most of the time the torrents contain multi-file archives that contain the really juicy data.
A lot of times I return home and find some new torrent has completed downloading, but I have to ...

more ...

Remotely Viewing Machine Certificates With Minimal Permissions

We've started remotely monitoring our certificate stores on critical servers, and wanted the monitoring software to be able to remotely connect to our servers' personal certificate stores.
I quickly found a script to enumerate all certificates in a specific store on a remote computer:

function Get-Cert( $computer=$env:computername ...
more ...

Determining Size of all Tables in a Database

Just a quick SQL script to get the rowcount and size data of every table in the current database:

CREATE TABLE #sizeof (
 name varchar (70),
 [rows] int,
 reserved varchar(20),
 data varchar(20),
 index_size varchar(20),
 unused varchar(20),
)

DELCARE @name varchar(70)
DECLARE cur CURSOR FOR select name from ...
more ...

Creating proxied http requests with PowerShell

I'm working on some sort of HTTP proxy (maybe more details about it later), and to test it I've created a short PowerShell script.
Note it also performs basic authentication voluntarily (without waiting for a server challenge) by injecting an Authorization header, because I was testing something extra ...

more ...

Extending Yii's Web Application Creation

I found out that after creating my Yii Applications through Yiic.bat, I tend to modify the same things in all of them (adding .htaccess files for pretty urls (no index.php), adding a reference for my custom modules directory, etc.), so I decided to try and override the WebApp ...

more ...

Fixing Facebook to Google Calendar synchronization

Note: It's fixed now. The project itself is still pretty cool

I recently managed to sync my Facebook events to my Google Calendar (and thusly to my Android phone). At first the task seemed simple, because Facebook offers you a link to export your events in iCal format, but ...

more ...

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 ...

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 ...

more ...