Skip to content

Instantly share code, notes, and snippets.

View jackjennings's full-sized avatar
⛰️

Jack Jennings jackjennings

⛰️
View GitHub Profile
# Ventriloquist - Build 0.1
# insert a dummy dsig table with unique numbers into .otf fonts
# the idea is to kill two birds with one stone
# this idea needs lots of testing
# to do: add SerialDump[] to a txt file for record keeping
#
# [email protected]
from fontTools.ttLib import TTFont
from mojo.compile import *
text = %Q(%%BEGIN_GROUP_TEXT_7
%BEGIN_TEASER
The research on reversibly expandable structures focused ...
%END_TEASER
%BEGIN_EXPANDED
... to understand how to realize structures that can vary in shape and size, was translated into several US patents registered under the name of Charles Hoberman. These patents include precise drawings detailing the overall spatial formations as well as the form and dimension of individual joints and trusses. The exhibited patent 5,024,031 presents a summary of Hoberman’s approach, including spheres and iris domes.
%END_EXPANDED
%%END_GROUP_TEXT
%%BEGIN_GROUP_TEXT_7
# spaceCase - v2.1 - [email protected]
from mojo.UI import CurrentSpaceCenter
from mojo.events import addObserver
from vanilla import *
class AddButtonToSpaceCenter:
def __init__(self):
class VideoBlock < ActiveRecord::Base
belongs_to :content_block
validates_presence_of :url
validate :is_a_vimeo_link
validates_length_of :title, maximum: 255
before_save :set_video_id
@jackjennings
jackjennings / posts.scss
Last active August 29, 2015 14:22 — forked from briansw/posts.scss
.posts {
@include whitespacefix;
@include c6;
@include nogutters;
.post {
@include inlineblock;
@include c2;
@include regular;
}