Skip to content

Instantly share code, notes, and snippets.

View heavysixer's full-sized avatar
😎

Mark Daggett heavysixer

😎
View GitHub Profile
@heavysixer
heavysixer / gist:0fa8343cc1ff05fae262fb7b15def41e
Created February 8, 2022 16:52
additional card mechanics for Hearthstone.
Additional card mechanic idea which is that there are two characters per card. One for defense and one for offense. The card is removed only when the defensive and offensive sides have been destroyed.
Cards start with base attributes and abilities, which can be modified by a variety of triggers.
What if?
- some cards took up more than one slot in the hand
- Some cards could be combined while still in the (deck, discard pile, hand)
- Actions happened based on winning or losing streaks
Game Components
# A simple Book Cipher
# https://en.wikipedia.org/wiki/Book_cipher
# input = <<EOF
# A book cipher is a cipher in which the key is some aspect of a book or other
# piece of text; books being common and widely available in modern times, users
# of book ciphers take the position that the details of the key are sufficiently
# well hidden from attackers in practice.
#EOF
# cipher = BookCipher.new
# encoded = cipher.encode(input)
@heavysixer
heavysixer / form-errors.js
Last active April 12, 2016 22:04
Angular 1.x directive for displaying rails errors in the view.
(function () {
'use strict';
/**
* @ngdoc directive
* @name hsFormErrors
* @module humansized.directives.hsFormErrors
* @restrict E
*
* @description
*
@heavysixer
heavysixer / README.md
Last active March 16, 2016 20:02
fresh block
@heavysixer
heavysixer / _.md
Created March 16, 2016 18:35
prototype: d3.geo topojson v1
@heavysixer
heavysixer / _.md
Created March 16, 2016 18:35
prototype: d3.geo topojson v1
@heavysixer
heavysixer / _.md
Last active March 16, 2016 19:30
prototype: d3.geo topojson v1
@heavysixer
heavysixer / makeblock-xy-plotter.md
Last active March 2, 2024 13:24 — forked from fogleman/makeblock-xy-plotter.md
Getting Started with the Makeblock XY Plotter 2.0

Assembly

Assembly is straightforward but takes a while. Comes with all the tools you need. Everything is metric. I recommend labeling the screw packets before starting so you know which size is which.

I ended up tightening the drive belts after initial assembly, which is tough to do. I used vise grips to help. Do not overtighten the belts however, because it can cause strain on the servo motors.

I also added a couple washers (of my own) to the pen mechanism to reduce slop. On either side of the arm that raises / lowers the pen. If you do not add your own washers, you can also use the white plastic spacers that come with the plotter.

Ensure that the pivot screw that holds the drawing arm to the upper assembly is tight however. Horizontal slop will lead to impersice drawings.

@heavysixer
heavysixer / gist:26e314e02e6c3e65ff05
Created January 29, 2016 19:23
please add your email address to this list for permissions to dropbox.
emails go here: