All articles by wgalyen@gmail.com
Secure Synchronization using SSH
Allows you to synchronize a directory over a secure shell connection. It also has functionality to allow you to run commands remotely, all without leaving the comfort of your local machine. Installation 1. Ensure Python 3 and pip are installed. 2. Install with the following command pip install -r requirements.txt 3. Run with python secure-sync.py...
Continue reading...
Dropbox Folder Restoration using Python
Restores any dropbox folder to a previous state. If a file did not exist at the specified time, it will be deleted. Handles unicode parameter input and processing of subfolders. Example To restore the folder /photos/tokyo to the way it was on March 7th, 2016: python dropbox-restore.py /photos/tokyo 2016-03-07 Note: the path /photos/tokyo should be...
Continue reading...
Recursive Folder Synchronization using VBScript
This is a script written years ago that I still find useful; I had a need to apply updates to many local machines that had no network access from an external hard drive. It synchronizes the contents (files and subfolders) of two folders. Each folder is traversed recursively and any missing subfolders and files are...
Continue reading...
Oil Painting Filter in C#
Converting an image to make it look like an oil painting is not only a nice effect, but is also an easy to implement algorithm. This article demonstrates how to create an oil painting effect from an image. The oil painting filter consists of two main components: color gradients and pixel color intensities. Result images...
Continue reading...
iTunes 11 Style Scroller
Spent a couple of hours seeing if I could recreate the album scroller found in the store view of the latest version of iTunes. Uses CSS3 transforms for animation and some jQuery to handle interaction. Definitely needs tidying up, and probably only works in WebKit and latest browsers for now....
Continue reading...
Kuwahara Filter in C#
The Kuwahara filter is probably one of those things that you haven’t heard of much, if ever. It’s a noise reduction/blurring technique for images that preserves edges, similar to a median filter. It acts like a box blur, except we take that box around the center pixel and divide that into four smaller boxes (with...
Continue reading...
Craigslist Monitor using Ruby
Overview To add to my ever expanding knowledge base of languages, I decided to spend the last day and a half teaching myself Ruby and this was the result. A script to watch Craigslist for relevant posts so you don’t have to. My first ever Ruby program. Watching Craigslist can be a time-consuming task. The...
Continue reading...