This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Learn a variety of programming paradigms: | |
Write a program in assembly language | |
Write an application in a functional language | |
Write an application in an object-oriented language | |
Write an application in a prototype-based language | |
Write an application in a logic programming language | |
Write an application using the Actor model | |
Write an application in Forth [C] | |
Experience the ins and outs of programming for different platforms: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System.Web.Mvc; | |
/// <summary> | |
/// URL Extension Class | |
/// </summary> | |
public static class Url | |
{ | |
/// <summary> | |
/// Returns a relative URL to Home. | |
/// </summary> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class ApiAreaRegistration : AreaRegistration | |
{ | |
public override string AreaName | |
{ | |
get { return "Api"; } | |
} | |
public override void RegisterArea(AreaRegistrationContext context) | |
{ | |
const string url = "Api/Issues"; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private bool TryToFindGuid( string html, out string guid ) | |
{ | |
const string guidRegexString = @"[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}"; | |
var match = Regex.Match( html, guidRegexString, RegexOptions.Compiled ); | |
guid = match.Value; | |
return match.Success; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set history=700 | |
filetype plugin on | |
filetype indent on | |
set autoread | |
set nocompatible | |
" Show line numbers | |
set number |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
tfpt unshelve "Shelveset name" /migrate /source:"$/project/branch/1.2" /target:"$/project/trunk" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'net/http' | |
require 'uri' | |
uri = URI.parse('http://hidemyaccess.info/includes/process/php?action=update') | |
response = Net::HTTP.post_form(uri, {'u' => 'http://www.google.com'}) | |
puts response |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public static class SerializationExtensions | |
{ | |
public static string Serialize<T>( this T obj ) | |
{ | |
var serializer = new DataContractSerializer( obj.GetType() ); | |
using ( var writer = new StringWriter() ) | |
{ | |
using ( var stm = new XmlTextWriter( writer ) ) | |
{ | |
serializer.WriteObject( stm, obj ); |
Glenn Block @gblock
Justin Rushbatch @jrusbatch
- C# on a diet
- node.js + npm
- nuget
OlderNewer