Skip to content

Instantly share code, notes, and snippets.

@terabyte
terabyte / amazon.md
Created December 6, 2017 02:27
Amazon's Build System

Prologue

I wrote this answer on stackexchange, here: https://stackoverflow.com/posts/12597919/

It was wrongly deleted for containing "proprietary information" years later. I think that's bullshit so I am posting it here. Come at me.

The Question

Amazon is a SOA system with 100s of services (or so says Amazon Chief Technology Officer Werner Vogels). How do they handle build and release?

@Pokechu22
Pokechu22 / minecraft_1.8_1.8.9_1.9-pre2.json
Created February 23, 2016 03:19
Minecraft 1.8, 1.8.9, and 1.9-pre2 -- generated via http://github.com/pokechu22/Burger
This file has been truncated, but you can view the full file.
[
{
"achievements": {
"acquireIron": {
"desc": "Smelt an iron ingot",
"name": "Acquire Hardware"
},
"bakeCake": {
"desc": "Wheat, sugar, milk and eggs!",
"name": "The Lie"
// ==UserScript==
// @name TagPro Chat Icons
// @description Adds a row of icons below the chat input box
// @version 0.1.1
// @include http://tagpro-*.koalabeast.com:*
// @include http://tangent.jukejuice.com:*
// @include http://*.newcompte.fr*
// @require http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js
// @require http://ajax.googleapis.com/ajax/libs/jqueryui/1.11.4/jquery-ui.min.js
// @resource jqUI_CSS http://ajax.googleapis.com/ajax/libs/jqueryui/1.11.4/themes/smoothness/jquery-ui.css
/**
* Base Arena class.
* This class is a GameComponent so you can add any of the components.
* @see {@link com.jroossien.gameapi.components}
*/
public abstract class Arena extends GameComponent {
protected UUID uid;
protected String name;
protected String type;
<?php
class Server {
public static function backup($serverName) {
self::requireServerLocal($serverName);
Core::output('Starting backup for ' . $serverName);
$server = Config::get('servers', $serverName);
if (Server::isRunning($serverName)) {
Core::output('%-Server is running');
Core::output('%-%-Forcing save');
Server::send($serverName, 'save-all');
@aikar
aikar / TaskChain.java
Last active August 9, 2022 11:20
TaskChain v2.6 - Java 8 Version - Released Open Source Under MIT - Pre Java8 version here: https://gist.github.com/aikar/9010136 - learn about TC: https://aikar.co/2015/07/26/async-development-java-control-flow-for-bukkit/
/*
* TaskChain for Bukkit
*
* Written by Aikar <aikar@aikar.co>
* https://aikar.co
* https://starlis.com
*
* @license MIT
*/
@aikar
aikar / AsyncDbQueue.java
Last active October 17, 2019 17:11
Empire Minecraft DB Wrapper - EmpireDb - Released as MIT - Updated 6/24/2017 with less EMC related code. depends on https://github.com/aikar/minecraft-timings/
package com.empireminecraft.systems.db;
import com.empireminecraft.util.Log;
import java.sql.SQLException;
import java.util.Queue;
import java.util.concurrent.ConcurrentLinkedQueue;
import java.util.concurrent.locks.Lock;
import java.util.concurrent.locks.ReentrantLock;
@aikar
aikar / Hologram.java
Created October 19, 2015 02:44
Empire Minecraft Hologram System
/*
* Copyright (c) 2015. Starlis LLC / dba Empire Minecraft
*
* This source code is proprietary software and must not be redistributed without Starlis LLC's approval
*
*/
package com.empireminecraft.systems.holograms;
import com.empireminecraft.config.meta.PersistentMetaKey;
/*
* Copyright (c) 2015. Starlis LLC / dba Empire Minecraft
*
* This source code is proprietary software and must not be redistributed without Starlis LLC's approval
*
*/
package com.empireminecraft.util;
import lombok.NonNull;
@robot56
robot56 / gist:0a4147524acd01d916eb
Created June 2, 2015 17:23
List of all NVIDIA drivers and their download links if any. The time_elapsed is not fully accurate as the script had a bug that caused the timer to be started way later than it should have (roughly 4 hours).
This file has been truncated, but you can view the full file.
{
"_meta": {
"created_on": "2015-06-01 01:17:28",
"errors": [
],
"time_elapsed": 58381.66499996185,
"created_by": "NVIDIA Driver Grabber.py v1.0"
},
"product_types": {