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
| #!/usr/bin/env zx | |
| // Pass --verbose to see the full output | |
| $.verbose = argv.verbose; | |
| function isPHP(filename) { | |
| return filename.match(/\.php$/); | |
| } | |
| function isJS(filename) { |
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
| #!/usr/bin/env zx | |
| // Pass --verbose to see the full output | |
| $.verbose = argv.verbose; | |
| const php = { | |
| is: (file) => file.match(/\.php$/), | |
| fix: async (file) => { | |
| const result = await nothrow($`pnpm run -w php:autofix ${file}`); | |
| // php:autofix outputs the fixes to stderr for some reason. |
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
| // ==UserScript== | |
| // @name GIF Direct Link (Tenor & Giphy) | |
| // @namespace http://tampermonkey.net/ | |
| // @version 0.3 | |
| // @description Add direct link buttons for Tenor and Giphy GIFs | |
| // @match https://tenor.com/view/* | |
| // @match https://giphy.com/gifs/* | |
| // @match https://giphy.com/embed/* | |
| // @grant none | |
| // @author pyronaur |
OlderNewer