Skip to content

Instantly share code, notes, and snippets.

@mgulyaev
mgulyaev / mixer.html
Created March 3, 2013 06:39
Letter mixer. For funny experiments, nothing more. "It deosn’t mttaer in waht oredr the ltteers in a wrod are, the olny iprmoatnt tihng is taht the frist and lsat ltteer are in the rghit pcale"
<!doctype html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link rel="stylesheet" href="/assets/bootstrap/css/bootstrap.min.css" media="screen">
<title>Letter mixer</title>
<script type="text/javascript" src="http://cdnjs.cloudflare.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
<script type="text/javascript" src="http://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/2.3.0/js/bootstrap.min.js"></script>
<script type="text/javascript">
@mgulyaev
mgulyaev / utester.bat
Last active December 9, 2015 17:28
Universal simple tester that I use in some projects
@echo off
setlocal EnableDelayedExpansion
goto main
:writeHelp
echo UTester (Universal tester)
echo runs given command for all .in files from given testDir
echo and compares the result with the correct answer (same-name .out file)