Tag Archives: powershell

The Year of Code

computer programming2014 has been a great year. I’ve been writing programs in various languages for the better part of 3 decades, though I would have never defined myself as a ‘programmer’. In 2013 I recognized a handful of projects that would simplify some of my work, so earlier this year I picked a couple and have completed them. The result is that I now have MUCH more confidence in my ability to write code and am pursuing more complicated projects to continue developing my skill set. Here’s a list of some of the things that I’ve completed.

Continue reading

How I Learned Data Munging

cleaning dataAny project involving data requires a specific format. Visualization libraries such at ggplot2 or matplotlib work with specific types of data. Any modeling or prediction is going to require a specific format. Most of the time a project requires several iterations of plotting or analysis, so data munging is a skill that you’ll use a LOT.

Continue reading

Cleaning URL Data in PowerShell


Fatal error: Uncaught Error: Call to a member function id() on array in /nfs/c04/h01/mnt/67823/domains/christonard.com/html/wp-content/plugins/crayon-syntax-highlighter/crayon_formatter.class.php:36 Stack trace: #0 /nfs/c04/h01/mnt/67823/domains/christonard.com/html/wp-content/plugins/crayon-syntax-highlighter/crayon_formatter.class.php(538): CrayonFormatter::format_code('', Array, Object(CrayonHighlighter)) #1 [internal function]: CrayonFormatter::delim_to_internal(Array) #2 /nfs/c04/h01/mnt/67823/domains/christonard.com/html/wp-content/plugins/crayon-syntax-highlighter/crayon_formatter.class.php(516): preg_replace_callback('#()#msi', 'CrayonFormatter...', '$file = Get-Con...') #3 /nfs/c04/h01/mnt/67823/domains/christonard.com/html/wp-content/plugins/crayon-syntax-highlighter/crayon_highlighter.class.php(166): CrayonFormatter::format_mixed_code('$file = Get-Con...', Object(CrayonLang), Object(CrayonHighlighter)) #4 /nfs/c04/h01/mnt/67823/domains/christonard.com/html/wp-content/plugins/crayon-syntax-highlighter/crayon_hig in /nfs/c04/h01/mnt/67823/domains/christonard.com/html/wp-content/plugins/crayon-syntax-highlighter/crayon_formatter.class.php on line 36