Skip to content

Instantly share code, notes, and snippets.

@chrissimpkins
chrissimpkins / bokehjs-licenses.md
Created December 24, 2018 04:07
bokehjs-licenses.md

License List

Generated with the following command in the bokeh repository bokehjs directory after executing npm install:

$ npx license-checker --production --csv
"module name","license","repository"
"@types/[email protected]","MIT","https://github.com/jakearchibald/ES6-Promise"
@chrissimpkins
chrissimpkins / cache-py.sh
Last active September 13, 2018 03:37
cache-py.sh
#!/usr/bin/env bash
#-----------------------------------
## put in an after job
## bash ./cache-py.sh 3.7.0
#-----------------------------------
py_ver=${1:-'3.7.0'}
py_dir="py$py_ver"
py_path="$SEMAPHORE_CACHE_DIR/$py_dir"
@chrissimpkins
chrissimpkins / restore-py-cache.sh
Last active September 13, 2018 03:45
restore-py-cache.sh
#!/usr/bin/env bash
#-------------------------------------------
## add to the setup
## source ./restore-py-cache.sh 3.7.0
#-------------------------------------------
set -e
py_ver=${1:-'3.7.0'}
@chrissimpkins
chrissimpkins / upgrade-crunch-executable.sh
Created June 4, 2018 02:09
Upgrade crunch executable and dependencies
#!/bin/sh
git clone https://github.com/chrissimpkins/Crunch.git
cd Crunch
rm -rf ~/pngquant
rm -rf ~/zopfli
make build-dependencies
make install-executable
crunch --version
@chrissimpkins
chrissimpkins / hack-linux-installer.sh
Last active August 4, 2024 21:04
Hack typeface installer for Linux
#!/bin/sh
# /////////////////////////////////////////////////////////////////
#
# hack-linux-installer.sh
# A shell script that installs the Hack fonts from repository
# releases by release version number
#
# Copyright 2018 Christopher Simpkins
# MIT License
@chrissimpkins
chrissimpkins / q.c
Created February 1, 2018 04:07
Q (U+0051) specimen in C
#include "q.h"
/*
* Qanat Qintar Quahog
*/
#define QUAD 4
int is_a_q(const char *path)
{
@chrissimpkins
chrissimpkins / linespace.sh
Last active November 14, 2023 06:36
linespace.sh
#!/bin/sh
# //////////////////////////////////////////////////////////////////////
#
# linespace.sh
# A shell script that modifies all .otf and .ttf fonts in the
# working directory to $PERCENT_UPM% UPM line spacing
# Copyright 2018 Christopher Simpkins
# MIT License
#
@chrissimpkins
chrissimpkins / gist:36462b1e3c5d0f0f4cd256cd2275d22c
Created October 6, 2017 20:09 — forked from rxaviers/gist:7360908
Complete list of github markdown emoji markup

People

:bowtie: :bowtie: ๐Ÿ˜„ :smile: ๐Ÿ˜† :laughing:
๐Ÿ˜Š :blush: ๐Ÿ˜ƒ :smiley: โ˜บ๏ธ :relaxed:
๐Ÿ˜ :smirk: ๐Ÿ˜ :heart_eyes: ๐Ÿ˜˜ :kissing_heart:
๐Ÿ˜š :kissing_closed_eyes: ๐Ÿ˜ณ :flushed: ๐Ÿ˜Œ :relieved:
๐Ÿ˜† :satisfied: ๐Ÿ˜ :grin: ๐Ÿ˜‰ :wink:
๐Ÿ˜œ :stuck_out_tongue_winking_eye: ๐Ÿ˜ :stuck_out_tongue_closed_eyes: ๐Ÿ˜€ :grinning:
๐Ÿ˜— :kissing: ๐Ÿ˜™ :kissing_smiling_eyes: ๐Ÿ˜› :stuck_out_tongue:
@chrissimpkins
chrissimpkins / README-Template.md
Created October 6, 2017 19:58 — forked from PurpleBooth/README-Template.md
A template to make good README.md

Project Title

One Paragraph of project description goes here

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites

@chrissimpkins
chrissimpkins / todo_py_source.py
Last active October 4, 2017 16:18
TODO logs Python source example
#!/usr/bin/env python
# -*- coding: utf-8 -*-
# file: pydoc.py
# TODO this needs a lot of this and that
class PythonThreeDocObj(object):
...
# TODO more things that I need to do