Not in particular order
- Perfectionism
- Revision Control
- Continuous XXX
- Async your life
- Persistence
- Testing
- Communitcation
- GTD (o_O)
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
namespace AutoAssemblyVersion | |
{ | |
/// <summary> | |
/// Contains string extensions. | |
/// </summary> |
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using Restuta; | |
using System.Text; | |
namespace Restuta.FieldSavers | |
{ | |
/// <summary> |
while not inFSO.FileExists(pdfFileName1) and not inFSO.FileExists(pdfFileName2) | |
ExecuteSQL("waitfor DELAY '00:00:02'") |
Enumerable.Range(0, 1000000) | |
.AsPrallel() | |
.Agregate((x, y) => x + y); |
<html> | |
<head> | |
<Script Language="JavaScript"> | |
//мой скрипт | |
Lets = new Date(); | |
var mya = Lets.getMonth(); | |
var mya1 = mya + 1 | |
document.write("<font color='green'>Привет. Сегодня " + Lets.getDate() + "/" + mya1 + "/" + Lets.getFullYear() + ". Я написала этот скрипт, потому, что ... так оно и есть!</font>"); |
using System; | |
using System.Threading; | |
using System.Threading.Tasks; | |
namespace ConsoleApplication3 | |
{ | |
class ThreadUnsafe | |
{ | |
public static int _val1 = 1; | |
public static int _val2 = 1; |
Not in particular order
/* | |
Please remove this comment only after placing this template to ReSharper template editor. | |
Existance of this comment during paste will automatically align macroses in shown order. | |
Macroses: | |
$Entity$ - EntityName | |
$entity$ - entityName | |
$entity_in_when_part$ - entity_name | |
$entities_in_when_part$ - entity_name_in_plural | |
$usage_of_initial_parameters_in_ctor$ - arguments of factory method supplied to constructor |
using System; | |
using System.Collections.Generic; | |
namespace PerformanceMeasurementMadeEasy | |
{ | |
public static class Measure | |
{ | |
private static readonly System.Diagnostics.Stopwatch stopwatch = new System.Diagnostics.Stopwatch(); | |
/// <summary> | |
/// Will be executed at the end of each peformance measurment, by default writes elapsed ms to Console |
{ | |
// 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" | |
} |