Skip to content

Instantly share code, notes, and snippets.

View billymoon's full-sized avatar

Billy Moon billymoon

View GitHub Profile

undefined

dcr-generator

react-issuemd-poc

This Gist wa

@billymoon
billymoon / cell0.js
Last active October 5, 2017 22:27
untitled
import fiona from 'fiona'
import './lorem'
import './nino'
const seeded = fiona()
seeded.lorem()
seeded.sentence()
@billymoon
billymoon / ToggleFormat.py
Last active December 12, 2017 10:09
Hack to have single command to swap semi and standard linting and formatting
import sublime
import sublime_plugin
STANDARD_SETTINGS_FILE = "StandardFormat.sublime-settings"
SEMI_STANDARD_SETTINGS_FILE = "SemiStandardFormat.sublime-settings"
def plugin_loaded():
global standardSettings
global semiStandardSettings
standardSettings = sublime.load_settings(STANDARD_SETTINGS_FILE)
@billymoon
billymoon / cell0.js
Last active January 20, 2022 11:48
pseudo-random-data-generator-demo
import faker from "https://cdn.jsdelivr.net/npm/@faker-js/faker@6.0.0-alpha.3/dist/faker.min.js"; ///**import and configure faker**
faker.locales[faker.locale].name.male_prefix = ["Mr.", "Dr."];
faker.locales[faker.locale].name.female_prefix = ["Mrs.", "Miss.", "Dr."];
window.faker = faker;