- maim
- xclip
Set this on your i3 config file ~/.i3/config
# Screenshots
-- SOURCE: https://github.com/wez/wezterm/issues/1751#issuecomment-2014752114 | |
-- brew install --cask hammerspoon | |
-- ~/.hammerspoon/init.lua | |
-- Import necessary Hammerspoon modules | |
local hotkey = require "hs.hotkey" | |
local application = require "hs.application" | |
local mouse = require "hs.mouse" | |
local screen = require "hs.screen" | |
local geometry = require "hs.geometry" | |
local spaces = require "hs.spaces" |
#!/bin/sh | |
# path: /home/klassiker/.local/share/repos/dmenu/scripts/dmenu_iwd.sh | |
# author: klassiker [mrdotx] | |
# github: https://github.com/mrdotx/dmenu | |
# date: 2020-06-08T09:11:53+0200 | |
script=$(basename "$0") | |
help="$script [-h/--help] -- script to connect to wlan with iwd | |
Usage: |
#!/bin/bash | |
# | |
# Copyright 2017-2021 Martin Goellnitz | |
# | |
# This program 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. | |
# | |
# This program is distributed in the hope that it will be useful, |
Jon Warbrick, July 2014, V3.2 (for Ansible 1.7)
First one found from of
If anyone is interested in setting up their system to automatically (or manually) sign their git commits with their GPG key, here are the steps:
$ git config --global commit.gpgsign true
([OPTIONAL] every commit will now be signed)$ git config --global user.signingkey ABCDEF01
(where ABCDEF01
is the fingerprint of the key to use)$ git config --global alias.logs "log --show-signature"
(now available as $ git logs
)$ git config --global alias.cis "commit -S"
(optional if global signing is false)$ echo "Some content" >> example.txt
$ git add example.txt
$ git cis -m "This commit is signed by a GPG key."
(regular commit
will work if global signing is enabled)# sync everything excluding things in .gitignore | |
# delete anything on target not in source | |
# include dotfiles and symlinks, also use compression | |
rsync -azP --delete --filter=":- .gitignore" . my-target-host:/my/target/directory |
############################################################################### | |
# LDAP AUTHENTICATION SETTINGS | |
############################################################################### | |
# Ansible Tower can be configured to centrally use LDAP as a source for | |
# authentication information. When so configured, a user who logs in with | |
# a LDAP username and password will automatically get an account created for | |
# them, and they can be automatically placed into multiple organizations as | |
# either regular users or organization administrators. If users are created | |
# via an LDAP login, by default they cannot change their username, firstname, |
Getting Started With the Docker RBD Volume Plugin rbd-docker-plugin
docker run -it --rm \
--privileged \
--name rbd-docker-plugin \
--net host \
--volume /dev:/dev \
--volume /sys:/sys \
--volume /etc/ceph:/etc/ceph \
#!/usr/bin/python | |
import requests | |
sources = [ | |
'http://pgl.yoyo.org/adservers/serverlist.php?hostformat=hosts&showintro=0&mimetype=plaintext', | |
'http://hosts-file.net/.%5Cad_servers.txt', | |
'https://adaway.org/hosts.txt', | |
'http://winhelp2002.mvps.org/hosts.txt', | |
'http://sysctl.org/cameleon/hosts', |