This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
- name: ssh-copy-id | |
hosts: <host_group> | |
become: true | |
tasks: | |
- name: Set authorized key taken from file | |
authorized_key: | |
user: ubuntu | |
state: present | |
key: "{{ lookup('file', '/Users/<user>/.ssh/id_rsa.pub') }}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- name: "wait for service responding a 200: OK" | |
uri: | |
url: "http://127.0.0.1:8888/" | |
status_code: 200 | |
register: result | |
until: result.status == 200 | |
retries: 60 | |
delay: 5 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Section "InputClass" | |
Identifier "Trackpoint Wheel Emulation" | |
MatchProduct "TPPS/2 IBM TrackPoint|DualPoint Stick|Synaptics Inc. Composite TouchPad / TrackPoint|ThinkPad USB Keyboard with TrackPoint|USB Trackpoint pointing device" | |
MatchDevicePath "/dev/input/event*" | |
Option "EmulateWheel" "true" | |
Option "EmulateWheelButton" "2" | |
Option "Emulate3Buttons" "false" | |
Option "XAxisMapping" "6 7" | |
Option "YAxisMapping" "4 5" | |
EndSection |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Filename: /etc/zsh/zshrc | |
# Purpose: config file for zsh (z shell) | |
# Authors: grml-team (grml.org), (c) Michael Prokop <mika@grml.org> | |
# Bug-Reports: see http://grml.org/bugs/ | |
# License: This file is licensed under the GPL v2. | |
################################################################################ | |
# This file is sourced only for interactive shells. It | |
# should contain commands to set up aliases, functions, | |
# options, key bindings, etc. | |
# |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
URxvt.scrollBar: false | |
URxvt.imLocale: en_US.UTF-8 | |
URxvt.foreground: white | |
URxvt.saveLines: 1200 | |
URxvt.background: black | |
URxvt.transparent: true | |
URxvt.shading: 15 | |
#URxvt.font: xft:DejaVu sans Mono:pixelsize=12:antialias=true:hinting=true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import play.api.mvc.QueryStringBindable | |
import play.api.mvc.{Action, Controller} | |
/** | |
* Created by flo on 6/19/2016. | |
*/ | |
object Binders { | |
implicit def queryMapBinder(implicit stringBinder: QueryStringBindable[String]) = new QueryStringBindable[Map[String, String]] { | |
override def bind(key: String, params: Map[String, Seq[String]]): Option[Either[String, Map[String, String]]] = { |