Bash scripts are commonly used to perform a variety of tasks. These examples describe various ways you can work with command line arguments.
Taking command line arguments is one of the first things you should learn how to do with a new language. In this tutorial we'll walk through a simple Java program that takes command line arguments. We'll look at how to check if any arguments were passed, access them directly by numerical index, and iterate through each argument provided.
In this tutorial, we'll walk through basics of using Maven to create projects, compile Java source code, and package our application as a standalone .jar with dependencies embedded, a Windows .exe, a Mac .app, and a Debian or Ubuntu based .deb package. I'll also mention some common settings and my recommended plugins.
In this tutorial we will walk through the process of installing the Java 1.8 and Java 9 JDKs in Windows for Java development. When we're done, we'll have both JDKs installed, with one of them set up as our default leaving us with a Java development environment ready to compile and run applications.
DISCLAIMER: Don't hold me accountable for any bad advice or incorrect information provided here. Use this information at your own risk. I was barely able to hack it together myself and there are still a few details I am not 100% clear on.
For more details about installing MSYS2 check out Install gcc compiler on Windows with MSYS2 for C/C++.
Qt has multiple levels of verbosity for logging. If you are able to print qInfo() messages but qDebug() is not outputting anything, you need to turn on the debug messages.
qInfo() << "Is this working?";
qDebug() << "but not this?";
You can set the Qt logging levels in ~/.config/QtProject/qtlogging.ini like this:
This tutorial walks through the process of creating a server, creating a bot, and writing a custom Python script to power the bot.
Check out Security with Go, a book I recently wrote, available from Packt Publishing. It covers secure development, red team and blue team topics and is useful for developers and infosec professionals like analysts, investigators, engineers, and pentesters. It's a great book if you want to get to know Go better or if you want to start using Go for security.
This tutorial walks through the process of creating a Discord webhook and triggering it with a custom Python script.