News in the Category: Regex Subscribe to the rss of this category.

Total posts: 844 | Sort by Views | Sort by Hits

Stubbing the Orchard content manager

More Whidbey stuff, November 13, 2014
Views: 82 | Hits 1

Ive shown in the previous post how to build fake content items for testing purposes. When the code being tested gets content items from the content manager, however, you will also need a stub for the ...

Awaiting Expressions

The Code Project Latest Articles, October 28, 2014
Views: 67 | Hits 6

Using the await keyword with Expression-Trees...

Working with Validators and Messages in AngularJS

OdeToCode Latest Articles, October 16, 2014
Views: 84 | Hits 8

In a previous post we looked at a custom validation directive to confirm a user’s password. The bigger picture from the post was not about how to register a user for a website, but how to work w...

Building a WebAPI route in Orchard

More Whidbey stuff, October 3, 2014
Views: 474 | Hits 1

There’s a number of differences between regular MVC controllers and WebAPI controllers that make the latter much more suitable to building APIs: they are REST-centric, they can negotiate the for...

Features Of ES6 Part 7: Template Literals

K. Scott Allen, September 18, 2014
Views: 796 | Hits 5

Template literals provide JavaScript with some basic string formatting capabilities. Just like many template technologies, template literals in JavaScript consist of literal text, and placeholders whe...

Say no to grep, say hello to "real" code searching with Sando Code Search Extension

MSDN: Coding4Fun, September 8, 2014
Views: 869 | Hits 14

So there we are, in the middle of a big Solution and we need to quickly search for something, something beyond a simple term. We need to do a web search like search. A search where a full text index w...

Creating Reflection Effect in WPF - Expression Blend

The Code Project Latest Articles, September 3, 2014
Views: 825 | Hits 3

Creating Reflection Effect in WPF - Expression Blend...

SQL Server Reporting Services Basics: Customizing SSRS Reports

Simple Talk, August 27, 2014
Views: 778 | Hits 1

While the Reporting Wizard and basic report tables will do for prototyping, very soon we'll want to add some finesse to our reports, and allow our report users to create different views of the same da...

I lost 40lbs using these two amazing simple steps–you can too!

Method ~ of ~ failed, August 15, 2014
Views: 860 | Hits 15

TL;DR I got off my butt, started eating better and lost 40lbs in ~100 days. You can too. This year started very depressing personally as each look in the mirror showed another chin growing under the...

C# 6.0 Features Part II : Primary Constructors

K. Scott Allen, August 14, 2014
Views: 921 | Hits 41

Primary constructors are a feature youll find in a few programming languages, including F#, Scala, and Kotlin. A primary constructor allows us to define a constructor for a type and capture the constr...

Features of ES6 Part 3: Default Parameter Values

K. Scott Allen, August 13, 2014
Views: 859 | Hits 12

If a JavaScript function takes two parameters, we have always had the ability to invoke the function and pass two parameters, or one parameter, or no parameters, or three parameters if we wanted. In c...

Your next CMS should be Craft or ExpressionEngine

Enterprise jQuery, August 11, 2014
Views: 865 | Hits 13

When it comes to content management systems there are hundreds of thousands of options. Even within a specific language like PHP there’s a vast array of different choices. I’m going to talk about two ...

Thoughts on Angular's Controller As Syntax

K. Scott Allen, August 11, 2014
Views: 865 | Hits 9

I’ve been a bit late to the Angular controller as syntax. I was skeptical of the feature at first, and with an Angular project already in flight, I felt it wasn’t the type of change to ma...

Debugging AngularJS In The Console

K. Scott Allen, July 29, 2014
Views: 537 | Hits 19

Although Batarang gets a lot of attention, there may come a time when you need to dig a bit deeper into an Angular application, particularly if you are debugging or spelunking someone elses applicatio...

Expression Blend - Playing with Sample Data (WPF , Windows Phone)

The Code Project Latest Articles, July 23, 2014
Views: 184 | Hits 5

Expression Blend - Playing with Sample Data (WPF , Windows Phone)...

Handle GridView.OnSorting() and create sorting expression dynamically using LINQ

The Code Project Latest Articles, July 18, 2014
Views: 117 | Hits 6

How to create a sorting expression from GridViewSortEventArgs using LINQ Expression Tree....

Closures in Swift

Sahil Malik - blah.winsmarts.com, June 19, 2014
Views: 85 | Hits

SharePoint Training: more information Closures most frequently used in Jav...

An alternative introduction to Genetic and Evolutionary Algorithms

The Code Project Latest Articles, June 11, 2014
Views: 96 | Hits 5

This article presents a very small evolutionary algorithm capable of discovering some math expressions to give the results for the values you provide....

Javascript Lambda Expressions

The Code Project Latest Articles, June 3, 2014
Views: 169 | Hits 12

This is a jQuery plugin which can be used to evaluate lambda expressions...

Building Multiple Filters with Lo-Dash and AngularJS

K. Scott Allen, May 29, 2014
Views: 154 | Hits 11

You can try the code in this post yourself. Imagine we have the following movie data returned by an API call from the server. var movies = [ { title: "Godzilla", genre:"Action", released:...

Debugging AngularJS Data Binding

K. Scott Allen, May 27, 2014
Views: 148 | Hits 13

One common question Ive gotten about AngularJS revolves around the debugging of binding expressions like {{ message }}. How does one track down expressions that arent working? There are two approaches...

3-Address Code Generator

The Code Project Latest Articles, May 24, 2014
Views: 119 | Hits 7

A Java program to translate arithmetic expression to three-address codes...

Fix: Azure Disabled over 49 cents? Beware of using a Java Virtual Machine on Microsoft Azure

WebLog of Ken Cox [MVP], May 18, 2014
Views: 528 | Hits 1

I love my MSDN Azure account. I can spin up a demo/dev app or VM in seconds. In fact, it is so easy to create a virtual machine that Azure shut down my whole account! Last night I spun up a Java Virt...

Fix: Azure Disabled over 49 cents? Beware of using a Java Virtual Machine on Microsoft Azure

WebLog of Ken Cox [MVP], May 18, 2014
Views: 132 | Hits 10

I love my MSDN Azure account. I can spin up a demo/dev app or VM in seconds. In fact, it is so easy to create a virtual machine that Azure shut down my whole account! Last night I spun up a Java Virt...

Filtering List Data with a jQuery-searchFilter Plugin

Rick Strahls WebLog, May 12, 2014
Views: 128 | Hits 5

When dealing with list based data on HTML forms, filtering that data down based on a search text expression is an extremely useful feature. Were used to search boxes on just about anything these days ...

On accessing chains of potentially null properties

More Whidbey stuff, April 21, 2014
Views: 99 | Hits

Raise your hand if you’ve ever written code looking like this: var result = default(int);if (fubar != null) { var foo = fubar.Foo; if (foo != null) { var bar = foo.Bar; if (...

On accessing chains of potentially null properties

More Whidbey stuff, April 21, 2014
Views: 190 | Hits 16

Raise your hand if youve ever written code looking like this: var result = default(int);if (fubar != null) { var foo = fubar.Foo; if (foo != null) { var bar = foo.Bar; if (bar ...

Parsing a Key-Value pair with a Regular Expression

The Code Project Latest Articles, April 10, 2014
Views: 202 | Hits 6

A walk-through on how a Key-Value pair can be parsed using a PERL-compatible regex engine...

Using Linq with Regular Expression results

The Code Project Latest Articles, March 28, 2014
Views: 179 | Hits 16

Want to use Linq, or Linq methods with the results from your Regex? Yes, so did I...annoying isn't it? So...a solution....

IoT Thermal Printer, all with a little Py and Pi

MSDN: Coding4Fun, March 28, 2014
Views: 175 | Hits 5

Today's Hardware Friday has I think zero Microsoft technology in it. No Netduino, no .Net, no C#, nothing. But I thought it was really cool and well, sometimes we really need to look outside of our li...

Building Better Models For AngularJS

K. Scott Allen, March 17, 2014
Views: 177 | Hits 25

Retrieving JSON data and binding the data to a template is easy with Angular, so easy that quite a bit of Angular code appears like the following. <button title="Make movie longer" class="btn" ...

ViewState

The Code Project Latest Articles, February 28, 2014
Views: 149 | Hits 3

ViewStateis the mechanism that allows state values to be preserved across page postbacks.Because of the stateless nature of web pages, regular...

ViewState

The Code Project Latest Articles, February 28, 2014
Views: 168 | Hits 1

ViewStateis the mechanism that allows state values to be preserved across page postbacks.Because of the stateless nature of web pages, regular...

Learn Regular Expressions (RegEx) with Ease

The Code Project Latest Articles, February 24, 2014
Views: 189 | Hits 11

In this article we will try to understand what regex is and how to remember those cryptic syntaxes easily....

Expresso - A Tool for Building and Testing Regular Expressions

The Code Project Latest Articles, February 18, 2014
Views: 180 | Hits 11

For learning, building, and debugging .NET Framework regular expressions...

Thoughts On JavaScript Generators

K. Scott Allen, February 17, 2014
Views: 175 | Hits 8

In a previous post we used a Node.js script to copy a MongoDB collection into Azure Table Storage. The program flow is hard to follow because the asynch APIs of both drivers require us to butcher the ...

Multi Threaded WebScraping in C#

The Code Project Latest Articles, February 5, 2014
Views: 463 | Hits 25

Beginner to Advance - Multithreaded Web Scraping with Examples of WebBrowser, WebClient, HttpWebRequest/HttpWebResponse, Regex, BackgroundWorker....

Add Delimiters to Numbers in JavaScript Using Regex

The Code Project Latest Articles, February 1, 2014
Views: 248 | Hits 9

Use regular expression to add user-defined delimiters to numbers in JavaScript...

What's Changing in MongoDB 2.6 and Why?

The MongoDB NoSQL Database Blog, January 27, 2014
Views: 334 | Hits 7

By Alex Komyagin, Technical Services Engineer in MongoDB’s New York OfficeThe MongoDB Support Team has broad visibility into the communitys use of MongoDB, issues they encounter, feature request...

Before you grab that content, think

Brendan Tompkins, January 26, 2014
Views: 207 | Hits 7

Recently, I’ve been asked about copyright matters and fair use. I thought I’d take a few minutes and post here and hopefully, begin posting here on a regular basis!! Whenever you take an image or some...

Drag it

The Code Project Latest Articles, January 24, 2014
Views: 203 | Hits 3

Drag values up/down like in Expression Design & Blend...

Help Improve the Markdown Port

AspNetResources.com articles, news and updates, January 24, 2014
Views: 194 | Hits 3

Almost an eternity ago, I ported John Gruber's Markdown to C#. The Markdown syntax is known quite well outside of the .NET community, so I wanted to bring it to this camp. Even though I've se...

AngularJS Training

K. Scott Allen, January 21, 2014
Views: 204 | Hits 1

At the end of last year I put together and taught a 2 day workshop on AngularJS fundamentals at NDC London, which due to popular demand I’m offering as part of a larger class for ProgramUtviklin...

Gratitude And Happiness

Peter Brombergs UnBlog, January 9, 2014
Views: 208 | Hits 3

A friend posted somebody's link to a short movie about gratitude and happiness, and I instantly got the ""connection"" because it parallels many of the things that have been going on in my life ri...

Let's Take A Closer Look at Gun Deaths in the United States

Peter Brombergs UnBlog, December 23, 2013
Views: 193 | Hits 7

This is the kind of emotional rhetoric and propaganda promoted by the progressive liberal anti-gun movement:""Over 11,000 people died from guns this year, Over 200 were children. 2014 needs to be th...

Triangle List Generator for Sphere

The Code Project Latest Articles, December 20, 2013
Views: 253 | Hits 6

This article demonstrates a simple and fast method for generating a list of regular triangles that form a unit sphere surface...

Giving Clarity to LINQ Queries by Extending Expressions

Simple Talk, November 15, 2013
Views: 206 | Hits 13

LINQ expressions can be made much easier to comprehend and modify by using extension methods to create pipes and filters. Ed takes a working LINQ expression and makes stepwise improvements to it to ma...

Managing Active Directory with PowerShell

Simple Talk, November 11, 2013
Views: 206 | Hits 8

For the busy administrator of a windows domain, any regular task or housekeeping process should be automated, and the Cmdlets that are now provided with Active Directory have improved to the point tha...

Rendering Lists in Irregular Columns Using iText / iTextSharp

Scott on Writing, October 15, 2013
Views: 313 | Hits 4

Todays blog post is going to be a bit obscure, but I stumbled across this problem recently and found a workaround that I thought would be worth sharing for anyone else who found themselves in my place...

Fast custom formulae, filtering and sorting in DataGrids

The Code Project Latest Articles, October 15, 2013
Views: 229 | Hits 5

Tame the WinForms and WPF inbuilt DataGrids to work with 200,000+ rows by using compiled Linq Expressions...