Skip to content

Instantly share code, notes, and snippets.

View pxlpnk's full-sized avatar
💭
👋 hey

Andreas Tiefenthaler pxlpnk

💭
👋 hey
View GitHub Profile
@pxlpnk
pxlpnk / main.go
Created September 1, 2019 05:31
dynamic json in lists
package main
import (
"encoding/json"
"fmt"
"log"
)
const inputSound = `
{
FROM ubuntu:18.04
FROM ruby:2.6.3
# Install apt based dependencies required to run Rails as
# well as RubyGems. As the Ruby image itself is based on a
# Debian image, we use apt-get to install those.
RUN apt-get update && apt-get install -y \
build-essential
RUN curl -sL https://deb.nodesource.com/setup_10.x | bash -
@pxlpnk
pxlpnk / kubernetes.rego
Created January 10, 2020 10:48 — forked from garethr/kubernetes.rego
Collecting together Kubernetes rego examples, including porting the https://kubesec.io rules to rego
package kubernetes
name = input.metadata.name
kind = input.kind
is_service {
kind = "Service"
}
{ config, lib, pkgs, ... }:
{
programs.zsh = {
enable = true;
autocd = true;
enableAutosuggestions = true;
enableCompletion = true;
history.size = 50000;