Skip to content

Instantly share code, notes, and snippets.

Jamie Mansfield jamierocks

Block or report user

Report or block jamierocks

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
@jamierocks
jamierocks / 1.java
Last active Feb 12, 2017
A block builder system for Minecraft Forge. Licensed MIT.
View 1.java
@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")
View HackScore.java
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 Jan 1, 2016 — forked from Minecrell/jenks.css
Jenks - A simple and clean theme for the Jenkins continous integration server. (Demo: http://ci.minecrell.net)
View jenks.css
/*
* 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 Nov 29, 2015
Steam keys I do not want. Comment if you have activated one.
View Dont-Want.md

Not Activated

None :(

Activated

Commander-Conquest-Of-The-Americans.txt

SOURCE: DLH.NET

View keybase.md

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:

View Blocks.java
class Block implements MetaOwner<Block> {
}
View cipher.js
var alphabet = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ';
function cipher(input, shift) {
var result = '';
for (var i = 0; i < input.length; i++) {
var position = alphabet.indexOf(input[i].toUpperCase()) + Math.floor(shift);
if (position > 25) {
position -= 26;
}
View keytbase.md

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 1F90 8B72 99BF 0CFB 31E6 76E2 08C0 67AF 5B44 74B4

To claim this, I am signing this object:

You can’t perform that action at this time.