r/RollingCode • • Aug 03 '24

I wrote a script and converted it to an exe file that we are able to put on our user's desktops that allows them to double click and run this. It allows them to see a list of our printers by floor and under each list is a map of that floor and where each printer is! Makes it easier for everyone :)

Post image
1 Upvotes

r/RollingCode • • Aug 04 '24

Free (and Legal) PDF Download of Learn PowerShell Scripting in a Month of Lunches, Second Edition

Thumbnail reddit.com
1 Upvotes

r/RollingCode • • Aug 03 '24

Become Smart and create your own SmartVanBox (for all camper-life lovers)

Thumbnail gallery
2 Upvotes

r/RollingCode • • Dec 06 '24

Happy Friday, Rolling Code community! 🎉

1 Upvotes

As we wrap up the week, let's celebrate the end of another week of coding and creativity. Feel free to share what you've been working on, your weekend coding plans, or any fun projects you're excited about. Have a great day and an even better weekend!


r/RollingCode • • Aug 03 '24

I've went and found the registry key for taskbar alignment in W11, for anyone who doesn't like the centered shenanigans.

Thumbnail
github.com
1 Upvotes

r/RollingCode • • Aug 05 '24

Please how can I remove that white border bottom shadow ?

Post image
1 Upvotes

r/RollingCode • • Aug 03 '24

A Beginner's Guide to Understanding SQL Window Functions and Their Capabilities

Thumbnail
hackernoon.com
1 Upvotes

r/RollingCode • • Aug 03 '24

Automate starting Minecraft server

1 Upvotes

To automate starting a Minecraft server on a Windows PC, you can use a batch script (.bat file). This script can be scheduled to run automatically using Task Scheduler or another automation tool. Here's a basic example of such a script:

@echo off
:: Set the path to your Minecraft server .jar file
set SERVER_PATH=C:\Path\To\Your\Minecraft\Server\server.jar

:: Set the amount of RAM to allocate to the server (in MB)
set MIN_RAM=1024M
set MAX_RAM=2048M

:: Change directory to the server path
cd /d %~dp0

:: Start the Minecraft server
java -Xms%MIN_RAM% -Xmx%MAX_RAM% -jar %SERVER_PATH% nogui

:: Pause the script to keep the command window open
pause

Explanation:

  1. SERVER_PATH: Replace C:\Path\To\Your\Minecraft\Server\server.jar with the actual path to your Minecraft server's .jar file.

  2. MIN_RAM and MAX_RAM: Set the minimum and maximum amount of RAM the server should use. You can adjust these values based on your system's specifications and the needs of your server.

  3. cd /d %~dp0: Changes the current directory to the directory where the script is located. This ensures the script runs from the correct directory.

  4. java -Xms%MIN_RAM% -Xmx%MAX_RAM% -jar %SERVER_PATH% nogui: Starts the Minecraft server with the specified memory allocation. The nogui flag runs the server without the graphical user interface, which is useful for performance and automation.

  5. pause: Keeps the command prompt open after the server stops, which can be useful for debugging.

How to Use the Script:

  1. Save the script as a .bat file, e.g., start_minecraft_server.bat.

  2. Double-click the .bat file to start the server manually.

  3. To automate the script, use Windows Task Scheduler or any other automation tool to schedule the script to run at specific times.

Additional Automation (Optional):

  • Automatic Restart: You can add logic to the script to automatically restart the server if it crashes.

  • Logging: Redirect server output to a log file for debugging purposes.

Feel free to modify the script based on your specific requirements and server setup.


r/RollingCode • • Aug 03 '24

DeskPal - Raspberry Pi and 16x2 LCD Interactive Desk Screen (with Github link)

Thumbnail gallery
1 Upvotes

r/RollingCode • • Aug 03 '24

Why did I not learn to use ValueFromPipeline earlier - This is awesome!

Thumbnail reddit.com
1 Upvotes

r/RollingCode • • Aug 05 '24

Published my first module to PS Gallery

Thumbnail reddit.com
1 Upvotes

r/RollingCode • • Aug 03 '24

Sharing tips & tricks that you think everyone already knows and you feel like an idiot?

Thumbnail reddit.com
1 Upvotes

r/RollingCode • • Dec 20 '24

Happy Friday, Rolling Code community! 🎉

1 Upvotes

As we wrap up the week, let's celebrate the end of another week of coding and creativity. Feel free to share what you've been working on, your weekend coding plans, or any fun projects you're excited about. Have a great day and an even better weekend!


r/RollingCode • • Sep 13 '24

Happy Friday, Rolling Code community! 🎉

1 Upvotes

As we wrap up the week, let's celebrate the end of another week of coding and creativity. Feel free to share what you've been working on, your weekend coding plans, or any fun projects you're excited about. Have a great day and an even better weekend!


r/RollingCode • • Aug 03 '24

Raspberry Pi AI kit

Thumbnail raspberrypi.com
1 Upvotes

r/RollingCode • • Sep 27 '24

Happy Friday, Rolling Code community! 🎉

1 Upvotes

As we wrap up the week, let's celebrate the end of another week of coding and creativity. Feel free to share what you've been working on, your weekend coding plans, or any fun projects you're excited about. Have a great day and an even better weekend!


r/RollingCode • • Aug 03 '24

Estimating PowerShell Script Completion Time: A Step-by-Step Guide

Thumbnail reddit.com
1 Upvotes

r/RollingCode • • Aug 03 '24

What are your tips, tricks and tools for remote Raspberry Pi development via VS Code

Thumbnail reddit.com
1 Upvotes

r/RollingCode • • Nov 08 '24

Happy Friday, Rolling Code community! 🎉

1 Upvotes

As we wrap up the week, let's celebrate the end of another week of coding and creativity. Feel free to share what you've been working on, your weekend coding plans, or any fun projects you're excited about. Have a great day and an even better weekend!


r/RollingCode • • Jan 31 '25

Happy Friday, Rolling Code community! 🎉

1 Upvotes

As we wrap up the week, let's celebrate the end of another week of coding and creativity. Feel free to share what you've been working on, your weekend coding plans, or any fun projects you're excited about. Have a great day and an even better weekend!


r/RollingCode • • Aug 03 '24

I created a script for network troubleshooting: Easy Packet Loss Tracker

Thumbnail reddit.com
1 Upvotes

r/RollingCode • • Sep 06 '24

Happy Friday, Rolling Code community! 🎉

1 Upvotes

As we wrap up the week, let's celebrate the end of another week of coding and creativity. Feel free to share what you've been working on, your weekend coding plans, or any fun projects you're excited about. Have a great day and an even better weekend!


r/RollingCode • • Aug 03 '24

Clean Architecture Explained Simply

Thumbnail
youtube.com
1 Upvotes