Skip to content

Instantly share code, notes, and snippets.

View 0x17de's full-sized avatar
🔒
Verified by: Let's Encrypt

Manuel Herrmann 0x17de

🔒
Verified by: Let's Encrypt
View GitHub Profile
@0x17de
0x17de / ssh_chroot.py
Last active March 15, 2024 23:13
Ansible connection plugin for chroot after ssh - no suppory for sudo included
import ansible.plugins.connection.ssh as ssh
import yaml
data = yaml.safe_load(ssh.DOCUMENTATION)
data['name'] = 'ssh_chroot'
data['options']['chroot_path'] = {
'description': ['This is a custom option to specify the chroot path.'],
'ini': [{
'section': 'ssh_chroot',
'key': 'chroot_path',
Xft.antialias: true
Xft.hinting: true
Xft.rgba: rgb
Xft.hintstyle: hintfull
Xft.dpi: 100
! Fonts
URxvt.font: xft:Inconsolata:size=12,xft:Noto Color Emoji:size=12
! URxvt.letterSpace: -1
URxvt.iso14755: false
@0x17de
0x17de / dunstrc
Last active March 31, 2019 22:59
[global]
padding=5
horizontal_padding=5
frame_width=2
font=Monospace 12
icon_position=left
max_icon_size=64
geometry=500x20-30-50
format="<b>%s (%a)</b>\n%b"
#!/bin/bash
# IMPORTANT: Rather put this script as ~/.startup.sh
# and call this script from your ~/.xsessionrc
# The .xsessionrc may look like this:
#
# ./.startup.sh
#
function init() {
bindkey "5C" forward-word
bindkey "5D" backward-word
#fpath=(~/.zsh/completion $fpath)
#ssh $1 'mkdir -p ~/.terminfo/r/'
#scp /usr/share/terminfo/r/rxvt-unicode-256color $host:~/.terminfo/r/
#trap "realignTerm" SIGWINCH
function realignTerm()
@0x17de
0x17de / make.conf
Created January 19, 2017 07:18
/etc/portage/make.conf for my gentoo machine
# These settings were set by the catalyst build script that automatically
# built this stage.
# Please consult /usr/share/portage/config/make.conf.example for a more
# detailed example.
CFLAGS="-O2 -pipe -march=haswell -mabm"
CXXFLAGS="${CFLAGS}"
# WARNING: Changing your CHOST is not something that should be done lightly.
# Please consult http://www.gentoo.org/doc/en/change-chost.xml before changing.
CHOST="x86_64-pc-linux-gnu"
# These are the USE flags that were used in addition to what is provided by the
URxvt.geometry: 100x30
!aurxvt*termName: rxvt-256color
urxvt*loginShell: true
urxvt*scrollBar: false
urxvt*secondaryScroll: true
urxvt*saveLines: 65535
urxvt*cursorBlink: false
urxvt*urgentOnBell: true
!aurxvt*override-redirect:false
!aurxvt*borderLess: false
# This file has been auto-generated by i3-config-wizard(1).
# It will not be overwritten, so edit it as you like.
#
# Should you change your keyboard layout somewhen, delete
# this file and re-run i3-config-wizard(1).
#
# i3 config file (v4)
#
# Please see http://i3wm.org/docs/userguide.html for a complete reference!
@0x17de
0x17de / .emacs
Last active January 16, 2017 02:50
;;http://ergoemacs.org/emacs/emacs_package_system.html
(when (>= emacs-major-version 24)
(require 'package)
(add-to-list
'package-archives
'("melpa" . "http://melpa.org/packages/")
t)
(package-initialize))
;;initial setup of recommended packages i use
@0x17de
0x17de / keybase.md
Last active September 18, 2018 17:24

Keybase proof

I hereby claim:

  • I am 0x17de on github.
  • I am 0x17 (https://keybase.io/0x17) on keybase.
  • I have a public key whose fingerprint is 676F 995A 7253 453A F51B 7053 9C74 5C24 E53C 2F83

To claim this, I am signing this object: