Bulk-Move Named Files Into Folders
If you’re looking to improve your JavaScript file structure, this blog post is for you. In this tutorial, I’ll walk you through the process of bulk-moving named files into folders, making it easier to organize and manage your code. By using a simple command line script, you can easily convert your named files into index.js files within new folders that match the current file name. This approach will not only simplify your codebase, but also help with file-specific documentation and allow for styles or other files you may want to add in future…
3 Tips for Long-Running Commands on a Remote Server
When working with long-running commands on remote servers, tools like screen can make your life easier. By starting a screen session, you can execute multiple commands without worrying about disconnections. List and reattach to active sessions, redirect output to a file, or use time to profile the execution time.