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
// Location: /etc/logid.cfg | |
devices: ({ | |
name: "MX Master 3"; | |
smartshift: { on: true; threshold: 6; }; | |
hiresscroll: { hires: false; invert: false; target: false; }; | |
dpi: 1500; // max=4000 | |
buttons: ( | |
// Forward button | |
{ cid: 0x56; action = { type: "Gestures"; gestures: ( | |
{ direction: "None"; mode: "OnRelease"; action = { type: "Keypress"; keys: [ "KEY_LEFTMETA" ];}}, |
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
#!/bin/bash | |
# Install docker | |
apt-get update | |
apt-get install -y apt-transport-https ca-certificates curl software-properties-common | |
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add - | |
add-apt-repository \ | |
"deb [arch=amd64] https://download.docker.com/linux/ubuntu \ | |
$(lsb_release -cs) \ | |
stable" | |
apt-get update |
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
#svn2git migration with non standard layout. i.e repository/folder > folder will be root of git repo | |
# $2 name of group in gitlab | |
#!/bin/bash | |
mkdir $1 && cd $1 | |
git svn clone https://example.com:8443/svn/$1/$2 --no-metadata -A ~/authors.txt --username=user_with_access | |
cd $2/ | |
git remote add origin git@git.example.com:$1/$2.git | |
git push -u origin master |
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
#!/usr/bin/env python | |
# (c) 2013, Greg Buehler | |
# | |
# This file is part of Ansible, | |
# | |
# Ansible is free software: you can redistribute it and/or modify | |
# it under the terms of the GNU General Public License as published by | |
# the Free Software Foundation, either version 3 of the License, or | |
# (at your option) any later version. |