Skip to content

Instantly share code, notes, and snippets.

:shipit:
codez

Blixt blixt

:shipit:
codez
Block or report user

Report or block blixt

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
View Event.swift
// Update: See a solution here:
// https://gist.github.com/blixt/08434b74f0c043f83fcb
// (NSMapTable holds onto the weak keys longer than I expected)
import Foundation
private class ClosureWrapper<EventData> {
typealias EventHandler = (EventData) -> Void
let closure: EventHandler
init(_ closure: EventHandler) {
View world_dump.py
This file has been truncated, but you can view the full file.
# WorldMetadata
{u'adjustPlayerStart': True,
u'centralStructure': {u'backgroundBlocks': [],
u'backgroundOverlays': [],
u'flaggedBlocks': {},
u'foregroundBlocks': [],
u'foregroundOverlays': [],
u'objects': []},
u'dungeonIdMap': [[0, u'avianairship']],
View worldmetadata
worldTemplate = {u'templateData': {u'detachedBiomeCount': 1, u'blendSize': 60.0, u'undergroundDetachedBiomeCaveFactor': 1.0, u'surfaceWeathers': [[1.0, {u'weatherNoises': [], u'name': u'clear', u'maximumWind': 0.0, u'lightningFrequency': 0.0, u'projectiles': [], u'particles': [], u'duration': [40.0, 100.0]}]], u'surfaceLevel': 600.0, u'primaryBiomeHueShift': -135.0, u'biomes': [{u'caveLiquidType': 4, u'surfacePlaceables': {u'grassModDensity': 0.8999999761581421, u'grassMod': 1, u'itemDistributions': [{u'modulusDistortion': {u'octaves': 2, u'beta': 2.0, u'bias': 8.0, u'frequency': 0.0833333358168602, u'gain': 2.0, u'amplitude': 4.0, u'offset': 1.0, u'alpha': 2.0, u'type': u'perlin', u'seed': 8109457383253712471L}, u'densityFunction': {u'octaves': 2, u'beta': 2.0, u'bias': -0.4000000059604645, u'frequency': 0.25, u'gain': 2.0, u'amplitude': 1.0, u'offset': 1.0, u'alpha': 2.0, u'type': u'perlin', u'seed': -1522463489702541583}, u'blockProbability': 5524939.0, u'blockSeed': -5704846321216458336L, u'priority': 1.0
View spawnentities
World size: 125 by 125 regions
Spawn point region: 0, 20
Outputting region: 0, 20
[
[
"PlantEntity",
1,
{
"ceiling": false,
View worldmetadata
open File(identifier="World2", path="SB/universe/alpha_-7529506_18243910_-21358832_9_2.world")
worldTemplate = {u'active': True,
u'celestialParameters': {u'coordinate': {u'location': [-7529505,
18243910,
-21358831],
u'planet': 9,
u'satellite': 2,
u'sector': u'alpha'},
u'name': u'Alpha Kappa Psc 5523 V a',
@blixt
blixt / playerQuests.json
Created Feb 21, 2014
playerQuests.db, random key data
View playerQuests.json
{
"status": "completed",
"completionText": "Well done! Using the crafting table will give you access to a wide range of new recipes. Collecting fuel and visiting a range of planets is the best way to find resources.",
"questId": "5d6946dcae9993ac36d7ea407bbdf81d",
"rewards": [
{
"count": 1,
"data": {},
"name": "woodencraftingtable1"
}
@blixt
blixt / universe.chunks.json
Created Feb 21, 2014
Random key from universe.chunks
View universe.chunks.json
[
"CelestialChunk",
1,
{
"systemObjects": [
[
[
7745997,
-57571756,
9884563
View gist:9937082
diff --git a/assets/objects/avian/midjar1/midjar1.frames b/assets/objects/avian/midjar1/midjar1.frames
index dedf799..11b9c4d 100644
--- a/assets/objects/avian/midjar1/midjar1.frames
+++ b/assets/objects/avian/midjar1/midjar1.frames
@@ -1,7 +1,7 @@
{
"frameGrid" : {
- "size" : [11, 12],
+ "size" : [12, 11],
View keybase.md

Keybase proof

I hereby claim:

  • I am blixt on github.
  • I am blixt (https://keybase.io/blixt) on keybase.
  • I have a public key whose fingerprint is C26D 7B7A 6A03 8103 2C94 4B7B E76D 7FC3 1C26 C0ED

To claim this, I am signing this object:

View gist:5c24f8ac1772c6f76129
// Set up the feed node.
var feedNode = <feed onShowNewStories={store.dequeue.bind(store)} />;
React.renderComponent(feedNode, document.getElementById('react'));
// Keep track of the state of the feed service.
store.on('statechange', function() {
feedNode.setState({storeState: store.state});
});
You can’t perform that action at this time.