Skip to content

Instantly share code, notes, and snippets.

View sethlilly's full-sized avatar

Seth Lilly sethlilly

View GitHub Profile
@sethlilly
sethlilly / test.js
Last active December 19, 2015 01:59
Test Gist for embedding in blog posts
/* This is a test file.
** Create a cheese object, let the odor waft through the air,
** then decide whether to eat it.
*/
var cheddar = new Cheese();
var aroma = cheddar.waft();
// Unless it's *really* nasty, eat it.
@sethlilly
sethlilly / font-boosting.css
Created June 27, 2013 21:12
Disable font boosting in Chrome for Android
/* Disable font boosting in Chrome for Android */
body * {
max-height: 1000000em;
}
@sethlilly
sethlilly / shortcut.txt
Created July 10, 2013 14:59
Open Chrome in Incognito on OS X
"/Applications/Google Chrome.app/Contents/MacOS/Google Chrome" --incognito --flag-switches-begin --sync-keystore-encryption --flag-switches-end
@sethlilly
sethlilly / env.sh
Created July 18, 2013 14:56
Installs curl, git, npm and node on a freshly-created Vagrant VM. Uses TJ Holowaychuk's n to install and manage node versions.
#!/bin/bash
# Set up the environment after installing the Vagrant machine
# Basic utilities
sudo apt-get install curl -y
sudo apt-get install git -y
# Node
sudo apt-get install npm -y
@sethlilly
sethlilly / gist.css
Created October 16, 2013 22:19
Snippet of Gist embed code for Vapor
.gist {
margin-top: 1em;
margin-bottom: 1em;
border-collapse: collapse !important;
}
.gist .gist-file {
font-family: consolas, courier, monospace !important;
border: 1px solid rgba(0,0,0,0.05) !important;
}
@sethlilly
sethlilly / gist.scss
Created October 21, 2015 00:36
Gist SCSS example
// Embedded Gist support (https://gist.github.com)
.gist {
margin-top: 20px;
margin-bottom: 20px;
border-collapse: collapse !important;
.gist-file {
font-family: $preFontFamily;
border: 1px solid $subtleColor !important;
.gist-meta {
@sethlilly
sethlilly / config.json
Created October 21, 2015 20:04
Vapor 2.0 config.json
{
"showHeaderDescription": false,
"showFooterDescription": true,
"showNavigation": true,
"showSearch": false
}

Keybase proof

I hereby claim:

  • I am sethlilly on github.
  • I am sethlilly (https://keybase.io/sethlilly) on keybase.
  • I have a public key ASDDb9wbE9cAgJ2CNwjmgn5x2fVw4GM7dLMtij7YvqSTWwo

To claim this, I am signing this object:

@sethlilly
sethlilly / index.html
Last active April 26, 2022 20:37 — forked from BinaryMuse/index.html
Electron Fiddle with webview tag (https://electronjs.org/docs/api/webview-tag)
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Hello World!</title>
</head>
<body>
<webview src="https://electronjs.org/" style="width: 100vw; height: 100vh">
</body>
</html>
@sethlilly
sethlilly / cm.json
Last active February 26, 2019 21:56
CM JSON
[{
"id": "0ce61a54-e97f-4373-9e1a-27f807a771d8",
"display_name": "Maroon",
"type": "Mill",
"readings": [
{
"timestamp": "15:00",
"spindle_spin_rate_1": 290,
"spindle_spin_rate_2": 131,
"spindle_spin_rate_3": 5