Skip to content

Instantly share code, notes, and snippets.

Hacking fast and slow.

Anton Vynogradenko Restuta

Hacking fast and slow.
View GitHub Profile
View RobotTest.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace RobotConsole
View redux-localStorage-module.js
/** @flow */
import Immutable from 'immutable'
import { createSelector } from 'reselect'
const LOCAL_STORAGE_KEY = 'LocalStorageModule'
const ACTION_TYPES = {
View index.html
<!DOCTYPE html>
<meta charset="utf-8">
<link rel="stylesheet" href=""/>
<script src=""></script>
<scene id="scene1">
<label t="translate(0,346)">
<tspan x="0" y="0em">Half as Russian</tspan>
<actor t="translate(85,60)" pose="-11,9|-5,117|-11,99|-11,89|-11,79|-11,59|-16,34|-21,9|-6,34|-1,9|-18,79|-18,59|-6,79|-1,59">

Ver.1 (for survey)

The only personal information we collect in this survey is your age, sex and email address. All information you provide is kept in strict confidence and will never be sold or given to a third party for any reason. We collect your email address in order to send you survey results or product release. If there are any questions regarding this privacy policy you may contact us:


Your privacy is important to us, and it is RCN's policy to respect your privacy regarding any information we may collect while operating our websites. Accordingly, we have developed this Policy in order for you to understand how we collect, use, communicate and disclose and make use of personal information. The following outlines our privacy policy.

Before or at the time of collecting personal information, we will identify the purposes for which information is being collected. We will collect and use of personal information solely with the objective of fulfilling those purposes specified by us and for

Restuta / slim-redux.js
Created Sep 24, 2015 — forked from gaearon/slim-redux.js
Redux without the sanity checks in a single file. Don't use this, use normal Redux. :-)
View slim-redux.js
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])) {
View _config.yml
name: Hanzou Hattori
display_name: Hanzou
gravatar: c66919cb194f96c696c1da0c47354a6a
twitter: company
github: hhattori
View index.html
<!DOCTYPE html>
<meta charset="utf-8">
<link rel="stylesheet" href="">
<script src="" charset="utf-8"></script>
<style>.cmx-user-scene4 .cmx-text-border .cmx-path {stroke: orange}</style>
<div style="max-width:900px; -webkit-transform:rotate(0deg)">
<scene id="scene1">
<label t="translate(0,346)">
Restuta / C#.sublime-build
Created Mar 19, 2012 — forked from chaliy/C#.sublime-build
Sublime Build to compile and run C# program
View C#.sublime-build
// 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"
Restuta / mspec-equality-tests.cs
Created Mar 1, 2012 — forked from kolesnick/mspec-equality-tests.cs
ReSharper template for MSpec tests of Equals method and == operator
View mspec-equality-tests.cs
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.
$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
Restuta /
Created Feb 15, 2012 — forked from chaliy/
31337 Book

Not in particular order

  1. Perfectionism
  2. Revision Control
  3. Continuous XXX
  4. Async your life
  5. Persistence
  6. Testing
  7. Communitcation
  8. GTD (o_O)