This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 * |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# spaceCase - v2.1 - [email protected] | |
from mojo.UI import CurrentSpaceCenter | |
from mojo.events import addObserver | |
from vanilla import * | |
class AddButtonToSpaceCenter: | |
def __init__(self): | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.posts { | |
@include whitespacefix; | |
@include c6; | |
@include nogutters; | |
.post { | |
@include inlineblock; | |
@include c2; | |
@include regular; | |
} |