Skip to content

Instantly share code, notes, and snippets.

View jamierocks's full-sized avatar

Jamie jamierocks

View GitHub Profile
@jamierocks
jamierocks / Build-FTB-App.md
Last active January 14, 2021 19:27
A guide for building the original Electron-based (and Overwolf free) FTB App.

Build FTB App for Windows

A guide for building the original Electron-based (and Overwolf free) FTB App.

Preface

Prerequisties

@jamierocks
jamierocks / StringReader.cs
Created December 8, 2020 00:24
C# port of my Java string library (https://github.com/jamiemansfield/string)
/*
* This file is part of string, licensed under the MIT License (MIT).
*
* Copyright (c) Jamie Mansfield <https://www.jamiemansfield.me/>
* Copyright (c) contributors
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
/*
* This file is part of Sponge, licensed under the MIT License (MIT).
*
* Copyright (c) SpongePowered <https://www.spongepowered.org>
* Copyright (c) contributors
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
/*
* This file is part of Lorenz, licensed under the MIT License (MIT).
*
* Copyright (c) Jamie Mansfield <https://www.jamierocks.uk/>
* Copyright (c) contributors
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
@jamierocks
jamierocks / 1.java
Last active February 12, 2017 13:09
A block builder system for Minecraft Forge. Licensed MIT.
@SubscribeEvent
public static void registerBlocks(RegistryEvent.Register<Block> event) {
// tungsten
registerBlock(event.getRegistry(), UnnamedBlock.oreBuilder()
.identifier("tungsten_ore")
.drop(() -> tungsten, ItemDropBehaviour.Ore.of(1, 3))
.drop(ExpDropBehaviour.of(2, 5))
.build());
registerBlock(event.getRegistry(), UnnamedBlock.builder()
.identifier("tungsten_block")
package uk.jamierocks.sponge.hack.scoreboard;
import uk.jamierocks.sponge.hack.util.Wrapper;
import com.google.common.collect.Sets;
import org.spongepowered.api.scoreboard.Score;
import org.spongepowered.api.scoreboard.Team;
import org.spongepowered.api.text.Text;
public class HackScore extends Wrapper<Score> {
@jamierocks
jamierocks / jenks.css
Created January 1, 2016 16:15 — forked from stephan-gh/jenks.css
Jenks - A simple and clean theme for the Jenkins continous integration server. (Demo: http://ci.minecrell.net)
/*
* Jenks - A simple and clean theme for the Jenkins continous integration server.
* Copyright (c) 2014, Minecrell <https://github.com/Minecrell>
* Licensed under the MIT License: http://opensource.org/licenses/MIT
*/
@import url(//fonts.googleapis.com/css?family=Open+Sans|Source+Code+Pro);
body, table, form, input, td, th, p, textarea, select {
font-family: 'Open Sans', sans-serif;
@jamierocks
jamierocks / Dont-Want.md
Last active November 29, 2015 14:44
Steam keys I do not want. Comment if you have activated one.

Not Activated

None :(

Activated

Commander-Conquest-Of-The-Americans.txt

SOURCE: DLH.NET

Keybase proof

I hereby claim:

  • I am jamierocks on github.
  • I am jamierocks (https://keybase.io/jamierocks) on keybase.
  • I have a public key whose fingerprint is C076 873C 4C34 3CBB 216E D420 27F6 918C 0D47 DF94

To claim this, I am signing this object:

class Block implements MetaOwner<Block> {
}