Share
Scroll down

My Latest Articles

Step into the mind of a long-time developer, long-time server manager, and full-time geek 🙂

We recently found ourselves needing a new incremental file backup system... something we could use to remotely store, something fast, something secure, and ultimately something reliable. In steps Duplicity. Duplicity allows us to sync incremental file backups to our cloud storage flawlessly; it has helped reduce backup file size, allows us to encrypt the backups, and reduce the amount of bandwidth needed for transferring both backups and restores. Overall giving our developers a much needed break from their manual backups. The script in our repo contains an installer that will setup everything you will need on your servers for this, though please do note that the restore is incomplete. While we have verified manual account & app restores, we have not been able to perfect…

Read more
01

I wanted to make sure I got this here, before I forgot what I did to make these awesome tweaks.  They should be pretty universal, so long as you can make the edits to the kernels ramdisk.  (See your kernel provider for permission and details).  I'm going to break this up into sections to make it easier for me to read. GOALS My goals for this were pretty simple. Low Level Configuration Faster Boot Time Device Performance Enhancement Boot Process Specific Firing of Scripts CODE default.prop Once you have your kernel torn apart, open the file default.prop and add these tweaks in, normally you would put these in your devices build.prop file, however, I want things my way so... # kevp75 Default Tweaks # Rendering Tweaks debug.composition.type=c2d debug.egl.hw=1 debug.enabletr=true…

Read more
02

This procedure and script are meant for use in situations where your SQL server may not have SQL Agent installed. Whether it is because it's SQL Express being use, or because it simply was not an option at the time of install. First thing you will need to do is login to the SQL server using SQL Management Studio.  Make sure your login is able to create stored procedures at the system level, and add the following to the 'master' database USE [master] GO /****** Object: StoredProcedure [dbo].[sp_BackupDatabases] Script Date: 08/17/2011 10:55:54 ******/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO -- ============================================= -- Author: Microsoft -- Create date: 2010-02-06 -- Description: Backup Databases for SQLExpress -- Parameter1: databaseName -- Parameter2: backupType F=full, D=differential, L=log…

Read more
03

Been awhile since I've posted anything... holy moly has it! So, as I am sure most of you are aware, I am a programmer/developer by heart and soul, so it was only a matter of time before I started (finally) getting into doing some tweaking for Android devices.  As a result, I have made up a set of "tweaks" for my Note 3 that have it running creamy smooth like buttah ;) It all started with my Galaxy S4 actually, but since i don't have that beast anymore, I did it for my Note 3. What does it do Kev? Vacuum's SQLite every 4 days Zip-Aligns all User Data APK's every 3 days (if you choose) Cleans Caches, Logs, Tombstones, etc... every week Tweaks Your…

Read more
04

Need a good way to resize your uploaded image?   While keeping the height/width ratio? Why would you need to do this?  Well, like most of you, I did not need to keep full sized images that I upload on page, and needed a good way to create thumbnails, and resize the originals down to a more manageable, more web friendly size. This will do the trick...  no words of caution, no instructions, just code... use it how you like :) <?php function ResizeImage($inputFile, $filepath, $ext, $maxWidth, $maxHeight){ /* Get some details about the image */ $srcDetails = getimagesize($inputFile); switch ($srcDetails[2]) { case 1: //GIF $source_image = imagecreatefromgif($inputFile); break; case 2: //JPEG $source_image = imagecreatefromjpeg($inputFile); break; case 3: //PNG $source_image = imagecreatefrompng($inputFile); break; case 6: //WBMP…

Read more
05