A Pen by Anton Vynogradenko on CodePen.
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; | |
namespace AutoAssemblyVersion | |
{ | |
/// <summary> | |
/// Contains string extensions. | |
/// </summary> |
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
function Foo() { | |
setTimeout( | |
function() { console.log(this); }, | |
200); | |
} | |
function Bar() { | |
setTimeout( | |
() => { console.log(this); }, | |
200); |
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.IO; | |
using System.Linq; | |
using Restuta; | |
using System.Text; | |
namespace Restuta.FieldSavers | |
{ | |
/// <summary> |
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
while not inFSO.FileExists(pdfFileName1) and not inFSO.FileExists(pdfFileName2) | |
ExecuteSQL("waitfor DELAY '00:00:02'") |
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
function mapValues(obj, fn) { | |
return Object.keys(obj).reduce((result, key) => { | |
result[key] = fn(obj[key], key); | |
return result; | |
}, {}); | |
} | |
function pick(obj, fn) { | |
return Object.keys(obj).reduce((result, key) => { | |
if (fn(obj[key])) { |
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
Enumerable.Range(0, 1000000) | |
.AsPrallel() | |
.Agregate((x, y) => x + y); |
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
<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>"); |
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.Threading; | |
using System.Threading.Tasks; | |
namespace ConsoleApplication3 | |
{ | |
class ThreadUnsafe | |
{ | |
public static int _val1 = 1; | |
public static int _val2 = 1; |
Not in particular order
- Perfectionism
- Revision Control
- Continuous XXX
- Async your life
- Persistence
- Testing
- Communitcation
- GTD (o_O)