This file contains 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
package be.baes | |
import org.wasabi.app.AppServer | |
import org.wasabi.app.AppConfiguration | |
import org.wasabi.interceptors.parseContentNegotiationHeaders | |
fun main(args: Array<String>) { | |
val config = AppConfiguration(4000, "This is me on port 4000", true) | |
val server = AppServer(config) |
This file contains 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
<td align="left" valign="top" class="content_bg3"> | |
<table width="100%" cellspacing="5" cellpadding="5" border="0" bordercolor="#636531" height="250"> | |
<tr> | |
<td align="left" valign="top" class="content_bg3"> | |
<font class="content_text"><p>Hi Interfriends,</p> | |
<p>Thanks again for signing up for this experiment. Here's some interesting things I've come upon this week. If you forwarded this (or if it was forwarded to you) a reminder: You can sign up at <a href="http://hanselman.com/newsletter">http://hanselman.com/newsletter</a> and the <a href="http://www.hanselman.com/blog/CategoryView.aspx?category=Newsletter">archive of all previous Newsletters is here</a>.</p> | |
<p>Remember, you get the newsletter here first. This one will be posted to the blog as an archive in a few weeks. </p> |
This file contains 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
Namespace Commands | |
Public Class CommandExecuter | |
Public Sub Execute(Of TCommand As {ICommand, New})() | |
Dim command = New TCommand() | |
command.Execute() | |
End Sub | |
Public Sub Execute(Of TCommand As {ICommandWithParameter(Of TParameter), New}, TParameter)(ByVal parameter As TParameter) | |
Dim command = New TCommand() |
This file contains 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; | |
using System.Collections.Generic; | |
namespace OrderPackages | |
{ | |
public class PackagesSorter:IComparer<string> | |
{ | |
private static readonly char LevelSeperator = ".".ToCharArray()[0]; | |
private const string PreRelease = "-pre"; |
This file contains 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
internal static class Container | |
{ | |
private static class PerType<T> | |
{ | |
public static ILog Log; | |
} | |
public static ILog GetOrAdd<T>() | |
{ | |
var log = PerType<T>.Log; |
This file contains 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
Module Module1 | |
Sub Main() | |
Dim s = New subclass | |
s.test() | |
Console.ReadLine() | |
End Sub | |
Public Interface IInterface | |
Sub test() |
This file contains 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; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
using System.Threading.Tasks; | |
namespace ConsoleApplication1 | |
{ | |
class Program | |
{ |
This file contains 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
Imports System.Dynamic | |
Module Module1 | |
Sub Main() | |
Dim c2 As Object = New C |
This file contains 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 EasyHttp.Infrastructure; | |
using Machine.Specifications; | |
namespace EasyHttp.Specs.Specs | |
{ | |
public class When_baseuri_is_null_and_query_is_null | |
{ | |
Establish context = () => | |
{ | |
uriComposer = new UriComposer(); |
This file contains 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; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
using System.Data.SqlServerCe; | |
namespace SimpleDataC | |
{ | |
class Program | |
{ |
NewerOlder