Skip to content

Instantly share code, notes, and snippets.

View seeden's full-sized avatar
🎯
Focusing

Zlatko Fedor seeden

🎯
Focusing
  • Worldwide
View GitHub Profile

Keybase proof

I hereby claim:

  • I am seeden on github.
  • I am seeden (https://keybase.io/seeden) on keybase.
  • I have a public key ASDp5tgjGizxW5Cm2XixP3rEe5TbwJ-OF3a--Sfi75CAXAo

To claim this, I am signing this object:

@seeden
seeden / machine.js
Created February 18, 2021 12:36
Generated by XState Viz: https://xstate.js.org/viz
const questionStates = {
initial: 'ready',
context: {
userAnswer: undefined,
oponentAnswer: undefined,
},
states: {
ready: {
on: {
@seeden
seeden / index.html
Created January 22, 2017 13:19
Object Spread Operator VS Object.assign (http://jsbench.github.io/#b97be8f3e8a92f374cc3416ea2fac2b7) #jsbench #jsperf
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/>
<title>Object Spread Operator VS Object.assign</title>
<script src="https://cdnjs.cloudflare.com/ajax/libs/benchmark/1.0.0/benchmark.min.js"></script>
<script src="./suite.js"></script>
</head>
<body>
<h1>Open the console to view the results</h1>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/>
<title>Get timestamp</title>
<script src="https://cdnjs.cloudflare.com/ajax/libs/benchmark/1.0.0/benchmark.min.js"></script>
<script src="./suite.js"></script>
</head>
<body>
<h1>Open the console to view the results</h1>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/>
<title>Immutable Shift</title>
<script src="https://cdnjs.cloudflare.com/ajax/libs/benchmark/1.0.0/benchmark.min.js"></script>
<script src="./suite.js"></script>
</head>
<body>
<h1>Open the console to view the results</h1>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/>
<title>includes</title>
<script src="https://cdnjs.cloudflare.com/ajax/libs/benchmark/1.0.0/benchmark.min.js"></script>
<script src="./suite.js"></script>
</head>
<body>
<h1>Open the console to view the results</h1>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/>
<title>unique array</title>
<script src="https://cdnjs.cloudflare.com/ajax/libs/benchmark/1.0.0/benchmark.min.js"></script>
<script src="./suite.js"></script>
</head>
<body>
<h1>Open the console to view the results</h1>
@seeden
seeden / index.html
Created May 2, 2017 12:44
Comparison of Swap Algorithms (http://jsbench.github.io/#35cf8ac3aa380aa1229878a37d4b5ad7) #jsbench #jsperf
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/>
<title>Comparison of Swap Algorithms</title>
<script src="https://cdnjs.cloudflare.com/ajax/libs/benchmark/1.0.0/benchmark.min.js"></script>
<script src="./suite.js"></script>
</head>
<body>
<h1>Open the console to view the results</h1>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/>
<title>SUM for VS reduce</title>
<script src="https://cdnjs.cloudflare.com/ajax/libs/benchmark/1.0.0/benchmark.min.js"></script>
<script src="./suite.js"></script>
</head>
<body>
<h1>Open the console to view the results</h1>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/>
<title>SUM for VS reduce</title>
<script src="https://cdnjs.cloudflare.com/ajax/libs/benchmark/1.0.0/benchmark.min.js"></script>
<script src="./suite.js"></script>
</head>
<body>
<h1>Open the console to view the results</h1>