Skip to content

Instantly share code, notes, and snippets.

View PButcher's full-sized avatar

Peter Butcher PButcher

View GitHub Profile
@PButcher
PButcher / lfs-version-history.json
Last active December 14, 2023 22:29
LFS Version History (Vega-Lite)
{
"$schema": "https://vega.github.io/schema/vega-lite/v5.json",
"title": "LFS Version History",
"data": {
"values": [
{"major": "Demo", "minor": "0.04K", "date": "Aug 18 2002"},
{"major": "Demo", "minor": "0.04Q", "date": "Aug 31 2002"},
{"major": "Demo", "minor": "0.1B", "date": "Sep 6 2002"},
{"major": "Demo", "minor": "0.1D", "date": "Sep 14 2002"},
{"major": "Demo", "minor": "0.1F", "date": "Oct 11 2002"},
@PButcher
PButcher / macos-setup.md
Last active January 19, 2022 12:53
Pete's MacOS Setup

Pete's MacOS Setup

ZSH and Hyper

MacOS Monterey comes with ZSH and I use it with Hyper, an Electron-based terminal.

The terminal theme I use is called Material Shell and can be installed across all MacOS terminals with oh-my-zsh.

@PButcher
PButcher / index.js
Last active April 25, 2018 21:58
get-urls as a global function. (From sindresorhus/get-urls)
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
/******/
/******/ // The require function
/******/ function __webpack_require__(moduleId) {
/******/
/******/ // Check if module is in cache
/******/ if(installedModules[moduleId]) {
/******/ return installedModules[moduleId].exports;
@PButcher
PButcher / gumball2017end.json
Created August 4, 2017 20:35
[TC] Gumball 2017 - Official Results [Raw JSON]
[{"ID":"15185","countrycode":"PL","USERNAME":"prodeje","Nickname":"^3DD^0\u2022^7Ravisk#01","Start Km":"55130734","Current Km":"75130692","Gumball Km":"19999958","Gumball m":"19999958","Driving Time":"515131","Avg speed":"139.76997851","Last seen":"today"},{"ID":"23540","countrycode":"TN","USERNAME":"racerss","Nickname":"^1[TS] ^7Dee #35","Start Km":"123098318","Current Km":"140814794","Gumball Km":"17716476","Gumball m":"17716476","Driving Time":"601640","Avg speed":"106.00909780","Last seen":"today"},{"ID":"23210","countrycode":"HU","USERNAME":"sergey29","Nickname":"^2[GLOW] Angel ^7#32","Start Km":"320148825","Current Km":"334586990","Gumball Km":"14438165","Gumball m":"14438165","Driving Time":"655704","Avg speed":"79.26960031","Last seen":"today"},{"ID":"16393","countrycode":"ES","USERNAME":"stanis96","Nickname":"^0[^1RDSR^0] ^6Warrior","Start Km":"117962926","Current Km":"130615905","Gumball Km":"12652979","Gumball m":"12652979","Driving Time":"428955","Avg speed":"106.18998357","Last seen":"<FONT COLOR
@PButcher
PButcher / index.html
Created March 17, 2016 14:31
Simple Tab View
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Tabs</title>
<link rel="stylesheet" type="text/css" href="css/style.css">
<script type="text/javascript" src="js/main.js"></script>
</head>
<body>
<div class="tab-view" id="tabView">
@PButcher
PButcher / Pure CSS Drip.markdown
Created February 21, 2016 06:59
Pure CSS Drip
@PButcher
PButcher / Pure CSS Batteries.markdown
Created February 4, 2016 00:01
Pure CSS Batteries
@PButcher
PButcher / Pure CSS Emoji.markdown
Created February 1, 2016 23:00
Pure CSS Emoji
@PButcher
PButcher / index.html
Created January 28, 2016 13:55
Square Loader
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title></title>
<link rel='stylesheet' type='text/css' href='css/style.css'>
</head>
<body>
<div class="square-loader">
<div class="triangle triangle-red"></div>
@PButcher
PButcher / styles.less
Last active July 5, 2016 12:45
Atom Seti-UI Theme Tweaks
/* Pete's atom styles */
/* Seti UI + Seti Syntax*/
/* Tree view indentation */
/* Root node */
li.directory.entry.list-nested-item.project-root {
padding-left: 0px !important;
/* Child nodes */
li.directory.entry.list-nested-item {