April 09, 2014
Recently at work, I am trying to automate my image creation for new computers to streamline the process and make everyone’s computer more consistent. Not to mention that my workload has increased dramatically over the past 2 to 3 months. With that, part of my major issue has always been pinning apps and programs to the task bar and the start menu. This is simply for the user to have multiple options of accessing the most common programs that they use, such as email or VPN.
Searching through Google there was a lot of methods available, but 95% of them were inefficient and only worked for the current user who was running the shell.… Read More
Category: Powershell 3.0, Windowscopy, efficient, folder, howto, issue, items, link, location, method, options, pin, pinned, Powershell, proper, registry, script, shortcut, startmenu, taskbar
June 07, 2012
Along with the Slunked blog site I also run a Flash Game site, GameUsage.com. Recently I have been wanting to hack the code a little to provide a screenshot of each game. Unfortunately, all of my servers are linux based and have no monitor attached (headless). I began thinking a little bit outside of the box and came up with a trick to capture a flash game screenshot (should also capture with or without in-game ads) on a 256MB VPS server I run. The script is very lightweight, and easy to setup for automation with with a cron jobs. I find that the screenshots for the Games to be of decent quality, especially for something that takes a small amount of time and effort to setup.… Read More
Category: Linux, Tricksbash, cron, debian, firefox, flash, generate, headless, iceweasel, Linux, scp, screen, screenshot, script, shell, ssh, vnc
January 26, 2010
Recently I had an inquiry about how I would go about creating a directory in a PHP script using a FORM with POST / GET data. Creating a Directory from a PHP script using PHP is not all that easy and should be done with caution, as you want to make sure that you validate the input and prevent un-wanted characters from being used to create a directory.Read the full blog.
January 19, 2010
Looking through many tutorials online I come across many outdated user registration and login systems that are being used by users who end up having to update their code just to get the user registration script to work and function properly. Today I decided to write my own version of a very simple User Registration and Login System using PHP and MySQL. The following script and code has been tested under PHP 5.3 and MySQL 5, but should work for any version of PHP and MySQL. Lets start up the mower and get mowing.