- Object Filter - objectfilter.pipe.ts
- Object Sum - objectsum.pipe.ts
- Money Formatter - money.pipe.ts
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
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 |
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 | |
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" \ |
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
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 |
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
.buggy-chrome .messedUpElement{ | |
border-bottom-left-radius: 0 !important; | |
border-bottom-right-radius: 0 !important; | |
} |
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
# @gf3’s Sexy Bash Prompt, inspired by “Extravagant Zsh Prompt” | |
# Shamelessly copied from https://github.com/gf3/dotfiles | |
default_username='unknown' | |
PROMPTCHAR="\$" | |
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 |
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
global | |
tune.ssl.default-dh-param 2048 | |
maxconn 100 | |
daemon | |
defaults | |
mode http | |
timeout connect 4s | |
timeout http-request 1s |