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
View safari.css
body { margin: 0; color: #fff; background: #000; overflow: hidden; }
audio { visibility: hidden; }
#header h1, #apple div.icon { color: transparent; }
#apple, #header, #safari { position: absolute; top: 40%; left: 50%; }
#apple { width: 600px; height: 538px; margin: -290px 0 0 -290px; overflow: hidden; }
#apple div { position: absolute; width: 600px; height: 538px; opacity: 0; }
#apple div.icon { z-index: 3; background: url(http://images.apple.com/safari/welcome/images/apple_icon.png) no-repeat 233px 184px; }
@tvon
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 = "https://www.hotbot.com"
// }
View configuration.nix
# Edit this configuration file to define what should be installed on
# your system. Help is available in the configuration.nix(5) man page
# and in the NixOS manual (accessible by running ‘nixos-help’).
{ config, pkgs, ... }:
{
imports =
[ # Include the results of the hardware scan.
./hardware-configuration.nix
@tvon
tvon / build.gradle
Created Sep 13, 2017
Debugging gradle.build / 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"
lineinfile:
dest: "/usr/lib/unifi/data/system.properties"
regexp: '^db\.mongo\.local='
line: "db.mongo.local={{ unifi_db_mongo_local }}"
insertbefore: BOF
@tvon
tvon / Dockerfile
Last active Feb 9, 2017
minikube-iso-builder
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 \
@tvon
tvon / kristol-memo.markdown
Created Mar 3, 2009
"Bill Kristol’s 1993 Memo Calling For GOP To Block Health Care Reform" converted to Markdown format from sources here: http://is.gd/lAKi
View kristol-memo.markdown

Defeating President Clinton's Health Care Plan

What follows is the first in what will be a series of political strategy memos prepared by The Project for the Republican Future. The topic of this memo is President Clinton's health care reform proposal, the single most ambitious item on the Administration's domestic policy agenda.

These four pages are an attempt to describe a common political strategy for Republicans in response to the Clinton health care plan. By examining the president's own strategy and tactics, this memo suggests how Republicans might reframe the current health care debate, offer a serious alternative, and, in the process, defeat the president's plan outright.

Nothing in these pages is intended to supplant the many thoughtful analysis of the Clinton health care plan already produced by republican and others, analyses which have done much to expose both its glaring weaknesses and immediate dangers. In fact, this memo borrows heavily from articles and papers prepared by conserva

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"> -->
View terraform.tf
provider "docker" {
host = "tcp://192.168.99.100:2376/"
}
## 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 https://github.com/neovim/neovim.git
Updating /Library/Caches/Homebrew/neovim--git
git config remote.origin.url https://github.com/neovim/neovim.git
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
You can’t perform that action at this time.