Skip to content

Instantly share code, notes, and snippets.

Tom von Schwerdtner tvon

Block or report user

Report or block tvon

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
tvon / config.yaml
Created Nov 3, 2019
terminus config
View config.yaml
profile: {}
shell: {}
- - Ctrl-`
ssh: {}
bell: visual
name: Tomorrow Night
tvon / doSomething.groovy
Created Oct 29, 2018
Jenkins pipeline vars/doSomething.groovy
View doSomething.groovy
#!/usr/bin/env groovy
// Specify default values but allow overriding.
// dosomething {
// arg1 = true
// arg2 = false
// arg3 = ""
// }
tvon / build.gradle
Created Sep 13, 2017
Debugging / jenkins issue
View build.gradle
plugins {
id 'org.jenkins-ci.jpi' version '0.22.0'
id 'groovy'
id 'java'
id 'idea'
build.dependsOn jpi
View main.yaml
- name: "unifi | configure service db.mongo.local"
dest: "/usr/lib/unifi/data/"
regexp: '^db\.mongo\.local='
line: "db.mongo.local={{ unifi_db_mongo_local }}"
insertbefore: BOF
tvon / Dockerfile
Last active Feb 9, 2017
View Dockerfile
FROM golang:1.6
RUN dpkg --add-architecture i386 \
&& apt-get -q update \
&& apt-get -q -y upgrade \
&& apt-get -y install \
automake \
bc \
build-essential \
bzr \
View joystick.Microsoft.Xbox.One.Controller.xml
<?xml version="1.0" encoding="UTF-8"?>
<!-- This file contains the mappings for a Microsoft Xbox One Controller to actions within XBMC -->
<!-- The drivers for Linux and Windows do not always match. Mappings for Win32 will be presented -->
<!-- first, with Linux alts second. -->
<!-- The <global> section is a fall through - they will only be used if the button is not -->
<!-- used in the current window's section. Note that there is only handling -->
<!-- for a single action per button at this stage. -->
<!-- The format of a mapping is: -->
<!-- <device name="name"> -->
provider "docker" {
host = "tcp://"
## Containers
resource "docker_container" "flexo-gogs" {
image = "${docker_image.gogs.latest}"
name = "flexo-gogs"
View brew-install-head-neovim.log
==> Reinstalling neovim/neovim/neovim
==> Cloning
Updating /Library/Caches/Homebrew/neovim--git
git config remote.origin.url
git config remote.origin.fetch +refs/heads/master:refs/remotes/origin/master
git fetch origin
==> Checking out branch master
git checkout -f master --
Your branch is up-to-date with 'origin/master'.
git reset --hard origin/master
View log.log
-- Build files have been written to: /tmp/nix-build-xen-4.5.2.drv-0/xen-4.5.2/stubdom/tpm_emulator-x86_64/build
touch tpm_emulator-x86_64
/tmp/nix-build-xen-4.5.2.drv-0/xen-4.5.2/wget/wget -c -O gmp-4.3.2.tar.bz2 \/tmp/nix-build-xen-4.5.2.drv-0/xen-4.5.2/stubdom/../xen_ext_files/gmp-4.3.2.tar.bz2
===== Not fetching -c -O gmp-4.3.2.tar.bz2 /tmp/nix-build-xen-4.5.2.drv-0/xen-4.5.2/stubdom/../xen_ext_files/gmp-4.3.2.tar.bz2, copy pre-fetched file instead [6693/72580]
tar xjf gmp-4.3.2.tar.bz2
rm gmp-x86_64 -rf || :
mv gmp-4.3.2 gmp-x86_64
#patch -d gmp-x86_64 -p0 < gmp.patch
cd gmp-x86_64; CPPFLAGS="-isystem /tmp/nix-build-xen-4.5.2.drv-0/xen-4.5.2/stubdom/cross-root-x86_64/x86_64-xen-elf/include -isystem /tmp/nix-build-xen-4.5.2.drv-0/xen-4.5.2/stubdom/../extras/mini-os/include -D__MINIOS__ -DHAVE_LIBC -isystem /tmp/nix-
activate() {
if [ $# -eq 0 ];
if [ -f .nix ];
nix-shell .nix -A localEnv
echo '.nix file not found' 1>&2
You can’t perform that action at this time.