Skip to content

Instantly share code, notes, and snippets.

View Bunk's full-sized avatar
💭
OOO

JD Courtoy Bunk

💭
OOO
View GitHub Profile
@Bunk
Bunk / invision-theme.puml
Last active January 13, 2021 20:17
InVision - PlantUML
!$THEME = "invision"
!if %not(%variable_exists("$BGCOLOR"))
!$BGCOLOR = "transparent"
!endif
skinparam backgroundColor $BGCOLOR
!$WHITE = "#FFFFFF"
!$WHITE_DARK = "#DDDDDD"
@Bunk
Bunk / .zshrc
Created April 27, 2020 14:14
Better Zshell w/ Antibody
DEFAULT_USER="bunk"
# Auto-use NVM on directory change
NVM_AUTO_USE=true
# Insert your static environment variables here
export AWS_REGION=
export AWS_ACCESS_KEY_ID=
export AWS_SECRET_ACCESS_KEY=
@Bunk
Bunk / Dockerfile-deps.dockerfile
Last active September 4, 2019 14:06
Docker build pipeline
# The dependencies image has all build-dependencies needed for
# building the image embedded in it. The reason this is a separate
# image is so that it can be built, cached, and re-used across
# both the developer and production image builds.
FROM node:10.16.3-alpine
WORKDIR /var/app
# NOTE: There's no reason to later remove these since the production
# image will start from a different base image without them installed.
RUN apk --update add --no-cache make g++ git
@Bunk
Bunk / Dockerfile
Created December 30, 2017 19:51
Testcafe w/ SauceLabs in Alpine Docker container
FROM node:alpine
WORKDIR /app
RUN npm init --y && \
npm install testcafe testcafe-browser-provider-saucelabs
COPY tests/ tests/
COPY entrypoint.sh /usr/local/bin/entrypoint
ENTRYPOINT [ "entrypoint" ]
@Bunk
Bunk / uploadLocalFile.js
Created November 21, 2017 21:45
Nightwatch — Upload local files to remote selenium grid
const path = require('path')
const util = require('util')
const events = require('events')
const archiver = require('archiver')
const handleResult = cb => result => {
if (result.status !== 0) throw new Error(result.value.message)
cb(result.value)
}
Set-ExplorerOptions -showHiddenFilesFoldersDrives -showProtectedOSFiles -showFileExtensions
cinst fiddler4
cinst atom
cinst git
cinst github-hub
cinst github
cinst git-credential-manager-for-windows
cinst poshgit
cinst dotpeek

Keybase proof

I hereby claim:

  • I am Bunk on github.
  • I am bunk (https://keybase.io/bunk) on keybase.
  • I have a public key whose fingerprint is E735 E572 E012 5453 1056 1FB2 19D4 F394 6C2E 1F51

To claim this, I am signing this object: