Not in particular order
- Perfectionism
- Revision Control
- Continuous XXX
- Async your life
- Persistence
- Testing
- Communitcation
- GTD (o_O)
| using System; | |
| using System.Configuration; | |
| using System.Data.Common; | |
| public static class Migrate | |
| { | |
| public static void Start() | |
| { | |
| try |
| 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 | |
| { |
| // 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; |
| /// <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> |
| # 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/ |
Not in particular order
| using System; | |
| using System.Threading; | |
| using System.Threading.Tasks; | |
| # Test | |
| namespace ConsoleApplication3 | |
| { | |
| class ThreadUnsafe | |
| { |
| package client; | |
| import com.google.gwt.core.client.EntryPoint; | |
| import com.google.gwt.user.client.ui.Button; | |
| import com.google.gwt.user.client.ui.RootPanel; | |
| import java.util.ArrayList; | |
| import java.util.LinkedHashMap; | |
| import java.util.List; |
| { | |
| // This build system will build your cs file to exe file and will run it | |
| "cmd": ["del ${file/\\.cs/\\.exe/} 2>NUL", "& csc /nologo /out:${file/\\.cs/\\.exe/} $file", "& ${file/\\.cs/\\.exe/}"], | |
| "file_regex": "^(...*?)[(]([0-9]*),([0-9]*)[)]", | |
| // By default csc is not in your PATH, so add it to your path | |
| // or uncomment "path" and check that it has correct value | |
| //"path": "C:/Windows/Microsoft.NET/Framework64/v4.0.30319/", | |
| "shell": true, // Without this sublime has hard times to parse "&" in out command line | |
| "selector": "source.cs" | |
| } |
| // Resharper says for Add method: | |
| // Impure method is called for readonly field of value type | |
| return (DateTimeOffset.MinValue.Add(value) > someDateTimeOffset); | |
| // Is this false positive? |