- Bytes and Blobs by David Flanagan
- Conference Wifi Redux by Malte Ubi
- Sashimi - https://github.com/cramforce/Sashimi
- Run Your JS everywhere with Jellyfish by Adam Christian - http://jelly.io Project
- Fighting Crime and Kicking Apps with Batman.js by Nick Small
- Hello Jo by Dave Balmer - Project - http://joapp.com
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash -ex | |
# Tries to download latest cached node_modules based on package-lock.json | |
# If it can't, then `npm ci` and push up node_modules to cache | |
# Assumes S3_BUCKET env var has been set, and that `aws` credentials | |
# are configured (either in env, or ~/.aws/credentials) | |
CHECKSUM=$(sha256sum package-lock.json | awk '{print $1}') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: [push] | |
jobs: | |
tslint: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
job: [0, 1, 2, 3, 4] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# See also: | |
# - https://github.com/actions/runner/issues/774 | |
# - https://help.github.com/en/actions/reference/events-that-trigger-workflows#push-event-push | |
# - https://help.github.com/en/actions/reference/events-that-trigger-workflows#pull-request-event-pull_request | |
# - https://help.github.com/en/actions/reference/context-and-expression-syntax-for-github-actions | |
name: "[skip ci]" on Actions | |
on: [push, pull_request] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(defn get-clipboard [] | |
(.getSystemClipboard (java.awt.Toolkit/getDefaultToolkit))) | |
(defn slurp-clipboard [] | |
(try | |
(.getTransferData (.getContents (get-clipboard) nil) (java.awt.datatransfer.DataFlavor/stringFlavor)) | |
(catch java.lang.NullPointerException e nil))) | |
(defn spit-clipboard [text] | |
(.setContents (get-clipboard) (java.awt.datatransfer.StringSelection. text) nil)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;; Run me with: | |
;; clojure -Sdeps '{:deps {org.jsoup/jsoup {:mvn/version "1.12.1"}}}' gen.clj | |
(require '[clojure.string :as str]) | |
(import (java.time.format DateTimeFormatter) | |
(java.time LocalDate LocalTime ZoneId ZonedDateTime) | |
(java.util UUID) | |
(org.jsoup Jsoup) | |
(org.jsoup.nodes Document)) |
Moved to https://github.com/18F/ghadmin.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(defmacro with-system-out-str | |
[& body] | |
`(let [out# System/out | |
buf# (java.io.ByteArrayOutputStream.) | |
prs# (java.io.PrintStream. buf#) | |
wtr# (java.io.OutputStreamWriter. prs#)] | |
(try | |
(System/setOut prs#) | |
(binding [*out* wtr#] | |
(do ~@body)) |