This is copy of Debugging with ipython and ipdb.
- http://pypi.python.org/pypi/setuptools/
- Try to run
which easy_install
- Should return something like: /usr/local/share/python/easy_install
# menuTitle : myCloud Export/Import | |
# shortCut : command+control+e | |
""" | |
code took from LettError known as Erik van Blokland (or Erik van Blokland known as LettError) | |
This is window that wraps the functionality explained here: | |
https://forum.robofont.com/topic/646/export-glyph-image-edit-on-ipad-reimport-as-background-image | |
https://gist.github.com/LettError/d0d2688abe959595a88b3fdb85c18db3 | |
""" | |
from vanilla import FloatingWindow, SquareButton, TextBox |
""" | |
Assuming you have | |
a UFO open in RoboFont | |
a current glyph selected | |
and furthermore that | |
this glyph is part of a git repository | |
and that you have done some work on it | |
and would like to compare the current state in robofont |
#!/bin/bash -e | |
pushd "$(dirname "$0")" >/dev/null | |
chardiffdir=$PWD | |
pushd "../.." >/dev/null | |
srcdir=$PWD | |
fontsample=$srcdir/misc/tools/fontsample/fontsample | |
popd >/dev/null | |
popd >/dev/null | |
outfile=$1 |
# jackson # ok@yty.pe | |
import os | |
from AppKit import NSFilenamesPboardType, NSDragOperationCopy | |
from vanilla import Window, List, Button | |
class doThing(): | |
def __init__(self, path): |
'use strict'; | |
// ======================================================================= | |
// Gulp Plugins | |
// ======================================================================= | |
var gulp = require('gulp'), | |
nunjucks = require('nunjucks'), | |
markdown = require('nunjucks-markdown'), | |
marked = require('marked'), | |
rename = require('gulp-rename'), | |
gulpnunjucks = require('gulp-nunjucks'); |
This is copy of Debugging with ipython and ipdb.
which easy_install
Clone project
Checkout all branches that contain the files that should be moved
Delete the remote
Run the filter-branch command:
git filter-branch --tree-filter 'mkdir -p /path/to/tmp; mv * /path/to/tmp; mkdir subdir; mv /path/to/tmp/* subdir/' --tag-name-filter cat --prune-empty -- --all
#add 'node_modules' to .gitignore file | |
git rm -r --cached node_modules | |
git commit -m 'Remove the now ignored directory node_modules' | |
git push origin <branch-name> |
#Quick Guide
sudo atsutil databases -remove
atsutil server -shutdown
atsutil server -ping
#Extended Guide from http://doc.extensis.com/Font-Management-in-OSX-Best-Practices-Guide.pdf
Python syntax here : 2.7 - online REPL
Javascript ES6 via Babel transpilation - online REPL
import math