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
// Usage: | |
// open the files tab in the PR you want to review with vendor files | |
// copy paste following function in your developer tools console and run the func hideVendorFiles() | |
function hideVendorFiles() { | |
var lp = document.querySelectorAll('div.file-info a.Link--primary') | |
var lp2 = [...lp].filter(l => l.title.startsWith('vendor/')) | |
for (l of lp2) { |
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
// Usage: | |
// open https://www.instagram.com/ | |
// ensure you are logged in | |
// copy past script in your developer tools console | |
// or create a new saved snippet in the sources tab of developer tools, comes in handy for updates and reuse | |
// to start the script, edit configuration as per your requirement | |
// TO_OPEN_IN_TAB, TO_COPY_ONE_BY_ONE, TO_AUTOMATE, SKIP_FIRST_N | |
// then run the `main()` function in your console | |
// to kill the process in case it is causing an issue or stuck in a loop (if running in automated mode), run following cmd |
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
// lol 0x1F61B | |
0x1F61B |
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> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>Simple Responsive</title> | |
<link rel="stylesheet" href="style.css"> | |
<style> | |
body { | |
margin: 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
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |