I hereby claim:
- I am drrzmr on github.
- I am drrzmr (https://keybase.io/drrzmr) on keybase.
- I have a public key ASDSaFEbMaNPkOYtHAMDyfJvd_MNnMqIDvP3pzaHMxr7Igo
To claim this, I am signing this object:
| cat << EOF | sudo tee /etc/udev/rules.d/99-lemokey-l3.rules | |
| # Lemokey L3 | |
| KERNEL=="hidraw*", SUBSYSTEM=="hidraw", ATTRS{idVendor}=="362d", ATTRS{idProduct}=="0130", MODE="0660", GROUP="wheel", TAG+="uaccess", TAG+="udev-acl" | |
| EOF | |
| sudo udevadm control --reload-rules && sudo udevadm trigger |
| #!/bin/bash | |
| set -euo pipefail | |
| confluent_platform_version=${CONFLUENT_PLATFORM_VERSION:-"5.5"} | |
| bash_major_version=${BASH_VERSINFO[0]} | |
| debug=${DEBUG:-false} | |
| function die { | |
| >&2 echo "[die] ${@}" |
| def merge(left, right): | |
| r = [] | |
| while any(left) and any(right): | |
| if left[0] < right[0]: | |
| r.append(left.pop(0)) | |
| else: | |
| r.append(right.pop(0)) | |
| if not left and any(right): |
| def merge(arr, r, ini, end): | |
| mid = (ini+end) // 2 | |
| left = ini | |
| right = mid+1 | |
| i = ini | |
| while left <= mid and right <= end: | |
| if arr[left] <= arr[right]: | |
| r[i] = arr[left] | |
| left += 1 |
| #!/usr/bin/env python3 | |
| DEBUG = False | |
| def debug(*args, **keywords): | |
| if DEBUG is False: | |
| return | |
| print(*args, **keywords) |
| -----BEGIN PGP PUBLIC KEY BLOCK----- | |
| mQINBFqDJWABEAC6+iChN0XSyER0f2z1N+1hw1KqDkoXIq2MLpBjYbrgqyQlnTP4 | |
| SCElR94eLe5fr0JrS3aillih7yph7EfXL+MinGfuTNaIJQHL15gKeJNaBY3YSvPd | |
| 50dDVuccQVRo3dl1FRHU9IqahEPiWV63d2k0n1ex8JjhDwTEkK4pjUc8pdmKO6ec | |
| YAH6VuEyKFm3bDj4H1m6J/iePNWy5cpmdl3jyTFhsanYyqPN0CH1LBKYZsqn7KWa | |
| mZ2G2y3Vv8FYggKx5irYA4OVG8wgc1D/FeL6Abz1NQcuWes1dMSmaONcvgBXz1iX | |
| 74+T58SUAA5DG3sxq5zbkVqwchUhzWsWeHKl4h66n956L/7Ize1T75MW6RAWnlbB | |
| /oKZU8mkGJT9hTv30/GaSXSEngcNc2BOr6sZyFphmG7i0Ei8bCKHArdwTEuphwSp | |
| 5C6da+wqXjP1oXbLhI6e/8Gk4MVEY1aZ8YqfGh1GQkVfhJKTJgF083rV2D6ixx2r |
I hereby claim:
To claim this, I am signing this object:
| - name: 'check if reboot is required' | |
| shell: if [ $(readlink -f /vmlinuz) != /boot/vmlinuz-$(uname -r) ]; then echo 'yes'; else echo 'no'; fi | |
| ignore_errors: true | |
| register: reboot | |
| - name: 'reboot...' | |
| shell: nohup bash -c 'sleep 2 && shutdown -r now "Ansible kernel update applied"' & | |
| async: 0 | |
| poll: 0 | |
| ignore_errors: true |