cd page 3 - Dave's Blog

Search
My timeline on Mastodon

Alex on quilt

2012 Jan 14, 9:41

PermalinkComments

Alex on quilt

2012 Jan 14, 9:41

PermalinkComments

CSI: Xbox - how cops perform Xbox Live stakeouts and console searches

2012 Jan 10, 2:33

Fascinating anecdotes on criminal investigations involving game consoles.

PermalinkCommentstechnical crime law video-game xbox

Dad holding bear suit Alex

2011 Dec 31, 11:21

PermalinkComments

Dad holding bear suit Alex

2011 Dec 31, 11:19

PermalinkComments

Chris Harrison | A New Angle on Cheap LCDs

2011 Oct 25, 5:33
Its not a bug -- its a feature! Very cool unread mail demo.
PermalinkCommentstechnical

Baby onesies office redocorate

2011 Sep 24, 12:43

PermalinkCommentsflickrmanager windowsphone7

Alex in Basket

2011 Sep 18, 6:58

PermalinkCommentsfamily alex basket

Alex in monkey blanket

2011 Sep 18, 6:56

PermalinkCommentsfamily alex

Alex in monkey blanket

2011 Sep 18, 6:55

PermalinkCommentsfamily alex

clip.exe - Useful tool I didn't know shipped with Windows

2011 May 26, 11:00

When you run clip.exe, whatever comes into its standard input is put onto the clipboard. So when you need to move the result of something in your command window somewhere else you can pipe the result into clip.exe. Then you won't have to worry about the irritating way cmd.exe does block copy/pasting and you avoid having to manually fixup line breaks in wrapped lines. For instance, you can put the contents of a script into the clipboard with:

more cdo.cmd | clip

I've got a lot of stuff dumped in my bin folder that I sync across all my PCs so I didn't realize that clip.exe is a part of standard Windows installs.

Nice for avoiding the block copy in cmd.exe but I'd prefer to have the contents sort of tee'd into the clipboard and standard output. So TeeClip.ps1:

$input | tee -var teeclipout | clip;
$teeclipout;
PermalinkCommentspowershell clip tool clipboard cli technical windows tee

PowerShell Script Batch File Wrapper

2011 May 22, 7:20

I'm trying to learn and use PowerShell more, but plenty of other folks I know don't use PowerShell. To allow them to use my scripts I use the following cmd.exe batch file to make it easy to call PowerShell scripts. To use, just name the batch file name the same as the corresponding PowerShell script filename and put it in the same directory.

@echo off
if "%1"=="/?" goto help
if "%1"=="/h" goto help
if "%1"=="-?" goto help
if "%1"=="-h" goto help

%systemroot%\system32\windowspowershell\v1.0\powershell.exe -ExecutionPolicy RemoteSigned -Command . %~dpn0.ps1 %*
goto end

:help
%systemroot%\system32\windowspowershell\v1.0\powershell.exe -ExecutionPolicy RemoteSigned -Command help %~dpn0.ps1 -full
goto end

:end

Additionally for PowerShell scripts that modify the current working directory I use the following batch file:

@echo off
if "%1"=="/?" goto help
if "%1"=="/h" goto help
if "%1"=="-?" goto help
if "%1"=="-h" goto help

%systemroot%\system32\windowspowershell\v1.0\powershell.exe -ExecutionPolicy RemoteSigned -Command . %~dpn0.ps1 %*;(pwd).Path 1> %temp%\%~n0.tmp 2> nul
set /p newdir=
PermalinkCommentspowershell technical programming batch file console

Listen to Max Tannone and Watch Moon

2011 Feb 23, 1:13
Max Tannone does awesome remix albums:


Also, the movie Moon is really good on a variety of points. Sam Rockwell and the voice of Kevin Spacey! Its available on Netflix Watch Instantly so you have no excuse!
PermalinkComments

[audio] McDonald's Drops 'Hammurderer' Character From Advertising

2010 Nov 21, 9:30PermalinkComments

Party Down: Season 1

2010 Jul 5, 4:28

I just finished watching both seasons of this very funny and engaging TV series Id previously never heard of and I highly recommend it. Adam Scott stars as an actor who has given up on his dream of acting and joins a catering company working along side actors trying to make it in LA. There are many ties to Veronica Mars: the shows creator is Rob Thomas (the creator of Veronica Mars), the show features Ken Marino and Ryan Hansen, and has guest stars of Kristen Bell, Jason Dohring, and Enrico Colantoni, among others. It has many of the same talented people from Veronica Mars but Party Down is more like a smarter and funnier The Office given the relationship between Adam Scott and Lizzy Caplan and their subtle mockery of their wackier workmates and inept boss.
PermalinkCommentsmovie review netflix Party Down: Season 1

TiMER

2010 Jun 29, 1:24

An excellent movie I'd never heard of. An entertaining and humorous sci-fi indie romance comedy. It stars Emma Caulfield (who I recognize as Anya from Buffy the Vampire Slayer) who obsesses over her timer, an implanted device that counts down to when she'll meet the love of her life. Thematically its similar to Eternal Sunshine of the Spotless Mind which similarly adds a scifi device to society in order to examine the value of failed relationships on a persons life.
PermalinkCommentsmovie review netflix TiMER

Cow Dung Cupcakes

2010 Jun 29, 1:21

PermalinkCommentsfood cupcake poop

2010_05_Dave_and_Sarah_Wedding_Jodee_and_Dave_II

2010 Jun 5, 3:54

PermalinkComments

2010_05_Dave_and_Sarah_Wedding_Sarah_Shows_off_the_Ring

2010 Jun 5, 3:54

PermalinkComments

2010_05_Dave_and_Sarah_Wedding_Dave_with_Mother_and_Mother-In-Law

2010 Jun 5, 3:54

PermalinkComments
Older EntriesNewer Entries Creative Commons License Some rights reserved.