Skip to content

Instantly share code, notes, and snippets.

View myfonj's full-sized avatar

Michal Čaplygin myfonj

View GitHub Profile
@myfonj
myfonj / readme.md
Last active July 13, 2020 19:54
Array methods cheatsheet text transcript
@myfonj
myfonj / crisp-scaled-images.user.css
Last active June 22, 2020 15:19
Crisp Scaled Images
/* ==UserStyle==
@name Crisp up-scaled images for displays with 150% DPI scale factor (Firefox 74+)
@description Prevents blurry anti-aliased borders between picture sampling areas ("pixels").
@namespace myfonj
@version 1.0.1
@license CC0 - Public Domain
==/UserStyle== */
/*
@myfonj
myfonj / Gboard textual emoticons list
Last active May 27, 2020 11:07
list of all non-emoji emoticons from Gboard Android application
:-)
:^)
^_^
(^^)
:,-)
*:not(#\0),
*:not(#\0)::before,
*:not(#\0)::after {
/**/ border-radius : 0 !important; /**/
/**/ text-shadow : none !important; /**/
/**/ box-shadow : none !important; /**/
/**/ text-rendering : optimizespeed !important; /**/
/**/ transition-duration : 0ms !important; /**/
/**/ animation-duration : 0ms !important; /**/
/**/ transition-timing-function : step-start !important; /**/
; UTF-8
; BOM required in Autohotkey newer than v1.1.07.03
;
; --- http://www.autohotkey.com/
; +++ http://ahkscript.org/
;
; ;-,-,'-; ;=
;
; + shift
; ^ ctrl
@myfonj
myfonj / index.css
Created February 26, 2020 17:20 — forked from stereokai/index.css
Trigonometry in CSS
//----------------------------------*\
// TRIGONOMETRY FUNCTIONS
//----------------------------------*/
// # Trigonometry in CSS
//
// - Through Taylor/Maclaurin polynomial representation: http://people.math.sc.edu/girardi/m142/handouts/10sTaylorPolySeries.pdf
// - Useful if you don't want to use JS.
// - With CSS Variables.
// - `calc()` can't do power (x ^ y) so I used multiplication instead.
@myfonj
myfonj / index.pug
Last active February 27, 2020 02:55
Line through effect 3D
- let text = 'Good day!';
- let arr = text.split('');
h1(role='image' aria-label=text)
each letter in arr
span(class='letter '+letter) #{letter}
@myfonj
myfonj / colorful-squares-codepenchallenge.markdown
Created February 26, 2020 13:20
Colorful Squares | CodePenChallenge
GNU Wget 1.20.3, a non-interactive network retriever.
Usage: wget [OPTION]... [URL]...
Mandatory arguments to long options are mandatory for short options too.
Startup:
--version
(-V) display the version of Wget and exit
--help
(-h) print this help
@myfonj
myfonj / index.html
Last active January 7, 2020 09:36
GistPad playground test
Copypaste of <a href="https://codepen.io/thebabydino/pen/BaywOLP">https://codepen.io/thebabydino/pen/BaywOLP</a>
<canvas id="canvas" width="800" height="800"></canvas>