Skip to content

Instantly share code, notes, and snippets.

@1-800-jono
1-800-jono / customNumber.js
Last active October 8, 2019 18:05 — forked from kmelve/customNumber.js
Custom Number Select input component for Sanity.io
import CustomNumberSelect from './customNumberSelect'
export default {
name: 'sizes',
type: 'number',
inputComponent: CustomNumber,
options: {
list: [
{title: 'xsmall', value: 1},
{title: 'small', value: 2},
@1-800-jono
1-800-jono / dnsmasq_setup_osx.md
Created January 29, 2018 18:17 — forked from eloypnd/dnsmasq_setup_osx.md
wildcard DNS record on OS X in localhost development with dnsmasq

wildcard DNS in localhost development

$ brew install dnsmasq
   ...
$ cp /usr/local/opt/dnsmasq/dnsmasq.conf.example /usr/local/etc/dnsmasq.conf
  • edit /usr/local/etc/dnsmasq.conf
address=/local/127.0.0.1
@1-800-jono
1-800-jono / 0_reuse_code.js
Last active August 29, 2015 14:07
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console