Skip to content

Instantly share code, notes, and snippets.

---- Minecraft Crash Report ----
WARNING: coremods are present:
SpongeCoremod (spongeforge-1.10.2-2254-5.2.0-BETA-2241.jar)
IC2core (industrialcraft-2-2.6.180-ex110.jar)
Contact their authors BEFORE contacting forge
// I blame Dinnerbone.
Time: 3/24/17 4:24 AM
#Minecraft server properties
#Sat Mar 25 17:52:53 UTC 2017
spawn-protection=16
max-tick-time=12000
generator-settings={"coordinateScale"\:684.412,"heightScale"\:3211.7324,"lowerLimitScale"\:282.6338,"upperLimitScale"\:36.204224,"depthNoiseScaleX"\:200.0,"depthNoiseScaleZ"\:200.0,"depthNoiseScaleExponent"\:0.99542254,"mainNoiseScaleX"\:247.42958,"mainNoiseScaleY"\:71.40845,"mainNoiseScaleZ"\:177.02113,"baseSize"\:8.5,"stretchY"\:27.821339,"biomeDepthWeight"\:1.0,"biomeDepthOffset"\:0.0,"biomeScaleWeight"\:1.0,"biomeScaleOffset"\:0.0,"seaLevel"\:64,"useCaves"\:true,"useDungeons"\:true,"dungeonChance"\:15,"useStrongholds"\:true,"useVillages"\:true,"useMineShafts"\:true,"useTemples"\:true,"useMonuments"\:true,"useRavines"\:true,"useWaterLakes"\:true,"waterLakeChance"\:50,"useLavaLakes"\:true,"lavaLakeChance"\:80,"useLavaOceans"\:false,"fixedBiome"\:-1,"biomeSize"\:4,"riverSize"\:5,"dirtSize"\:33,"dirtCount"\:10,"dirtMinHeight"\:0,"dirtMaxHeight"\:256,"gravelSize"\:33,"gravelCount"\:8,"gravelMinHeight"\:0,"gravelM
@Kailang
Kailang / SincTest.cs
Created October 19, 2017 00:10
Windowed Sinc Low Pass
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class SincTrial : MonoBehaviour {
public int Phase, Period = 100;
public float Fc = 0.14f;
public int M = 100;
public float[] H, T;
@Kailang
Kailang / apu_adv.py
Created October 20, 2017 00:25
advanced app
import numpy as np;
import matplotlib.pyplot as plt;
import sounddevice as sd;
from math import *;
def note_to_freq(n):
return 27.5 * 2 ** ((n - 21.0) / 12.0);
def build_sin(size):
router.post('/trade', function(req, res, next) {
req.body.quantity = parseInt(req.body.quantity);
var self = this;
self.corp = res.locals.corp,
self.friend = res.locals.friend;
Order.create({
friend: self.friend._id,
var matchOrder = function(corp) {
var self = this;
self.corp = corp;
debug('corp [%s] [%s]', self.corp.symbol, self.corp.name);
return Promise.all([
Order.findOne({
corp: self.corp._id,
action: 'buy',
type: 'limit',
var debug = require('debug')('gskse:corpController');
var Friend = getModel('friend');
var Corp = getModel('corp');
var News = getModel('news');
var Order = getModel('order');
var Stock = getModel('stock');
var Report = getModel('report');
var sharp = require('sharp');
@Kailang
Kailang / TestK.cs
Last active February 10, 2018 04:18
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.XR;
public class TestK : MonoBehaviour {
public Transform headTrans, lHandTrans, rHandTrans;
void OnDrawGizmosSelected() {
if (OVRManager.tracker == null) return;
module Lib where
import Data.HashMap.Strict as H (HashMap, empty, fromList, insert, lookup, union)
--- Data Types
--- ----------
--- ### Environments and Results
type Env = H.HashMap String Val
@Kailang
Kailang / Monokaii.json
Created April 11, 2018 05:12
My single favorite color scheme for all time.
{
"name":"Monokaii",
"version":"1.0",
"description":"A smooth, dusky scheme.",
"originator":"Xamarin Inc. (http://xamarin.com)",
"colors":[
{"name": "Background(Read Only)", "color":"#252620" },
{"name": "Search result background", "color":"#005F60" },
{"name": "Search result background (highlighted)", "color":"#007F80" },
{"name": "Fold Square", "color":"#74705E", "secondcolor":"#272821" },