Skip to content

Instantly share code, notes, and snippets.

Jaime Martínez Rincón jamezrin

Block or report user

Report or block jamezrin

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
jamezrin / JavaGraphicGlitchFixer.bat
Created Mar 19, 2016
Little script to fix the swing rendering issues with Java
View JavaGraphicGlitchFixer.bat
@echo off
title Java Swing Graphical Glitch Fixer
color 02
net file 1>nul 2>nul
if '%errorlevel%' == '0' (
goto ask
) else (
powershell "saps -filepath %0 -verb runas" >nul 2>&1
View index.php
<!DOCTYPE html>
// Direccion del servidor, usuario, contraseña y base de datos
$con = new mysqli("localhost", "root", "", "cosasdb");
//Setting up gson
GsonBuilder builder = new GsonBuilder();
//fix for map key that is null
//gson does UUID.fromString even if the object is null, and it does not accept nulls
builder.registerTypeAdapter(UUID.class, (JsonDeserializer<UUID>) (element, type, context) -> {
if (element.isJsonNull() || element.getAsString().equals("null")) {
return null;
public class GeolocationManager {
private final DatabaseProvider provider;
public GeolocationManager(LobbyBalancer plugin) throws Exception {
File dir = new File(plugin.getDataFolder(), "data");
if (!dir.exists()) {
File reader = new File(dir, "geoip2-2.8.0");
if (!reader.exists()) {

Keybase proof

I hereby claim:

  • I am Jamezrin on github.
  • I am jaime29010 ( on keybase.
  • I have a public key whose fingerprint is D751 DC9D 2016 3C3B 6627 2C03 A99A 07C6 AE63 3603

To claim this, I am signing this object:

jamezrin /
Last active Aug 9, 2017
Little class to create guest pastes on Pastebin (uses lombok!)
package com.jaimemartz.playerbalancer.utils;
import lombok.Data;
import lombok.Getter;
jamezrin /
Last active Jul 6, 2017
Java class to store boolean values on numbers
package com.jaimemartz.bitexample;
import static com.jaimemartz.bitexample.BitHelper.*;
public class BitExample {
/* Output:
Testing at bit: 1
Starting status: false
Setting to true: 100000000000001
jamezrin / GithubDankifier.js
Last active Apr 28, 2017
Github Dankifier
View GithubDankifier.js
// ==UserScript==
// @name Github Dankifier
// @namespace
// @version 0.1
// @description Send nudes please
// @author jaime29010
// @match*
// @grant none
// ==/UserScript==
View youtube-dl.conf
# Force resume of partially downloaded files
# Continue on download errors
# Do not overwrite files
# Convert video files to audio-only files
jamezrin / Installer.bat
Last active Nov 11, 2016
Little script to install maven to your system easily
View Installer.bat
@echo off
title Easy Maven Installer Script
if defined M2_HOME (
choice /m "Maven seems to be already installed, do you want to continue?" /c YN
if errorlevel 2 (
echo The installation has been cancelled
) else if errorlevel 1 (
You can’t perform that action at this time.