Get elements by class name in JavaScript

A minified function to all elements with a given classname, without using libraries such as jQuery.

Read more No Comments »

Read a URL in Java

A simple method that reads the HTTP response from a URL request and returns the content as a string in Java.

Read more No Comments »

Slow build times in Visual Studio

This simple change of preferences can significantly reduce the time it takes to start debugging a web application in Visual Studio 2010.

Read more No Comments »

Enumerate a HashMap in Java using Iterator

Shows how to enumerate over a HashMap in Java by getting it’s keys and using the Iterator generic interface.

Read more No Comments »

System.Threading.Tasks.Parallel.For() method example and performance analysis

Here is a quick demo of using the new Parallel class for easy utilization of all the cores on your processor for improved performance.

Read more No Comments »

Insert into table variable from select statement

Some examples of selecting into a table variable in MS SQL Server.

Read more No Comments »

© 2017 Garry Passarella. All Rights Reserved. Facebook Twitter Twitter