Skip to content

Instantly share code, notes, and snippets.

View benmgreene's full-sized avatar

Ben Greene benmgreene

View GitHub Profile
# ~/.osx — http://mths.be/osx
###############################################################################
# General UI/UX #
###############################################################################
# Set computer name (as done via System Preferences → Sharing)
scutil --set ComputerName "MathBook Pro"
scutil --set HostName "MathBook Pro"
scutil --set LocalHostName "MathBook-Pro"
from bbase.utils.imports import *
import isdb
@isdb.P.register
class PMetaData(isdb.ProcessingModel):
output_model = isdb.output_models.MetaData
id = isdb.ProcessingColumn(commit=False,primary_key=True)
namespace = isdb.ProcessingColumn()