Articles

JavaScript Introduction

By: Stephen Patrick | 13 Jul 2016 | Category: JavaScript Introduction

JavaScript Introduction

JavaScript is an important technology, in modern web development. JavaScript allows us to add dynamic behavior to our pages. Over the last number of years there has being many new frameworks and libraries created that simplify working with JavaScript. JavaScript is an important technology used in many large applications.

Read More

Git Quick Command Reference

By: Stephen Patrick | 12 Jul 2016 | Category: GIT

Git Quick Command Reference

Git is a version control system. More specifically it is a distributed version control system, that facilitates working in distributed teams. Git provides a number of commands for performing different tasks.

Read More

PowerShell: Search And Replace

By: Stephen Patrick | 10 Jul 2016 | Category: PowerShell File Processing

PowerShell: Search And Replace

We can use PowerShell to search for text and replace it in one or more files. We can use the Set-Content and the replace operator to achieve this. Let’s take a look at an example of replacing line numbers from a file with PowerShell.

Read More

PowerShell Searching With Regular Expressions

By: Stephen Patrick | 10 Jul 2016 | Category: PowerShell File Processing

PowerShell Searching With Regular Expressions

Regular expressions provide a powerful mechanism to search a file for text that has a particular pattern. We can use a regular expression to define a particular pattern. For example, we can define a regular expression to match a phone number, email, Uniform Resource Locator (URL) etc. We can define a regular expression to match a piece of text.

Read More

PowerShell Search File For Pattern

By: Stephen Patrick | 10 Jul 2016 | Category: PowerShell File Processing

PowerShell Search File For Pattern

PowerShell provides functionality to search the contents of one or more files for a pattern. The Select-String cmdlet enables us to achieve this goal.

Read More

PowerShell Read File Contents

By: Stephen Patrick | 10 Jul 2016 | Category: PowerShell File Processing

PowerShell Read File Contents

PowerShell offers a number of cmdlets for working with files. Sometimes we may need to retrieve the contents of file, to display it, or process it. PowerShell provides a number of different ways to access the contents of a file. Let’s say we have a file called text.txt in the current directory. The file contains the following:

Read More

Go First Example

By: Stephen Patrick | 10 Jul 2016 | Category: Go Introduction

Go First Example

As a first example lets write a Go Program to print “Hello World!”. As mentioned in order to write Go programs we must follow certain conventions. The code that we write must exist in a workspace. Moreover, if we wish to reuse existing code within our programs that is not part of the standard library it must exist on the GOPATH environment variable.

Read More

Linux Shell Introduction

By: Stephen Patrick | 08 Jul 2016 | Category: Linux Shell

Linux Shell Introduction

The Shell is one of most important components of the Linux operating system. When you run a script, or enter commands at a terminal and execute them the shell is the program that interprets and executes the commands. The shell is the layer or interface between a user and the Linux system. The shell to a large extent dictates the way in which you work with commands on a Linux system.

Read More

PowerShell Providers

By: Stephen Patrick | 08 Jul 2016 | Category: PowerShell Introduction

PowerShell Providers

PowerShell providers abstract different resources in order to provide a common unified interface. Providers enable you to work with different resources as you would when working with the FileSystem. We can list the installed providers that are currently active on the system using the Get-PSDrive Cmdlet.

Read More

PowerShell Pipeline

By: Stephen Patrick | 08 Jul 2016 | Category: PowerShell Introduction

PowerShell Pipeline

The PowerShell pipeline facilitates passing the output of a command as input to another. Pipelines are a common mechanism for joining commands; for example the Linux shell provides this feature. However, the PowerShell Pipeline is more advanced. Other pipeline implementations work primarily with text, while the PowerShell pipeline operates on .Net objects.

Read More

PowerShell Cmdlet

By: Stephen Patrick | 08 Jul 2016 | Category: PowerShell Introduction

PowerShell Cmdlet

You can think of a cmdlet as being similar to a shell command. A cmdlet performs a task. PowerShell comes with a number of cmdlets that follow a particular naming convention. They follow a Verb-Noun naming convention e.g. Get-Process, Get-ChildItem, Get-Command etc. The PowerShell interactive command line shell and integrated development environment ISE provide autocomplete on command names.

Read More

Linux Shell Environment Variables

By: Stephen Patrick | 07 Jul 2016 | Category: Linux Shell

Linux Shell Environment Variables

Variables are essential when it comes to programming. Variables allow us to give a symbolic name to a value. The value which the variable references could be stored directly by the variable or as a reference to the memory location where the value is stored.

Read More

PowerShell Introduction

By: Stephen Patrick | 07 Jul 2016 | Category: PowerShell Introduction

PowerShell Introduction

Windows PowerShell provides a .Net environment that provides a powerful command line shell, and a scripting environment for the windows platform. PowerShell is useful for a number of tasks, including system administration. Windows PowerShell provides a superset of the functionality provided by the CMD.exe DOS like command line environment provided by Windows. PowerShell can be used as interactive command line shell, or as a scripting language.

Read More

NLTK Python Tokenizing To Sentences

By: Stephen Patrick | 05 Jul 2016 | Category: Python NLTK Tokenization

NLTK Python Tokenizing To Sentences

The Natural Language Toolkit (NLTK) provides types for tokenizing text. Tokenization is a method for breaking up text into different levels of granularity. For example, given some text, we can break it up into paragraphs, sentences, and words. We mentioned different levels of granularity, as the level you choose to work at is normally related to the task that you are preforming.

Read More

Dot Net Base Class Library

By: Stephen Patrick | 05 Jul 2016 | Category: CSharp Introduction

Dot Net Base Class Library

The .Net Base class library provides data types for commonly used behaviours. The .net base class libraries provide you with functionality that you can incorporate into your programs. The base class library provides functionality such as I/O Input and output processing, thread processing, graphics, security, remoting, database processing, and Graphical user interfaces to name a few.

Read More

Dot Net Common Type System

By: Stephen Patrick | 05 Jul 2016 | Category: CSharp Introduction

Dot Net Common Type System

The common type system is a specification that describes a common set of types that can be executed by the common language runtime. The common type system defines the data types, which facilitate cross-language interoperability. By having a common set of types, code written in one language can easily interoperate with code written in a different language as long as the code targets the common type system.

Read More

Dot Net Common Language Runtime

By: Stephen Patrick | 05 Jul 2016 | Category: CSharp Introduction

Dot Net Common Language Runtime

The Common Language Runtime (CLR) is the runtime execution environment and is at the core of the framework. If you are familiar with Java and the Java virtual machine, the Common Language Runtime is similar in some respects. The code that the common language runtime executes is known as managed code.

Read More

Dot Net Framework Introduction

By: Stephen Patrick | 05 Jul 2016 | Category: CSharp Introduction

Dot Net Framework Introduction

Microsoft introduced the .net platform around 2002, with the intention of improving software development and addressing current limitations when developing for the windows platform. Before the .net framework was released software developers that created windows applications relied on the COM programming model. COM stands for component object model. COM allowed developers to write code and package this code into reusable libraries. These libraries allowed code to not only be shared between applications, but allows between programming languages. A Visual Basic developer, writing code could make use of a library written by a C++ developer

Read More

Java Assertions

By: Stephen Patrick | 01 Jul 2016 | Category: Java Constructs

Java Assertions

A Java assertion is a statement written in the java programming language. An assertion allows you to test an assumption in your code. Assertions were added to the Java language at version 1.4. Assertions can be used to check the pre conditions, post conditions and invariants of your code.

Read More

Java Break And Continue Statements

By: Stephen Patrick | 01 Jul 2016 | Category: Java Constructs

Java Break And Continue Statements

The java break and continue statements are useful constructs that allow you to leave execution of a loop or skip an iteration of a loop structure. These statements are normally used with a selection construct such as if, else, or else if construct.

Read More

Popular Articles