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
| javascript:void function(){ | |
| let a=new URL(location).searchParams.get("v"), | |
| b=new Intl.NumberFormat("en-US"), | |
| c=trustedTypes.createPolicy("forceInner", { createHTML: a => a }); | |
| fetch(`https://returnyoutubedislikeapi.com/Votes?videoId=${a}`).then(a=>a?.text?.()) | |
| .then(a => "{" === a[0] && JSON.parse(a) || a) | |
| .then(a => { | |
| console.log("dislikes",a); | |
| a?.dislikes && document.body.insertAdjacentHTML( | |
| "beforeend", |
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
| javascript:void function(){ | |
| document.querySelectorAll("video,audio").forEach(function(c){ | |
| let a=c.playbackRate; | |
| c.playbackRate=1, | |
| console.log(`changed media playback rate from ${a} to ${c.playbackRate}`) | |
| }) | |
| }(); |
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
| javascript:void function(){ | |
| if (!document.pictureInPictureEnabled) { | |
| console.log("Your browser cannot use picture-in-picture") | |
| return; | |
| } | |
| document.querySelector("video").requestPictureInPicture() | |
| }(); |
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
| javascript:void function(){ | |
| (async function(){ | |
| let j = document, | |
| k = (...a) => j.querySelectorAll(...a), | |
| l = ((...a) => j.querySelector(...a))( | |
| 'tr.react-directory-row a[title="package.json"]', | |
| )?.href?.replace("blob", "raw"), | |
| { dependencies: h, devDependencies: a } = await window | |
| .fetch(l) | |
| .then((a) => a.json()), |
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
| javascript:void function(){ | |
| let b='#fff',toggle=true,i=95,ii=0,ia=100,h=180,hi=0,ha=360; | |
| const d=document,ce=(n)=>d.createElement(n),q=d.querySelectorAll(".dplgngr"),s=ce("style"),c=ce("form"),t='Doppelgänger'; | |
| if(q?.length)return q.forEach(a=>a.remove()); | |
| const invertStyles = (b,i,h) => `html { background-color: ${b}; } | |
| html,img,video,iframe { filter: invert(${i}%) hue-rotate(${h}deg); }`; | |
| const styles = (b,i,h,t) => `${t ? invertStyles(b,i,h) : ''} | |
| .dplgngr fieldset { border: 0 solid transparent; margin-top: 1em; padding: 0; display: grid; grid-template-areas: "l l" "r n"; grid-template-columns: 2fr 1fr; column-gap: 1em; } | |
| .dplgngr label { grid-area: l; } |
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
| javascript:void function(){ | |
| const d=document,q=d.querySelectorAll("style.dplgngr"),s=d.createElement("style"); | |
| if(q?.length)return q.forEach(a=>a.remove()); | |
| let b='#fff',i='95',h='180'; | |
| s.type="text/css"; | |
| s.className="dplgngr"; | |
| s.innerText=` | |
| html { background-color: ${b}; } | |
| html,img,video,iframe { filter: invert(${i}%) hue-rotate(${h}deg); } | |
| `; |
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
| #!/bin/bash | |
| ## Node.js for Raspberry Pi 2 Packaging Script | |
| ## ========================================= | |
| ## Use like this: | |
| ## ./buildnode.sh <node_tarball_version> | |
| clean () { | |
| rm -rvf node-v$1 node-v$1-rpi2 | |
| } |
In this tutorial, I will be explaining how to set up a simple webhook to relay your tweets to a Discord channel
- Go to https://zapier.com/ and create an account (if you don't already have one).
- Find the Discord channel in which you would like to send Tweets
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
| version: '2' | |
| services: | |
| nginx: | |
| image: jwilder/nginx-proxy | |
| container_name: nginx | |
| ports: | |
| - 80:80 | |
| - 443:443 |
NewerOlder