Skip to content

Instantly share code, notes, and snippets.

david vnl dvdvnl

Block or report user

Report or block dvdvnl

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View Dockerfile
FROM nodered/node-red-docker:v10
# Copy configuration
COPY ./settings.js /data/settings.js
COPY ./public.pem /data/public.pem
# Install additional packages
WORKDIR /usr/src/node-red
RUN npm install passport passport-jwt
dvdvnl /
Last active Sep 16, 2019
Send a Pushbullet note whenever a login happens. (Gist for
accessToken="<Pushbullet Access Token>"
recipient="<Recipient e-mail>"
title="Login - $HOSTNAME"
body="The user '$USER' just logged in to '$HOSTNAME'."
curl -X POST \
--header "Access-Token: $accessToken" \
View cups.dockerfile
FROM debian:stable
RUN apt-get update && apt-get upgrade -y && \
apt-get install -y sudo whois usbutils
# Install & configure CUPS
RUN apt-get install -y cups hplip hp-ppd hpijs-ppds
COPY ./cupsd.conf /etc/cups/cupsd.conf
# Add CUPS user
dvdvnl / chrome-17.0.963.46.css
Last active Jun 21, 2019
Border bug reproduction code for Chrome 17.0.963.46 (legacy gist for
View chrome-17.0.963.46.css
.buggy-chrome .messedUpElement{
border-bottom-left-radius: 0 !important;
border-bottom-right-radius: 0 !important;
View .bash_prompt
# @gf3’s Sexy Bash Prompt, inspired by “Extravagant Zsh Prompt”
# Shamelessly copied from
if [[ $COLORTERM = gnome-* && $TERM = xterm ]] && infocmp gnome-256color >/dev/null 2>&1; then
export TERM=gnome-256color
elif infocmp xterm-256color >/dev/null 2>&1; then
export TERM=xterm-256color
View haproxy.cfg
tune.ssl.default-dh-param 2048
maxconn 100
mode http
timeout connect 4s
timeout http-request 1s

Angular Pipes

  • Object Filter - objectfilter.pipe.ts
  • Object Sum - objectsum.pipe.ts
  • Money Formatter - money.pipe.ts
You can’t perform that action at this time.