Skip to content

Instantly share code, notes, and snippets.

View TomYeoman's full-sized avatar

Tom Yeoman TomYeoman

  • Justeat Takeaway
  • England
View GitHub Profile
@TomYeoman
TomYeoman / SassMeister-input-HTML.html
Created October 8, 2015 17:57
Generated by SassMeister.com.
<h1>Hello World</h1>
// MD5 hash puzzle test
function findHash(){
var secretKey = "iwrupvqb";
var tempKey = "";
var solution = "";
var solutionFound = false;
for (var i = 0; i < 2000000; i++){
<!DOCTYPE html>
<html>
<head>
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/redux/3.5.2/redux.js"></script>
<script src="https://fb.me/react-15.1.0.js"></script>
<script src="https://fb.me/react-dom-15.1.0.js"></script>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>JS Bin</title>
</head>
@TomYeoman
TomYeoman / index.html
Created June 13, 2016 15:41 — forked from anonymous/index.html
Avoiding mutations // source http://jsbin.com/fagede
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Avoiding object mutations</title>
<script src="http://wzrd.in/standalone/expect@latest"></script>
<script src="http://wzrd.in/standalone/deep-freeze@latest"></script>
</head>
<body>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Avoiding object mutations</title>
<script src="http://wzrd.in/standalone/expect@latest"></script>
<script src="http://wzrd.in/standalone/deep-freeze@latest"></script>
</head>
<body>
@TomYeoman
TomYeoman / index.html
Created June 14, 2016 10:29 — forked from anonymous/index.html
Simple TODO (Reducer + Tests) // source http://jsbin.com/sixuzoy
<!DOCTYPE html>
<html>
<head>
<title>Simple TODO (Reducer + Tests)</title>
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/redux/3.5.2/redux.js"></script>
<script src="https://fb.me/react-15.1.0.js"></script>
<script src="https://fb.me/react-dom-15.1.0.js"></script>
<script src="http://wzrd.in/standalone/expect@latest"></script>
<script src="http://wzrd.in/standalone/deep-freeze@latest"></script>
<meta charset="utf-8">
@TomYeoman
TomYeoman / gist:3537e32e29da5a4a21e3fa3d3a5cac34
Created May 1, 2019 20:02
VS code settings.json for typescript
/**
----- Linting configurations
*/
// Prevent editor formatting on save for certain file types
"editor.formatOnSave": true,
"[javascript]": {
"editor.formatOnSave": false,
},
"[typescript]": {
"editor.formatOnSave": false,
@TomYeoman
TomYeoman / gist:cecdccb06e36249fffa0f799a31a56c2
Created May 1, 2019 20:02
VS code settings.json for typescript
/**
----- Linting configurations
*/
// Prevent editor formatting on save for certain file types
"editor.formatOnSave": true,
"[javascript]": {
"editor.formatOnSave": false,
},
"[typescript]": {
"editor.formatOnSave": false,