Skip to content

Instantly share code, notes, and snippets.

View pollend's full-sized avatar
:octocat:
working on random stuff

Michael Pollind pollend

:octocat:
working on random stuff
View GitHub Profile
@pollend
pollend / read_accel.py
Created January 8, 2018 06:40 — forked from nudomarinero/read_accel.py
Get the acceleration data of a LightBlue Bean using Python
from __future__ import print_function
from bluetooth.ble import GATTRequester
from time import sleep
def get_accel(data):
"""
Get the acceleration values from the data
TODO: Add CRC check
See: http://legacy.punchthrough.com/bean/the-arduino-reference/accelerationreading/
"""
@pollend
pollend / gist:c7d490d775b9b56ead2c4d506a04c8cd
Created January 7, 2018 06:43 — forked from therealmuthu/iteration2.md
Review Terasology Homepage Spec | GCI 2017

First off, great job with the material design of the spec. It feels very intuitive to scroll through and improves upon the tad bit dated look of the current homepage. I love how key words are highlighted and bolded in order to make skimming through the site(which is what most visitors do) really easy. I see why you didn't include the fact that it's "like an open-source minecraft", but I think that line is key for users to understand Terasology and it's purpose. It's also great that you have seperate links for developers and players(with a nice description for both that fits in with the vibe of Terasology). In the description for developer, you say "the developer would want to know how to get started developing Terasology?". Why the question mark? Have a firm stance, no doubts. The current Terasology page provides a lot of information that is densly packed together, and gives off a dull vibe. This spec is very good at giving only necessary information and has a vibrant look and feel that goes hand in hand with

@pollend
pollend / BlockFamilyContrast.md
Created December 2, 2017 17:15 — forked from Steampunkery/BlockFamilyContrast.md
A compare & contrast of the new and old BlockFamily systems of Terasology

What is a BlockFamily?

A block family is a group, or family (hence the name) of blocks. What this means is there are an arbitrary number of blocks that are grouped together because they are similar. For example, there is a RomanColumn family which consists of a cap block, a base block and a middle block. These blocks are separate blocks with different textures, and they can also have distinct shapes (although RomanColumns are all cubes), but they share a *.block file. A block family is created with the "rotation" tag in v1 block families and the "family" tag in v2 block families. For more information about v1 block families and v2 block families, look here. This gist aims to compare and contrast the block family versions and add some documentation as well.

Definition

What I'm referring to as old block families are the current block families in the master Terasology repo as of the time of writing (Friday, December 1 2017). [Example of ol