Time for a little plumbing

August 10, 2015 Leave a comment

So anyone who knows me, knows that I am a jack of all trades.  From assembly language to C#, from carpenter to electrician to auto repair, I fix stuff.  Well over the weekend we had new quartz counter tops installed along with an under mount deep sink.  I would take care of the electrical, to include under cabinet lighting as well as the plumbing.  After the counter top people were gone I went to work to get the sink operational.   Read more…

Categories: Uncategorized

Robocopy throttling

January 26, 2015 Leave a comment

I’ve tried using Robocopy bandwidth throttling switch many times in the past but never seemed to figure it out.  Today I have the need to start a slow copy for many files over a T1 line and went in search of the solution again.  I came across this blog post that gave a formula that works perfectly.

D = (Ba-Bd) / (Ba*Bd) * 512 * 1000

Where D = the /IPG switch value you will enter in Robocopy.
Ba = the available bandwidth of the link in Kbps.
Bd = the desired bandwidth you want to consume in Kbps.

In my case the link is a T1 so I used 1500 for Ba and I wanted to use 200Kbps.  So I ended up with 2218 for the IPG switch and now it’s a nice slow copy that will go overnight.

Categories: Uncategorized

Linksys WRT1900AC slow internet speed

January 24, 2015 5 comments

Here is a strange problem.  Comcast recently doubled my internet speed according to an insert in my bill.  I have performance internet which means I should be getting 25Mbps download speeds.  Doubled I will get 50Mbps!  This is nice.  I follow the instructions to power cycle the modem, then the router and blow off rebooting the PC since I know that is not needed.  A quick speed test and I’m getting a whopping 16Mbps download? Read more…

Screen rotation in Windows 7

January 14, 2015 Leave a comment

I learned a new trick today that I want to pass along.  Have you ever had some joker in the office mess with your machine when you’ve stepped away without locking your system?  One of the worst is when someone goes into the video settings and rotates your screen 90 degrees.  You could either rotate your head or turn your mouse sideways or maybe even physically rotate your screen so you can set it back to normal.  But there is an easier way with a keyboard shortcut.  Simply hold down Ctrl and Alt and then push the UP arrow key.  The other arrow keys will rotate your screen left, right, or upside down.  This should stop the joker from pulling this prank.  Better yet, if you have an office joker and he leaves his machine unlocked, just walk by and give him a quick Crtl, Alt arrow of your choice.  Just beware the repercussions, and always use the Windows Key + L when you step away from your computer.

Categories: Computing Tags: , ,

Removing a DPM recovery point

January 12, 2015 Leave a comment

We had a situation where we needed to delete a recovery point.  Of course there is no way to do it using the GUI and Technet has an awesome (useless) explanation on how to do it using powershell

After a little searching I found this blog entry which works perfectly.  In short here are the steps for removing a recovery point.  As some point I may write an interactive script to simplify everything.  I modified the code from the original blog posting to add the array number in front of the output to make things a little easier.

Get a list of protection groups and display them.

$pgList = get-protectiongroup SERVERNAME

$i=0;foreach($pg in $pgList){write-host (“{0} : {1}” -f $i, $pg.friendlyname);$i++}

Get a list of data sources for the protection group you want (replace the x with the number next to the protection group) and display them.

$dsList = get-datasource $pglist[x]

$i=0;foreach($ds in $dsList){write-host (“{0} : {1}” -f $i, $ds.name);$i++}

Next, get a list of recovery points for the data source (replace the x again).

$rpList = get-recoverypoint $dslist[x]

$i=0;foreach($rp in $rpList){write-host (“{0} : {1}” -f $i, $rp.representedpointintime);$i++}

Now we are at the point where we can actually remove the recovery point.

remove-recoverypoint -recoverypoint $rpList[x] -confirm

Thanks again to the original blog poster.

Got an e-mail from my garage door

October 30, 2014 Leave a comment

It said it was open for 5 minutes as a warning to let me know that I might have forgotten to close it.  Actually I had purposefully left it open to test a device I built based on a couple blog entries from Richard L. Lynch.  Now I don’t know Richard, but I found his postings when searching for a solution to absent mindedly leaving the garage door open.  Since we have smart phones on us at all times, a simple e-mail from the garage door would be great if it was open for too long.  Richard came up with an elegant solution using a Raspberry Pi and a small Python program hooked up to a garage door sensor.  The posts could use some updates for the current Raspberry Pi model B+ but they work.  Here are the 2 posts by Richard.

http://www.richlynch.com/2013/07/27/pi_garage_alert_1/

http://www.richlynch.com/2013/08/04/pi_garage_alert_2/

You won’t need to USB hub with the B+ model since it has plenty of USB ports.  I used CAT 5 cable to connect the sensor to the Pi in the basement.  I chose the basement to mount the Pi since it will be out of the elements and kept cool for the most part.

I’m planning on getting another Pi so I can load Mono on it and write the code in C# which is what I’m used to.

Can rotation

October 26, 2014 Leave a comment

Something I’m bad about is rotating canned goods. After looking around I found a company that sells some cardboard ones here: http://canorganizer.com/ I also found some made of plastic and full blown metal ones here: http://www.thrivelife.com/food-rotation-systems   I wanted something strong but didn’t want to spend a ton of money either so I came up with my own plan.

I still have a couple more to make. For anyone else who has some woodworking skills and wants to make some the plans I used are all included below with lots of pictures.

Read more…

Follow

Get every new post delivered to your Inbox.