Skip to content

Instantly share code, notes, and snippets.

💭
destroy all computers

Tyler Langlois tylerjl

💭
destroy all computers
Block or report user

Report or block tylerjl

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
@tylerjl
tylerjl / Dockerfile
Created Feb 24, 2019
ARM-compatible Kibana Dockerfile for use in https://github.com/elastic/kibana-docker
View Dockerfile
# This Dockerfile was generated from the template at templates/Dockerfile.j2
FROM node:8.11.4
EXPOSE 5601
# Add Reporting dependencies.
RUN apt update && apt install -y fontconfig && rm -rf /var/lib/apt/lists/*
WORKDIR /usr/share/kibana
# Set gid to 0 for kibana and make group permission similar to that of user
@tylerjl
tylerjl / .gitignore
Last active Jun 22, 2018
puppet-elasticsearch Vagrantfile
@tylerjl
tylerjl / example-app.yaml
Created Aug 14, 2017
Example kubernetes-vault with vaultenv config
View example-app.yaml
apiVersion: v1
kind: ConfigMap
metadata:
name: logstash-secrets
data:
logstash.secrets: |
ELASTICSEARCH_USERNAME=elasticsearch/production#username
ELASTICSEARCH_PASSWORD=elasticsearch/production#password
---
apiVersion: v1
@tylerjl
tylerjl / .config
Created Jul 21, 2017
Mavell 4.4.52 tree config
View .config
#
# Automatically generated file; DO NOT EDIT.
# Linux/arm64 4.4.52 Kernel Configuration
#
CONFIG_ARM64=y
CONFIG_64BIT=y
CONFIG_ARCH_PHYS_ADDR_T_64BIT=y
CONFIG_MMU=y
CONFIG_STACKTRACE_SUPPORT=y
CONFIG_ILLEGAL_POINTER_VALUE=0xdead000000000000
@tylerjl
tylerjl / .config
Created Jul 21, 2017
Arch Linux ARM 4.12.0 kernel .config
View .config
#
# Automatically generated file; DO NOT EDIT.
# Linux/arm64 4.12.0-1 Kernel Configuration
#
CONFIG_ARM64=y
CONFIG_64BIT=y
CONFIG_ARCH_PHYS_ADDR_T_64BIT=y
CONFIG_MMU=y
CONFIG_ARM64_PAGE_SHIFT=12
CONFIG_ARM64_CONT_SHIFT=4
@tylerjl
tylerjl / Vagrantfile
Created Apr 3, 2017
CentOS 7 puppet-elasticsearch test env
View Vagrantfile
# -*- mode: ruby -*-
# vi: set ft=ruby :
# Required:
# vagrant: 1.9.3
# vagrant plugin install vagrant-hosts
# vagrant plugin install vagrant-auto_network
require 'tempfile'
View stdout
error: The option `systemd.services.docker.restartIfChanged' has conflicting definitions, in `/etc/nixos/configuration.nix' and `/nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs/nixos/modules/virtualisation/docker.nix'.
(use ‘--show-trace’ to show detailed location information)
@tylerjl
tylerjl / configuration.nix
Last active Jun 19, 2016
Attempting to add a python package dependency via derivation override.
View configuration.nix
...
nixpkgs.config = {
packageOverrides = pkgs: rec {
matrix-synapse = pkgs.stdenv.lib.overrideDerivation pkgs.matrix-synapse (oldAttrs : {
propagatedBuildInputs = oldAttrs.propagatedBuildInputs ++ pkgs.pythonPackages.psycopg2;
});
};
};
View keybase.md

Keybase proof

I hereby claim:

  • I am tylerjl on github.
  • I am tjl (https://keybase.io/tjl) on keybase.
  • I have a public key ASAFEC_04UXmY2kjjBteyFEVnXihfd7k5ucslhBdzvem8Qo

To claim this, I am signing this object:

View rip-dvd.sh
#!/usr/bin/env zsh
# Script to rip DVDs with as much automatic detection as possible.
# It's a personal script
PATH=${PATH}:${HOME}/.bin
# Define filename
TITLE=${TITLE:=${(C)${$(\
HandBrakeCLI --scan --input /dev/cdrom --previews 2:0 2>&1 \
You can’t perform that action at this time.