Skip to content

Instantly share code, notes, and snippets.

View ebridges's full-sized avatar
🛠️
Fixing things

Edward Q. Bridges ebridges

🛠️
Fixing things
View GitHub Profile
@ebridges
ebridges / .gitignore
Last active December 12, 2023 14:47
Generates cohort test cases
venv
cohort-cases
@ebridges
ebridges / priorities-list.md
Created October 29, 2022 13:13
Obsidian - Priorities List

Priorities

First

TASK FROM "work/aetion"
WHERE contains(tags, "#todo/11") and !completed
GROUP BY file.link
SORT file.ctime DESC
@ebridges
ebridges / meeting-notes-template.md
Created October 29, 2022 13:12
Obsidian - Meeting Notes Template

Topic

Agenda

  • <% tp.file.cursor() %>

Attendees

@ebridges
ebridges / daily-note-template.md
Created October 29, 2022 13:11
Obsidian - Daily Note Template
creation date
<% tp.file.creation_date() %>

← [[<% tp.date.now('YYYY-MM-DD-ddd', -1) %>]] | [[<% tp.date.now('YYYY-MM-DD-ddd', 1) %>]] →

<% tp.date.now('YYYY-MM-DD-ddd') %>

📝 Notes

#!/bin/sh
STREAM=$(aws --output=text logs describe-log-streams --log-group-name /aws/lambda/elektrum-development | tail -1 | awk '{print $7}')
aws --output=text logs get-log-events --log-group-name /aws/lambda/elektrum-development --log-stream-name ${STREAM}
@ebridges
ebridges / hide-quantity-block.css
Created November 17, 2018 13:30
Hides the quantity block on Family Portrait Day website.
.is-first-product-block>.productDetails>.product-quantity-input {
display: none;
visibility: hidden;
}
@ebridges
ebridges / .jhbuildrc-custom
Created November 11, 2017 03:00
jhbuild customizations
# -*- mode: python -*-
#Uncomment this if you have a completed build and only want to rebuild
#updated modules instead of everything:
#
#build_policy = "updated-deps"
#Select one of these, or use a different one: Do keep the directories
#separate for stable and unstable as they have different
#dependencies. You can use 2.3.x for svn builds.
@ebridges
ebridges / gnucash.modules
Created November 11, 2017 02:57
gnucash.modules configuration
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE moduleset SYSTEM "moduleset.dtd">
<?xml-stylesheet type="text/xsl" href="moduleset.xsl"?>
<moduleset>
<repository type="tarball" name="ftp.gnome.org" default="yes"
href="http://ftp.gnome.org/pub/GNOME/sources/"/>
<repository type="tarball" name="kernel.org"
href="http://www.kernel.org/pub/linux/"/>
<repository type='tarball' name='ftp.gnu.org'
@ebridges
ebridges / s3-playbook.yml
Last active June 7, 2021 16:30
Ansible playbook to generate one or more S3 buckets with permissions useful for rclone.
---
## Usage:
## ansible-playbook s3-playbook.yml
- hosts: localhost
connection: local
gather_facts: False
vars:
buckets:
'<BucketName>' : '<BucketARN>'
'com.example.bucket' : 'arn:aws:s3:::com.example.bucket'
@ebridges
ebridges / list-jpegs.sh
Last active September 17, 2016 15:42
Lists all JPEGs under a directory into a format indexed by filename.
find . -iname '*.jpg' -not -path '*.AppleDouble*' -print0 \
| while read -d $'\0' file; \
do \
FILE=`basename "$file"` && echo "$FILE^$file" ; \
done > list.txt