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
| filegator\configuration.php | |
| 'adapter' => function () { | |
| return new \League\Flysystem\Adapter\Local( | |
| __DIR__.'/repository' | |
| vira | |
| 'adapter' => function () { | |
| return new \League\Flysystem\Adapter\Local( |
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
| .blur { | |
| filter: blur(5px); | |
| -webkit-filter: blur(5px); | |
| -moz-filter: blur(5px); | |
| -o-filter: blur(5px); | |
| -ms-filter: blur(5px); | |
| } | |
| .no-blur { | |
| filter: blur(0); | |
| -webkit-filter: blur(0); |
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
| setTimeout(function(){ | |
| const video = document.querySelector('video'); | |
| const buttonPIP = document.createElement('button'); | |
| document.body.appendChild(buttonPIP); | |
| buttonPIP.innerText = 'PIP'; | |
| buttonPIP.setAttribute('style', 'position: fixed; bottom: 0; left: 0; z-index: 999999;'); | |
| button = buttonPIP; | |
| if (!document.pictureInPictureEnabled) { | |
| button.disabled = true; |
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
| // invertArray.min.js v1 | |
| function invertArray(a){let b=[];for(let c=0;c<a.length;c++)b.unshift(a[c]);return b} |
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
| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> | |
| <html> | |
| <head> | |
| <meta http-equiv="Content-Type" content="text/html;charset=UTF-8"> | |
| <title>###TITLE###</title> | |
| <!-- This code is licensed under GNU GPL v3 --> | |
| <!-- You are allowed to freely copy, distribute and use this code, but removing author credit is strictly prohibited --> | |
| <!-- Generated by http://insider.zone/tools/client-side-url-redirect-generator/ --> |
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
| // getGoogleLinks.js v1 | |
| document.querySelectorAll('.iUh30').forEach(function(element){ | |
| element.textContent = (element.textContent.indexOf('http') > -1) ? element.textContent : 'http://' + element.textContent; | |
| console.log(element.textContent); | |
| }); |
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
| // percent.js v1 | |
| function percent(x1, x2) { | |
| return x1 * (x2 / 100); | |
| }; |
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
| var total = []; | |
| setInterval(function(){ | |
| $('.ytd-playlist-panel-supported-items').each(function(){ | |
| var thisLink = 'https://www.youtube.com' + $(this).find('a').eq(0).attr('href'); | |
| if( total.indexOf( thisLink ) == -1 ){ | |
| total.push(thisLink); | |
| }; | |
| }); | |
| }, 500); |
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
| http://youmightnotneedjs.com/ | |
| http://youmightnotneedjquery.com/ | |
| https://developer.telerik.com/content-types/tutorials/im-not-using-jquery/ | |
| https://css-tricks.com/now-ever-might-not-need-jquery/ | |
| https://hackernoon.com/you-truly-dont-need-jquery-5f2132b32dd1 | |
| https://www.sitepoint.com/dom-manipulation-vanilla-javascript-no-jquery/ | |
| https://www.catswhocode.com/blog/javascript-without-jquery-tips-and-practical-examples | |
| https://github.com/nefe/You-Dont-Need-jQuery | |
| https://blog.wearecolony.com/a-year-without-jquery/ |
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
| // xor.js v1 | |
| function XOR(a: unknown, b: unknown): boolean { | |
| return (a && b) ? false : Boolean(a || b) | |
| } |