You can run this harmless gist with the npx command
npx https://gist.github.com/asdqdsa/fc8fa6843c14211d0534972d75c6dd33You can run this harmless gist with the npx command
npx https://gist.github.com/asdqdsa/fc8fa6843c14211d0534972d75c6dd33| #!/usr/bin/env node | |
| const fs = require("fs"); | |
| const path = require("path"); | |
| const flagFilePath = path.join(require("os").homedir(), ".lucky-charm-flag"); | |
| if (!fs.existsSync(flagFilePath)) { | |
| console.log("WARNING: ur system is being monitored... jk lol 🫣"); | |
| fs.writeFileSync(flagFilePath, "you’ve been here before"); |
| // ==UserScript== | |
| // @name slop replacer | |
| // @namespace http://tampermonkey.net/ | |
| // @version 1.0 | |
| // @description replace every instance of AI with Slop | |
| // @match *://*/* | |
| // @grant none | |
| // @run-at document-end | |
| // ==/UserScript== | |
| (function() { |
| // inject | |
| function ytLoop(from, to) { | |
| const loop = setInterval(() => { | |
| const player = document.getElementById("movie_player"); | |
| if (player.getCurrentTime() >= to) { | |
| player.seekTo(from, true); | |
| } | |
| }, 1000); | |
| document.getElementById("movie_player").seekTo(from, true); |
Zed's Vim mode replicates familiar Vim behavior while integrating modern features like semantic navigation and multiple cursors. This cheat sheet summarizes essential shortcuts and settings to help you navigate and edit code efficiently in Zed.
Toggle Vim Mode."vim_mode": true or false.