Skip to content

Instantly share code, notes, and snippets.

@tknerr
tknerr / README.md
Last active January 23, 2024 16:42
Vagrant with Ansible Provisioner on Windows

Vagrant with Ansible Provisioner on Windows

Long story short, ansible does not work on a Windows control machine, so you basically have to:

  • either run ansible --connection=local ... in the target vm
  • set up a separate control vm where ansible is installed via shell provisioner

Below are Vagrantfile examples for both approaches

Within the Target VM

@lvidarte
lvidarte / terminator.txt
Created September 24, 2014 19:52
terminator cheatsheet
1. Basic
C-S-e # split terminals vertically
C-S-o # split terminals horizontally
C-S-x # toogle zoom terminal
C-Tab # switch to next terminal
C-S-t # open new tab
3. Config ~/.config/terminator/config
[keybindings]
go_left = <Ctrl><Shift>h
@mscharhag
mscharhag / Java8DateTimeExamples.java
Created February 24, 2014 19:53
Examples for using the Java 8 Date and Time API (JSR 310)
import java.time.*;
import java.time.format.DateTimeFormatter;
import java.time.format.FormatStyle;
import java.time.temporal.ChronoUnit;
import java.time.temporal.TemporalAdjusters;
import java.util.*;
import static java.time.temporal.TemporalAdjusters.*;
public class Java8DateTimeExamples {