Skip to content

Instantly share code, notes, and snippets.

@graywolf336
graywolf336 / abc.txt
Last active August 29, 2015 13:57 — forked from ThatRendle/abc.txt
1. Back up C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\Packages\schemas\html\commonHTML5Types.xsd
2. Delete C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\Packages\schemas\html\commonHTML5Types.bin if it exists
3. Replace it with the file below.
4. Restart Visual Studio 2012.
@graywolf336
graywolf336 / BukkitSerialization.java
Last active March 1, 2026 02:42
Serialize and deserialize the player's inventory, including armor and content.
/**
* Converts the player inventory to a String array of Base64 strings. First string is the content and second string is the armor.
*
* @param playerInventory to turn into an array of strings.
* @return Array of strings: [ main content, armor content ]
* @throws IllegalStateException
*/
public static String[] playerInventoryToBase64(PlayerInventory playerInventory) throws IllegalStateException {
//get the main content part, this doesn't return the armor
String content = toBase64(playerInventory);
@graywolf336
graywolf336 / config.yml
Last active December 30, 2015 12:29
Jail 3.0 Default Config
# ###################
# Jail v3.0.0-SNAPSHOT-b206 config file
# Note: You -must- use spaces instead of tabs!
# ###################
system:
configVersion: 3
debug: false
language: en
updateNotifications: true
useBukkitTimer: true