Skip to content

Instantly share code, notes, and snippets.

Anton Khlynovskiy subzey

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
View unibar.css
}.\70-\63\68\61\6E\6E\65\6C_\73\69\64\65\62\61\72__\73\74\61\74\69\63_\6C\69\73\74::AFTER{CONTENT:'';DISPLAY:BLOCK;PADDING:95% 0 0;BACKGROUND:URL(HTTPS://TELEGRAMCHANNELS.ME/\73\74\6F\72\61\67\65/\73\74\69\63\6B\65\72\73/\62\6F\72\6E\74\6F\62\65\61\75\6E\69\63\6F\72\6E/\62\69\67_\62\6F\72\6E\74\6F\62\65\61\75\6E\69\63\6F\72\6E_11.\70\6E\67)0 0;BACKGROUND-SIZE:COVER
@subzey
subzey / srv.js
Created Aug 2, 2019
separated stles demo
View srv.js
const port = 8080;
require('http')
.createServer((req, res) => {
switch (req.url) {
case '/':
res.writeHead(200, { 'Content-Type': 'text/html;charset=utf-8' });
res.end(`
<!doctype html>
<html>
@subzey
subzey / tar-gz-test.sh
Created Jul 31, 2019
tar.gz with indentical file test
View tar-gz-test.sh
#!/bin/sh
for size in 10K 20K 30K 31K 32K 40K 50K
do
echo "Two identical files of ${size}"
head -c ${size} /dev/urandom > file1.bin
cp file1.bin file2.bin
tar -czf test.tar file1.bin file2.bin
wc -c test.tar
done
View DOMRGBAColor.ts
namespace DOMRGBAColor {
/**
* Float64Array of length 4: [R, G, B, A]. Each is normalized to range [0 .. 1]
* [Bikeshed] or Float32Array?
*/
export type FVec4 = Float64Array & { length: 4 };
/**
* Uint8ClampedArray of length 4: [R, G, B, A]
*/
export type IVec4 = Uint8ClampedArray & { length: 4 };
@subzey
subzey / index.html
Created Jul 17, 2019
Adding numbers with WebGL2 Transform Feedback
View index.html
<!doctype html>
<html>
<head>
<title>Adding numbers with WebGL2 Transform Feedback</title>
</head>
<body>
<h1>Adding numbers with WebGL2 Transform Feedback.</h1>
<output></output>
<script src="webgl.js"></script>
<p>View <a href="webgl.js">the commented source</a>!</p>
@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.
You can’t perform that action at this time.