This file contains 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 Replace Class Values in Article at Nextjs website | |
// @namespace http://tampermonkey.net/ | |
// @version 0.1 | |
// @description Replace min-w-0 with min-w-10xl and max-w-6xl with max-w-12xl in article tags | |
// @author Sagar Yadav | |
// @match https://nextjs.org/* | |
// @grant none | |
// ==/UserScript== |
This file contains 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 | |
# Ask the user for a number | |
echo "Enter the number to prefix the file names with:" | |
read number | |
# Iterates over each file in the current directory | |
for file in *; do | |
# Skips the script itself | |
if [ "$file" != "namechange.sh" ]; then |