This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- let text = 'Good day!'; | |
- let arr = text.split(''); | |
h1(role='image' aria-label=text) | |
each letter in arr | |
span(class='letter '+letter) #{letter} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//----------------------------------*\ | |
// 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. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
; UTF-8 | |
; BOM required in Autohotkey newer than v1.1.07.03 | |
; | |
; --- http://www.autohotkey.com/ | |
; +++ http://ahkscript.org/ | |
; | |
; ;-,-,'-; ;= | |
; | |
; + shift | |
; ^ ctrl |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
*: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; /**/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
:-) | |
:^) | |
^_^ | |
(^^) | |
:,-) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* ==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== */ | |
/* |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- | |
Facebook generated code snippet of avatar image in timeline post | |
retrieved 2020-09-14T21Z | |
- class attributes deleted | |
- resulting DIVs without attributes omitted | |
--> | |
<a role="link" tabindex="-1" aria-hidden="true" href="[…]2CP-R"> | |
<object type="nested/pressable"> | |
<a role="link" tabindex="0" aria-label="[…]" href="[…]3C%2CP-R"> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
console.log([].filter.call(document.all,(e,c)=>(e.getBoundingClientRect().right+parseFloat((c=getComputedStyle(e)).marginRight)*!(c.position=='absolute'))>document.documentElement.offsetWidth)) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class FOJO { | |
constructor(o) { | |
this.object = Object.assign({}, o) | |
this.entries = Object.entries(this.object) | |
return new Proxy(this, this) | |
} | |
ownKeys() { | |
return Object.keys(this.object) | |
} | |
get(target, key) { |