Skip to content

Instantly share code, notes, and snippets.

View sarhatabaot's full-sized avatar
🚢
Working from home

Omer Oreg sarhatabaot

🚢
Working from home
View GitHub Profile
@astei
astei / message.md
Last active November 12, 2021 09:39
Regarding my recent absence/disinterest in Minecraft

Here for the Velocity 3.0.1 release announcement? It's over here.

What's going on?

This year has been a wild ride for me. In February, I got a job with Branch. To say that the pressure has never been higher than ever is quite the understatement. To put it bluntly, this is not for the faint of heart. With the increase in workload at work, it has left me with ever less time to focus on Minecraft.

In addition, most of my projects have been one-man shows, with me being the principal driving force. Velocity alone as of this writing has 25,441 lines of code, with much of it written by me. But with increasing time pressure on me, along with not being adequately compensated for the free time I am able to put into Velocity, I have been forced to re-evaluate my priorities.

Where does that leave Velocity?

@2008Choco
2008Choco / UpdateChecker.java
Last active June 16, 2024 09:03
An update checker wrapper for Spigot plugins
import com.google.common.base.Preconditions;
import com.google.gson.JsonElement;
import com.google.gson.JsonParser;
import com.google.gson.stream.JsonReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.net.HttpURLConnection;
import java.net.URL;
import java.util.concurrent.CompletableFuture;
@svet-b
svet-b / bigdashboard_output.pdf
Last active June 13, 2024 08:43
PDF export of Grafana dashboard using puppeteer
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@BoGnY
BoGnY / README.md
Last active June 25, 2024 18:15
[WINDOWS] How to enable auto-signing Git commits with GnuPG for programs that don't support it natively

[WINDOWS] How to enable auto-signing Git commits with GnuPG for programs that don't support it natively

This is a step-by-step guide on how to enable auto-signing Git commits with GPG for every applications that don't support it natively (eg. GitHub Desktop, Eclipse, Git Tower, ...)

Requirements

  • Install GPG4Win: this software is a bundle with latest version of GnuPG v2, Kleopatra v3 certificate manager, GNU Privacy Assistant (GPA) v0.9 which is a GUI that uses GTK+, GpgOL and GpgEX that are respectively an extension for MS Outlook and an extension for Windows Explorer shell
  • Install Git for Windows: so you can have a *nix based shell, this software is a bundle with latest version of Git which use MINGW environment, a Git bash shell, a Git GUI and an extension for Windows Explorer shell (Make sure your local version of Git is at least 2.0, otherwise Git don't have support for automatically sign your commits)
  • Verify
@Stumblinbear
Stumblinbear / CommandManager.java
Created February 11, 2016 15:36
An annotation-based command manager that handles arguments, argument type handling, predictions, tab completion, (sub-)*commands, error handling, help pages, and more!
import java.io.PrintWriter;
import java.io.StringWriter;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
import java.lang.reflect.Constructor;
import java.lang.reflect.Field;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;