I hereby claim:
- I am joshnabbott on github.
- I am joshnabbott (https://keybase.io/joshnabbott) on keybase.
- I have a public key ASBHcB-FC9da6wsTznXsKtIBhtXys68komkPOW1VlZwxKwo
To claim this, I am signing this object:
// Nested ternary | |
const sortConnectorsFunc = (a, b) => | |
// eslint-disable-next-line no-nested-ternary | |
a.connectorName < b.connectorName ? -1 : a.connectorName > b.connectorName ? 1 : 0; | |
// Vs if statement | |
const sortConnectorsFunc = (a, b) => { | |
if (a.connectorName < b.connectorName) return -1; | |
if (a.connectorName > b.connectorName) return 1; | |
return 0; |
I hereby claim:
To claim this, I am signing this object:
#!/usr/bin/ruby | |
# restart-unicorn: Graceful restart for Unicorn | |
# depends on Linux's proc(5) | |
# | |
# MIT License: Copyright(c)2011 MATSUYAMA Kengo | |
require 'scanf' | |
require 'timeout' | |
class ProcFS |
#this file must be included in per domain settings (/etc/nginx/sites.available) | |
# Dynamic handler for issuing or returning certs for SNI domains. | |
ssl_certificate_by_lua_block { | |
auto_ssl:ssl_certificate() | |
} | |
ssl_certificate /etc/ssl/resty-auto-ssl-fallback.crt; | |
ssl_certificate_key /etc/ssl/resty-auto-ssl-fallback.key; |
license: mit |
#!/usr/bin/env ruby | |
Array.class_eval { | |
def squarsh | |
return self if empty? | |
element = self.pop | |
if element.is_a?(Array) | |
self.squarsh + element.squarsh | |
else |
- Hook up links in bottom Navigation - JOSH | |
- Update Copyright year in footer | |
- Find out what goes into "Tracks" nav | |
- Add /tracks section | |
DONE - "Search" isn't working - Josh | |
NOT NEEDED ATM - Integrate newsletter signup with Mailchimp | |
Topics | |
- Hook up delivery method selection | |
links |
require "formula" | |
class Vim < Formula | |
homepage "http://www.vim.org/" | |
head "https://vim.googlecode.com/hg/" | |
# This package tracks debian-unstable: http://packages.debian.org/unstable/vim | |
url "http://ftp.debian.org/debian/pool/main/v/vim/vim_7.4.488.orig.tar.gz" | |
sha1 "6edad8cf9a08acb6a6e415b89bb13ccbd887d7c3" | |
# We only have special support for finding depends_on :python, but not yet for |
56k: "https://123.campfirenow.com/images/56k.gif" | |
bell: ":bell:" | |
bezos: ":laughing::thought_balloon:" | |
bueller: "anyone?" | |
clowntown: "https://123.campfirenow.com/images/clowntown.gif" | |
cottoneyejoe: ":notes::hear_no_evil::notes:" | |
crickets: "hears crickets chirping" | |
dadgummit: "dad gummit!! :fishing_pole_and_fish:" | |
dangerzone: "https://123.campfirenow.com/images/dangerzone.png" | |
danielsan: ":fireworks: :trophy: :fireworks:" |
require 'formula' | |
class Vim < Formula | |
homepage 'http://www.vim.org/' | |
# Get stable versions from hg repo instead of downloading an increasing | |
# number of separate patches. | |
url 'https://vim.googlecode.com/hg/', :tag => 'v7-3-692' | |
version '7.3.692' | |
head 'https://vim.googlecode.com/hg/' |