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
| // https://mdag.pl/16/en/warszawa/movies | |
| const getTitles = () => { | |
| const elements = document.querySelectorAll('.box-entry-title') | |
| const titles = [...elements].map(e => e.innerHTML) | |
| copy(titles) | |
| } | |
| // 2019 |
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
| WebGLRenderingContext.MAX_TEXTURE_SIZE |
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
| function strip(string) { | |
| return string.replace(/^(a |the |an )/i, '').trim(); | |
| } |
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
| // Add on element with overflow | |
| -webkit-mask-image: -webkit-radial-gradient(white, black); |
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
| git reset $(git commit-tree HEAD^{tree} -m "init") |
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
| pbcopy < ~/.ssh/id_rsa.pub | |
| cat ~/.ssh/id_rsa.pub |
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 sortedLinkByHosting = []; | |
| let elements = document.querySelectorAll('td .code'); | |
| elements.forEach(key => { | |
| let link = key.innerText; | |
| if(link.includes('http')) { | |
| if(link.includes('catshare')) { | |
| sortedLinkByHosting.push(link); | |
| } | |
| } | |
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
| /* | |
| * forEach Polyfill | |
| * | |
| * 2015-12-27 | |
| * | |
| * By Feifei Hang, http://feifeihang.info | |
| * Public Domain. | |
| * NO WARRANTY EXPRESSED OR IMPLIED. USE AT YOUR OWN RISK. | |
| */ | |
| 'use strict'; |
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 instance = null; | |
| class Viewports { | |
| constructor() { | |
| if(!instance){ | |
| instance = this; | |
| } | |
| this.isMobile = false; | |
| this.init(); |