Skip to content

Instantly share code, notes, and snippets.

$ ansible-playbook -i inventory/hosts setup.yml --tags=install-all,ensure-matrix-users-created,start -K -vvvvvvv
ansible-playbook 2.10.8
config file = /home/elw/matrix-docker-ansible-deploy/ansible.cfg
configured module search path = ['/home/elw/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
ansible python module location = /usr/lib/python3/dist-packages/ansible
executable location = /usr/bin/ansible-playbook
python version = 3.10.6 (main, Nov 14 2022, 16:10:14) [GCC 11.3.0]
Using /home/elw/matrix-docker-ansible-deploy/ansible.cfg as config file
BECOME password:
setting up inventory plugins
@tedwardd
tedwardd / keymap.c
Last active February 25, 2023 01:08
keymap.c
#include QMK_KEYBOARD_H
#define _BASE 0
#define _RAISE 1
#define _LOWER 2
#define SFT_ESC SFT_T(KC_ESC)
#define CTL_BSPC CTL_T(KC_BSPC)
#define ALT_SPC ALT_T(KC_SPC)
#define CTL_ENT CTL_T(KC_ENT)
@tedwardd
tedwardd / main.log
Created November 22, 2022 01:34
Mysterium VPN Bug Report Logs
[2022-11-21 20:25:25.419] [info] Opening in browser window: file:///C:/Program%20Files/MysteriumVPN/resources/app.asar/index.html
[2022-11-21 20:25:26.046] [info] Checking for update
[2022-11-21 20:25:26.078] [info] Resolved machine ID 9de090e44b2f9a6acff28a9b3338dcaf34f270b8da8d49cc04c73745d745788a
[2022-11-21 20:25:26.244] [info] Pushy device token: 34ed07148b605c5a24b86d
[2022-11-21 20:25:27.037] [info] Update for version 10.13.3 is not available (latest version: 10.13.3, downgrade is disallowed).
[2022-11-21 20:25:27.041] [info] Connecting to the supervisor...
[2022-11-21 20:25:27.549] [info] Connecting to the supervisor...
[2022-11-21 20:25:28.050] [info] Connecting to the supervisor...
[2022-11-21 20:25:28.551] [info] Connecting to the supervisor...
[2022-11-21 20:25:29.053] [info] Connecting to the supervisor...
Error: Error creating Database: googleapi: got HTTP response code 404 with body: <!DOCTYPE html>
<html lang=en>
<meta charset=utf-8>
<meta name=viewport content="initial-scale=1, minimum-scale=1, width=device-width">
<title>Error 404 (Not Found)!!1</title>
<style>
*{margin:0;padding:0}html,code{font:15px/22px arial,sans-serif}html{background:#fff;color:#222;padding:15px}body{margin:7% auto 0;max-width:390px;min-height:180px;padding:30px 0 15px}* > body{background:url(//www.google.com/images/errors/robot.png) 100% 5px no-repeat;padding-right:205px}p{margin:11px 0 22px;overflow:hidden}ins{color:#777;text-decoration:none}a img{border:0}@media screen and (max-width:772px){body{background:none;margin-top:0;max-width:none;padding-right:0}}#logo{background:url(//www.google.com/images/branding/googlelogo/1x/googlelogo_color_150x54dp.png) no-repeat;margin-left:-5px}@media only screen and (min-resolution:192dpi){#logo{background:url(//www.google.com/images/branding/googlelogo/2x/googlelogo_color_150x54dp.pn
@tedwardd
tedwardd / google_resourcemanager_path_crawler.py
Created December 11, 2020 18:27
Inefficient GCP Path Crawler
"""
This crawls through a folder hierarchy searching for a specific folder in GCP using Google's v2 folders API:
https://cloud.google.com/resource-manager/reference/rest/v2/folders
The better way to do this for real is to use the v2 folder search API:
https://cloud.google.com/resource-manager/reference/rest/v2/folders/search
This is here only as a reminder that you should always read API docs COMPLETELY before writing a solution to a problem
"""
def __get_folder_id(self, folder, parent):
folder_data = (
self.crm_v2.folders().list(parent=parent).execute().get("folders", "")
$ rigctld -m 4 -r localhost:12345 -vvvvvv
Recommend using --vfo switch for rigctld if client supports it
rigctl and netrigctl will automatically detect vfo mode
rigctld, Hamlib 4.0~git
Report bugs to <hamlib-developer@lists.sourceforge.net>
rig_init called
initrigs4_dummy: _init called
rig_register called
rig_register: rig_register (1)
@tedwardd
tedwardd / direwolf.conf
Created April 29, 2020 19:19
direwolf config
#############################################################
# #
# Configuration file for Dire Wolf #
# #
# Linux version #
# #
#############################################################
#
# Consult the User Guide for more details on configuration options.
#
@tedwardd
tedwardd / output.txt
Created April 22, 2020 18:07
Terraform plan debug output
2020/04/22 13:29:17 [WARN] Log levels other than TRACE are currently unreliable, and are supported only for backward compatibility.
Use TF_LOG=TRACE to see Terraform's internal logs.
----
2020/04/22 13:29:17 [INFO] Terraform version: 0.12.24
2020/04/22 13:29:17 [INFO] Go runtime version: go1.12.13
2020/04/22 13:29:17 [INFO] CLI args: []string{"/usr/local/Cellar/tfenv/1.0.2/versions/0.12.24/terraform", "plan"}
2020/04/22 13:29:17 [DEBUG] Attempting to open CLI config file: /Users/xxxxx/.terraformrc
2020/04/22 13:29:17 [DEBUG] File doesn't exist, but doesn't need to. Ignoring.
2020/04/22 13:29:17 [DEBUG] checking for credentials in "/Users/xxxxx/.terraform.d/plugins"
2020/04/22 13:29:17 [INFO] CLI command args: []string{"plan"}

Keybase proof

I hereby claim:

  • I am tedwardd on github.
  • I am tedward (https://keybase.io/tedward) on keybase.
  • I have a public key ASCMQX58zo92lLp0QK4PwSSA18SgtxRr_wuzsWe9EVxH3Ao

To claim this, I am signing this object:

@tedwardd
tedwardd / errors
Created October 7, 2017 13:03
weechat build errors
[ 93%] Building C object src/gui/curses/CMakeFiles/weechat_gui_curses.dir/gui-curses-bar-window.o
In file included from /usr/pkg/include/ncursesw/ncurses.h:1969,
from /meta/e/elw/build/weechat-1.9.1/src/gui/curses/gui-curses.h:26,
from /meta/e/elw/build/weechat-1.9.1/src/gui/curses/gui-curses-bar-window.c:42:
/usr/pkg/include/ncurses/unctrl.h:60: error: conflicting types for ‘unctrl’
/usr/pkg/include/ncurses/unctrl.h:57: note: previous declaration of ‘unctrl’ was here
make[2]: *** [src/gui/curses/CMakeFiles/weechat_gui_curses.dir/gui-curses-bar-window.o] Error 1
make[1]: *** [src/gui/curses/CMakeFiles/weechat_gui_curses.dir/all] Error 2
make: *** [all] Error 2