in the toolbox – live! (tools of the trade) chris oldwood accu conference 2015 @chrisoldwood /...
TRANSCRIPT
![Page 1: In The Toolbox – Live! (Tools of the Trade) Chris Oldwood ACCU Conference 2015 @chrisoldwood / gort@cix.co.uk](https://reader036.vdocuments.net/reader036/viewer/2022070415/56649ec15503460f94bccb17/html5/thumbnails/1.jpg)
In The Toolbox – Live!In The Toolbox – Live!(Tools of the Trade)(Tools of the Trade)
Chris OldwoodChris Oldwood
ACCU Conference 2015ACCU Conference 2015
@chrisoldwood / [email protected]@chrisoldwood / [email protected]
![Page 2: In The Toolbox – Live! (Tools of the Trade) Chris Oldwood ACCU Conference 2015 @chrisoldwood / gort@cix.co.uk](https://reader036.vdocuments.net/reader036/viewer/2022070415/56649ec15503460f94bccb17/html5/thumbnails/2.jpg)
Why the C Vu Column?Why the C Vu Column?
![Page 3: In The Toolbox – Live! (Tools of the Trade) Chris Oldwood ACCU Conference 2015 @chrisoldwood / gort@cix.co.uk](https://reader036.vdocuments.net/reader036/viewer/2022070415/56649ec15503460f94bccb17/html5/thumbnails/3.jpg)
Part I - Tooling ChoicesPart I - Tooling Choices
![Page 4: In The Toolbox – Live! (Tools of the Trade) Chris Oldwood ACCU Conference 2015 @chrisoldwood / gort@cix.co.uk](https://reader036.vdocuments.net/reader036/viewer/2022070415/56649ec15503460f94bccb17/html5/thumbnails/4.jpg)
The Right ToolThe Right Tool
![Page 5: In The Toolbox – Live! (Tools of the Trade) Chris Oldwood ACCU Conference 2015 @chrisoldwood / gort@cix.co.uk](https://reader036.vdocuments.net/reader036/viewer/2022070415/56649ec15503460f94bccb17/html5/thumbnails/5.jpg)
Finding TextFinding Text
FIND / FINDSTRFIND / FINDSTR GREP (EGREP / FGREP)GREP (EGREP / FGREP) BareGrep / BareTailBareGrep / BareTail Notepad / Notepad++Notepad / Notepad++ SEDSED AWKAWK PowerShellPowerShell Visual StudioVisual Studio GoogleGoogle
![Page 6: In The Toolbox – Live! (Tools of the Trade) Chris Oldwood ACCU Conference 2015 @chrisoldwood / gort@cix.co.uk](https://reader036.vdocuments.net/reader036/viewer/2022070415/56649ec15503460f94bccb17/html5/thumbnails/6.jpg)
The Wrong ToolThe Wrong Tool
![Page 7: In The Toolbox – Live! (Tools of the Trade) Chris Oldwood ACCU Conference 2015 @chrisoldwood / gort@cix.co.uk](https://reader036.vdocuments.net/reader036/viewer/2022070415/56649ec15503460f94bccb17/html5/thumbnails/7.jpg)
set filename=trello.jsonset releaseId=v1.5.2sed -n "/^\t\"cards\"/,/^\t}],/p" %filename% | ^egrep -i "idlist|shortUrl|idshort|name" | ^sed -n "/%releaseId%/,/shortUrl/p" | ^egrep -i "\"idshort\"|\"name\"" | ^sed "s/\s*.idShort...//" | ^sed "s/\s*.name.://" | ^sed "s/,$//" | ^sed "s/^\s*//;s/\s*$//" | ^sed "s/""//g" | ^gawk "!(NR%%3) { printf \"%%03s %%-14s %%s\n\", first, $0, second } { first=second; second=$0 }" | ^sort
![Page 8: In The Toolbox – Live! (Tools of the Trade) Chris Oldwood ACCU Conference 2015 @chrisoldwood / gort@cix.co.uk](https://reader036.vdocuments.net/reader036/viewer/2022070415/56649ec15503460f94bccb17/html5/thumbnails/8.jpg)
““If you cannot think of If you cannot think of three ways of abusing a three ways of abusing a tool, you do not tool, you do not understand how to use it.”understand how to use it.”-- Gerald Weinberg-- Gerald Weinberg
![Page 9: In The Toolbox – Live! (Tools of the Trade) Chris Oldwood ACCU Conference 2015 @chrisoldwood / gort@cix.co.uk](https://reader036.vdocuments.net/reader036/viewer/2022070415/56649ec15503460f94bccb17/html5/thumbnails/9.jpg)
Home-Grown ToolsHome-Grown Tools
![Page 10: In The Toolbox – Live! (Tools of the Trade) Chris Oldwood ACCU Conference 2015 @chrisoldwood / gort@cix.co.uk](https://reader036.vdocuments.net/reader036/viewer/2022070415/56649ec15503460f94bccb17/html5/thumbnails/10.jpg)
One-LinersOne-Liners(No Pun Intended)(No Pun Intended)
![Page 11: In The Toolbox – Live! (Tools of the Trade) Chris Oldwood ACCU Conference 2015 @chrisoldwood / gort@cix.co.uk](https://reader036.vdocuments.net/reader036/viewer/2022070415/56649ec15503460f94bccb17/html5/thumbnails/11.jpg)
> PowerShell "gci Build\Release\Company*.dll | % { $_.VersionInfo }"
> for /r /d %d in (*.*) do @if exist "%d" rmdir /q "%d" 2> nul
> for /d %d in (*) do @echo "%d" && pushd "%d" && (if exist "clean.cmd" call clean.cmd --all) && (if exist "Source\clean.cmd" pushd Source && call clean.cmd --all && popd) && popd
> sed -n "/<ProjectReference/,/<\/ProjectReference/p" proj.csproj | egrep "Name" | gawk "match($0,/>(.+)</,ary) {print ary[1]}" | sort > "%temp%\csproj-refs“ && egrep "dependency" proj.nuspec | gawk "match($0,/=\042(.+)\042 v/,ary) {print ary[1]}" | sort > "%temp%\nuspec-deps“ && diff --ignore-case --side-by-side "%temp%\csproj-refs" "%temp%\nuspec-deps"
![Page 12: In The Toolbox – Live! (Tools of the Trade) Chris Oldwood ACCU Conference 2015 @chrisoldwood / gort@cix.co.uk](https://reader036.vdocuments.net/reader036/viewer/2022070415/56649ec15503460f94bccb17/html5/thumbnails/12.jpg)
AutomationAutomation
![Page 13: In The Toolbox – Live! (Tools of the Trade) Chris Oldwood ACCU Conference 2015 @chrisoldwood / gort@cix.co.uk](https://reader036.vdocuments.net/reader036/viewer/2022070415/56649ec15503460f94bccb17/html5/thumbnails/13.jpg)
Part II – Unlikely ChoicesPart II – Unlikely Choices
![Page 14: In The Toolbox – Live! (Tools of the Trade) Chris Oldwood ACCU Conference 2015 @chrisoldwood / gort@cix.co.uk](https://reader036.vdocuments.net/reader036/viewer/2022070415/56649ec15503460f94bccb17/html5/thumbnails/14.jpg)
Pen & PaperPen & Paper
![Page 15: In The Toolbox – Live! (Tools of the Trade) Chris Oldwood ACCU Conference 2015 @chrisoldwood / gort@cix.co.uk](https://reader036.vdocuments.net/reader036/viewer/2022070415/56649ec15503460f94bccb17/html5/thumbnails/15.jpg)
Dictionary & ThesaurusDictionary & Thesaurus
![Page 16: In The Toolbox – Live! (Tools of the Trade) Chris Oldwood ACCU Conference 2015 @chrisoldwood / gort@cix.co.uk](https://reader036.vdocuments.net/reader036/viewer/2022070415/56649ec15503460f94bccb17/html5/thumbnails/16.jpg)
““Never use the words get, Never use the words get, put or nice.”put or nice.”-- My Wife’s English -- My Wife’s English TeacherTeacher
![Page 17: In The Toolbox – Live! (Tools of the Trade) Chris Oldwood ACCU Conference 2015 @chrisoldwood / gort@cix.co.uk](https://reader036.vdocuments.net/reader036/viewer/2022070415/56649ec15503460f94bccb17/html5/thumbnails/17.jpg)
Questions?Questions?
![Page 18: In The Toolbox – Live! (Tools of the Trade) Chris Oldwood ACCU Conference 2015 @chrisoldwood / gort@cix.co.uk](https://reader036.vdocuments.net/reader036/viewer/2022070415/56649ec15503460f94bccb17/html5/thumbnails/18.jpg)
Want to Know More?Want to Know More?
C Vu – In The Toolbox C Vu – In The Toolbox (http://www.chrisoldwood.com/(http://www.chrisoldwood.com/
articles.htm)articles.htm)
http://chrisoldwood.blogspot.comhttp://chrisoldwood.blogspot.com
http://github.com/chrisoldwoodhttp://github.com/chrisoldwood
@chrisoldwood / [email protected]@chrisoldwood / [email protected]