Skip to content

Instantly share code, notes, and snippets.

Anton Khlynovskiy subzey

  • TradingView
  • Rostov-on-Don, Russia
Block or report user

Report or block subzey

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@subzey
subzey / index.html
Created Jun 19, 2019
Emoji roulette
View index.html
<!DOCTYPE html>
<html>
<head>
<title>СПГС</title>
<style>
html {
height: 100%;
background: radial-gradient(#fff, #f0f0f0 50%, #aaa) #eee;
}
body {
View sad.css
.ghx-swimlane.ghx-first .ghx-column[data-column-id="554"]:empty {
background: none;
}
.ghx-swimlane.ghx-first .ghx-column[data-column-id="554"]:empty:before {
content: '';
display: block;
position: sticky;
z-index: 2;
top: 100%;
@subzey
subzey / sad.css
Last active Apr 12, 2019
sad unicorn bg
View sad.css
@-moz-document url-prefix("https://jira.xtools.tv") {
.ghx-swimlane.ghx-first .ghx-column[data-column-id="554"]:empty {
background-image: url(https://s.tcdn.co/c5f/0a5/c5f0a53d-cec7-36d8-be42-c2e1bf5baf97/13.png);
background-size: contain;
background-position: 50% 20%;
background-repeat: no-repeat;
}
}
@subzey
subzey / index.html
Last active Apr 8, 2019
glitchy logo
View index.html
<!doctype html>
<html>
<head>
<title></title>
<style>
body {
font: 16pt sans-serif;
text-align: center;
}
</style>
@subzey
subzey / filter.svg
Last active Mar 21, 2019
SVG retrowave filter
View filter.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View index.html
<!DOCTYPE html>
<html>
<head>
<title>Screen size debug</title>
</head>
<body>
<script>
function log(s){
var logEntry = document.createElement('pre');
logEntry.textContent = (new Date().toISOString() + ' ' + s);
View some js
import t from 'some-fancy-templater';
t`
<div class="container">
<h1>Ponies</h1>
<${PonyList}>
${ ponies.map(
({ name, type }) => t`
<${PonyItem} name="${name}" type="{type}"/>
`
@subzey
subzey / main.py
Created Aug 1, 2018
Precompressed header
View main.py
import BaseHTTPServer
import io
import random
import time
import zlib
HOST_NAME = 'localhost'
PORT_NUMBER = 8080
gzip = zlib.compressobj(
@subzey
subzey / index.html
Created Jun 25, 2018
jq 1.7 cache leak
View index.html
<!doctype html>
<html>
<head>
<title>jQuery 1.7.2 cache leak</title>
</head>
<body>
<script src="https://code.jquery.com/jquery-1.7.2.min.js" crossorigin="anonymous"></script>
<script>
(function(){
var leaky = new function Leaky(){};
@subzey
subzey / index.html
Last active Jun 18, 2018
Self-replacement scripts
View index.html
<!doctype html>
<html>
<body>
<p>Local resolve (<code>selfreplacement.js</code>): <script async defer src="selfreplacement.js">#1: OKAY</script>
<p>Local resolve (<code>./selfreplacement.js</code>): <script async defer src="./selfreplacement.js">#2: OKAY</script>
<p>bl.ocks full: <script async defer src="https://bl.ocks.org/subzey/raw/ccd85c8c424120350157a5a4a3b9c47d/selfreplacement.js">#3: OKAY</script>
<p>bl.ocks protocol-relative: <script async defer src="//bl.ocks.org/subzey/raw/ccd85c8c424120350157a5a4a3b9c47d/selfreplacement.js">#4: OKAY</script>
<p>rawgit full: <script async defer src="https://rawgit.com/subzey/ccd85c8c424120350157a5a4a3b9c47d/raw/selfreplacement.js">#5: OKAY</script>
You can’t perform that action at this time.