Skip to content

Instantly share code, notes, and snippets.

:octocat:
Writing YAML + HCL and googling errors

Julien Bisconti veggiemonk

:octocat:
Writing YAML + HCL and googling errors
Block or report user

Report or block veggiemonk

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
@veggiemonk
veggiemonk / CKAD.md
Last active Aug 12, 2019
CKAD exam preparation
View CKAD.md
@veggiemonk
veggiemonk / 50-marblemouse.conf
Last active Aug 2, 2019
Ubuntu X11 xorg config for marble mouse logitech
View 50-marblemouse.conf
## SOURCE: https://help.ubuntu.com/community/Logitech_Marblemouse_USB#Example_Configuration_.231:_add_wheel_emulation_feature
## SOURCE: https://wiki.archlinux.org/index.php/Logitech_Marble_Mouse#Sample_configuration
Section "InputClass"
Identifier "Marble Mouse"
MatchProduct "Logitech USB Trackball"
MatchIsPointer "on"
MatchDevicePath "/dev/input/event*"
Driver "evdev"
# Physical button #s: A b D - - - - B C
@veggiemonk
veggiemonk / altantis.Dockerfile
Created Jul 19, 2019
Atlantis terragrunt terraform and gcloud container
View altantis.Dockerfile
FROM golang:alpine AS builder
ENV TERRAGRUNT_VERSION=0.19.9 \
TERRAGRUNT_VERSION_SHA256SUM=9226cffc6b67b48c78e659b8ed1228e41b01c6fa4bd55e26e3b56c4d488db7ea \
TERRAFORM_VERSION=0.12.5 \
TERRAFORM_VERSION_SHA256SUM=babb4a30b399fb6fc87a6aa7435371721310c2e2102a95a763ef2c979ab06ce2
WORKDIR /go/src/github.com/runatlantis/atlantis/
RUN apk --no-cache add \
View PodDisruptionBudget.yaml
kind: PodDisruptionBudget
metadata:
name: my-app
spec:
maxUnavailable: 1
selector:
matchLabels:
app: my-app
@veggiemonk
veggiemonk / Dockerfile
Last active Jul 11, 2019
Build GO app in multi-stage container
View Dockerfile
FROM golang:alpine AS builder
ARG GITHUB_USER
ARG REPO_NAME
WORKDIR /go/src/github.com/$GITHUB_USER/$REPO_NAME/
COPY . .
RUN apk add --no-cache \
@veggiemonk
veggiemonk / .zshrc
Last active Jul 11, 2019
zsh config 2018
View .zshrc
#zmodload zsh/zprof
export PATH=$HOME/bin:$PATH
export PATH=$HOME/.local/bin:$PATH
export PATH=$HOME/.cargo/bin:$PATH
export ZSH=/Users/julien/.oh-my-zsh
#ZSH_THEME="robbyrussell"
ZSH_THEME=""
HIST_STAMPS="yyyy-mm-dd"
@veggiemonk
veggiemonk / git_update_subfolder.sh
Last active Jul 9, 2019
organize your git repo like go
View git_update_subfolder.sh
#!/bin/bash
for r in *;
do {
echo ">>> $r" && \
cd $r && \
(git pull || echo 0) && \
cd ..
};
done;
@veggiemonk
veggiemonk / container-common-fluff.go
Last active Jul 9, 2019
FLUFF - connecting pipes
View container-common-fluff.go
package main
import (
"context"
"fmt"
"net"
"net/http"
"os"
"os/signal"
"runtime"
@veggiemonk
veggiemonk / .gitconfig
Last active Jul 1, 2019
simple zshrc config file with Oh-My-ZSH
View .gitconfig
[user]
name = Julien Bisconti
email = ******
[core]
excludesfile = ~/.gitignore
pager = diff-so-fancy | less --tabs=1,5 -R
editor = /usr/bin/vim
[alias]
wow = log --all --graph --decorate --oneline --simplify-by-decoration
You can’t perform that action at this time.