Skip to content

Instantly share code, notes, and snippets.

View leedm777's full-sized avatar

David M. Lee leedm777

View GitHub Profile
@leedm777
leedm777 / AnsibleVaultDiff.md
Last active January 2, 2024 08:50
Ansible vault diff in Git

Normally, when you diff an [Ansible vault][], all you see is gibberish.

$ git diff -- group_vars/all/vault.yml
diff --git a/group_vars/all/vault.yml b/group_vars/all/vault.yml
index 245ccf4..90bf9ee 100644
--- a/group_vars/all/vault.yml
+++ b/group_vars/all/vault.yml
@@ -1,111 +1,111 @@
 $ANSIBLE_VAULT;1.1;AES256
@leedm777
leedm777 / WebRTC-Standards.md
Last active December 4, 2015 19:52
If you start digging into WebRTC, here's all the stuff you'll run into

Even though I know it was a scam, this voicemail was terrifying.

Hi this is Leslie Owens with the Department of Legal Affairs with US Treasury, and I was trying to reach you in regards to a very important issue. This is verbal notification for you in regards to the enforcement actions that have been started against your name. My number is 339-230-9384. I repeat it's 339-230-9384. If for any reason your are busy to call back, I would suggest you to have your retain attorney to do it for you, as delaying calling us might end up into a legal mess for you. I hope you will take this > right and call me right back. This is Leslie Owens with the Department of

#!/bin/sh
#
# Spin up couchbase in a container
#
PROGNAME=$(basename $0)
: ${VERSION:=community-3.1.3}
alias couchbase-cli="docker exec couchbase couchbase-cli"
diff --git a/res/res_odbc_transaction.c b/res/res_odbc_transaction.c
index 569fcb2..dd6ee30 100644
--- a/res/res_odbc_transaction.c
+++ b/res/res_odbc_transaction.c
@@ -26,6 +26,7 @@
#include "asterisk/module.h"
/*** MODULEINFO
+ <depend>generic_odbc</depend>
<support_level>core</support_level>

Keybase proof

I hereby claim:

  • I am leedm777 on github.
  • I am leedm777 (https://keybase.io/leedm777) on keybase.
  • I have a public key ASBsS_CE345aTOLxE9XHGw-35Xu_J0QYVjIjiIhic9Z3Sgo

To claim this, I am signing this object:

---
version: '2'
services:
registry:
build: .
$ docker-compose build
Error -3 from inflate: incorrect data check
Error decompressing unicodedata.so
Failed to write all bytes for unicodedata.so
@leedm777
leedm777 / git-all.sh
Created November 10, 2017 17:46
Run a git command on lots of repos
#!/bin/bash
#
# Run git commands on all the repos
#
GREEN='\033[0;32m'
NC='\033[0m' # No Color
faketty() {
commit 9b78a4bf59d87412ae29a1af918f345182502309
Author: David M. Lee <[email protected]>
Date: Wed Dec 27 23:47:14 2017 -0600
Various fixes for macOS
* Removed bundle1.o and macosx-version-min. This is unnecessary, and
become dated more quickly than we update macOS support (10.6 has been
EOL for over three years)
* Add some explicit casting to fix clang errors/warnings