Adapted from data from the below for use on blocks
forked from skopp's "forked: the-matrix" http://jsdo.it/skopp/vEBP forked from teetteet's "forked: the-matrix" http://jsdo.it/teetteet/fiiz
forked from dongriab's "the-matrix" http://jsdo.it/dongriab/c56Z
This file contains hidden or 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
from __future__ import print_function | |
import sublime | |
import sublime_plugin | |
import os | |
import sys | |
import json | |
import base64 | |
import subprocess | |
import functools | |
import webbrowser |
From Wikipedia:
Epicyclic gearing or planetary gearing is a gear system consisting of one or more outer gears, or planet gears, revolving about a central, or sun gear. … Epicyclic gearing systems also incorporate the use of an outer ring gear or annulus, which meshes with the planet gears.
Use the menu in the top-left to change the frame of reference, fixing the specified gear in-place.
This file contains hidden or 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
Teacup.handler UINavigationBar, :backgroundImage do |styles| | |
styles.each do |metric, image| | |
case metric | |
when UIBarMetricsDefault, :portrait | |
self.setBackgroundImage(image && image.uiimage, forBarMetrics:UIBarMetricsDefault) | |
when UIBarMetricsLandscapePhone, :landscape | |
self.setBackgroundImage(image && image.uiimage, forBarMetrics:UIBarMetricsLandscapePhone) | |
end | |
end | |
end |
This file contains hidden or 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
Teacup.handler UINavigationBar, :backgroundImage { |styles| | |
styles.each do |metric, image| | |
metric = metric.uibarmetrics if metric.is_a? Symbol | |
self.setBackgroundImage(image && image.uiimage, forBarMetrics:metric) | |
end | |
} |
This file contains hidden or 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
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE | |
Version 2, December 2004 | |
Copyright (C) 2011 YOUR_NAME_HERE <YOUR_URL_HERE> | |
Everyone is permitted to copy and distribute verbatim or modified | |
copies of this license document, and changing it is allowed as long | |
as the name is changed. | |
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE |
This file contains hidden or 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
var async = require('async'); | |
/*jshint noarg:false */ | |
function first(next) { | |
console.log('first', arguments); | |
next(); // no params = nothing in next step | |
} | |
function second(next) { | |
console.log('second', arguments); |
This file contains hidden or 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
<div class="hexrow"> | |
<div> | |
<span>Any text you would like (that fits).</span> | |
<div></div> | |
<div></div> | |
</div> | |
<div> | |
<span>Really, change the text to say what you want!</span> | |
<div></div> | |
<div></div> |
This file contains hidden or 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
<en-note> | |
<span style="font-weight:bold;color:red;">Here's some bold red text!</span> | |
</en-note> |