Not in particular order
- Perfectionism
- Revision Control
- Continuous XXX
- Async your life
- Persistence
- Testing
- Communitcation
- GTD (o_O)
using System; | |
using System.Threading; | |
using System.Threading.Tasks; | |
# Test | |
namespace ConsoleApplication3 | |
{ | |
class ThreadUnsafe | |
{ |
Not in particular order
# Usage | |
# Commit-Project ABB-499 | |
# This command will commit with message from issue ABB-499 | |
# Commit-Project ABB-499 "Foo bar" | |
# This command will commit with message from issue ABB-499 and "Foo bar" at the end | |
# | |
# Script may once ask you JIRA url, your user name and password. | |
# You can use -Verbose modifier to get more details what script do | |
# Requires PsGet http://psget.net/ |
/// <summary> | |
/// Controller Factory class for instantiating controllers using the Windsor IoC container. | |
/// </summary> | |
public sealed class WindsorControllerFactory : DefaultControllerFactory | |
{ | |
private readonly IWindsorContainer _container; | |
/// <summary> | |
/// Creates a new instance of the <see cref="WindsorControllerFactory"/> class. | |
/// </summary> |
// Kiev ALT.NET: NoSQL | |
// Install RavenDb from http://ravendb.net/ , run server | |
// Reference RavenDB from NuGet | |
// Compile and execute this code | |
// Enjoy | |
using System; | |
using System.Linq; | |
using Raven.Client.Document; | |
using Raven.Client.Indexes; |
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
using OrderId = System.String; | |
using Address = System.String; | |
using System.Reactive.Subjects; | |
class Program | |
{ |
using System; | |
using System.Configuration; | |
using System.Data.Common; | |
public static class Migrate | |
{ | |
public static void Start() | |
{ | |
try |
# Usage | |
# PushToStaging "Foo bar" | |
# More details http://blog.chaliy.name/post/7772955245/automatic-deploy | |
param( | |
[Parameter(ValueFromPipeline=$true, ValueFromPipelineByPropertyName=$true, Mandatory=$true, Position=0)] | |
$Message = "" | |
) | |
using System; | |
using System.Diagnostics; | |
public class Program | |
{ | |
public static class Runner | |
{ | |
public static int Test1 = 0; | |
public static void CodeInChildAppDomain() | |
{ |
public static void Main (string[] args) | |
{ | |
var items = from i in new []{1} | |
let x = SideEffect(i) | |
select i; | |
Somemething(items); | |
} | |
public static string SideEffect(int i){ |