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 / !
Created Oct 21, 2018 — forked from Darkhogg/!
"Reboot to {OS}" scripts for rEFInd Next Boot selection
View !

Reboot to {OS}

This a collection of notes and files used in my quest to create "Reboot to Windows" and "Reboot to Linux" scripts (and desktop shortcuts) for Linux and Windows respectively that automatically reboot my system and instruct rEFInd to auto-select the appropriate OS entry.

General Information

The key for achieving this is to modify the EFI Variable PreviousBoot with GUID 36d08fa7-cf0b-42f5-8f14-68df73ed3740, which rEFInd uses to store the last entry selected in the menu and, if using the + default entry, will be used to select the default OS. By doing this, we trick rEFInd into booting the OS we choose without having to be physically there to press the keyboard.

jamezrin /
Created Oct 1, 2016 — forked from aikar/
Empire Minecraft DB Wrapper - EmpireDb - Released as MIT - Ignore the copyright headers
* Copyright (c) 2015. Starlis LLC / dba Empire Minecraft
* This source code is proprietary software and must not be redistributed without Starlis LLC's approval
import com.empireminecraft.util.Util;
You can’t perform that action at this time.