Skip to content

Instantly share code, notes, and snippets.

View seeden's full-sized avatar

Zlatko Fedor seeden

View GitHub Profile
@seeden
seeden / I_don't_care_about_cookies.css
Created July 11, 2024 12:15 — forked from anthonydillon/I_don't_care_about_cookies.css
I don't care about cookies CSS selectors
html.cookie-notification-active, html.consent-bar-push-large, body.consent-bar-push-large, body.cookiepush, body.with-eu-cookie-guideline, body.gh-cookieb-active #gh.gh-cookieb-active, html.npo_cookieBar body, body.cookiewall, body.cookie-guard, body.with-cookie-hint, body.with-cookie-bar, html.has-cookie-bar, body.with-cookie-hint {margin-top:0 !important}
#cookiesPanel ~ #header, #CpHTMLCookieBar_siteWrapper, body.show-cookie-policy-info {top:0 !important}
body.needsCookieAcceptance, body.cookie-not-set, body.cookie_privacy_info, html.cookie body, body.has-cookie-banner, html.dj_gecko body[style], body.with-cookie-alert, body.body--is-alerted, body.ct-ultimate-gdpr-cookie-topPanel-padding {padding-top:0 !important}
html.with-cookie-hint, body.gh-cookieb-active #gh-gb.gh-cookieb-active {border-top:0 !important}
html.with-cookie-popup, html.with-cookie-popup body, body.page_cookieconfirmation, body.cookieoverlay-is-open, body.cookiewall-active, body.qc-cmp-ui-showing, body.freezePage {overflow:visible !import

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: {
<!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>