Monthly Archives: %sJune 2013

HTML template specifications

For the past couple days I have reading up on the new specifications for the <template> tag in HTML 5.1. This new tag allows you to specify a client side template. Although the concept of templates aren’t new its good to see the W3C community coming up with a standard.

In the past to create a “template” you would typically define a div tag with the elements, then you would hide this div by using CSS code display: none

To learn more check out W3C specifications for template.

By |June 26th, 2013|Coding|0 Comments

History of Programming Languages

The history of programming, brought to you by Veracode.com

History-Of-Programming-Languages-Veracode

By |June 18th, 2013|Coding|0 Comments

Command line utility to copy files to Azure’s blob storage

I am in the process of moving a client’s site from a traditional web hosting platform to azure’s cloud service. The web app uses a sql database that has a file name reference to images in a physical folder on the web server. I need to get these images into an Azure’s blob storage.

To get these images uploaded I decided to use a command line tool called “AzCopy”. You can learn more about the project at: http://blogs.msdn.com/b/windowsazurestorage/archive/2012/12/03/azcopy-uploading-downloading-files-for-windows-azure-blobs.aspx.

The link to download the utility is located on Github.

Here is a sample command:

AzCopy C:webrootiisimages.site.comwwwrootuploads 
https://CONTAINER_NAME.blob.core.windows.net/uploads/ /destkey:[AZURE KEY]

Enjoy!

By |June 14th, 2013|Coding|0 Comments

VBScript snippet to clean up old files

I wrote this basic VBScript sample to delete old .bak files from a particular folder if its older than X number of days.

By |June 13th, 2013|Coding, Sample Code|0 Comments

Simple c# example on how to use Koogra

This is a sample code for C# to read up an excel file and return the results in a CSV format using the Koogra library.

 

By |June 13th, 2013|Coding, Sample Code|0 Comments