Note: The agenda links in this doc will probably go offline once the agenda updates for 2024.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Meshtastic DEF CON 33 Channel Configuration Script | |
# Based on: https://github.com/meshtastic/firmware/blob/event/defcon33/userPrefs.jsonc | |
echo "🔧 Configuring Meshtastic DEF CON 33 Channels..." | |
echo "================================================" | |
# Check if meshtastic CLI is available | |
if ! command -v meshtastic &> /dev/null; then |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE NETSCAPE-Bookmark-file-1> | |
<!-- This is an automatically generated file. | |
It will be read and overwritten. | |
DO NOT EDIT! --> | |
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=UTF-8"> | |
<TITLE>Bookmarks</TITLE> | |
<H1>Bookmarks</H1> | |
<DL> | |
<p> | |
<DT> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
layout_poetry() { | |
if [[ -v VIRTUAL_ENV ]]; then | |
if whence -w deactivate &>/dev/null; then | |
deactivate | |
else | |
log_error "You're already in a virtual environment. Run \`deactivate\` first." | |
exit 1 | |
fi | |
fi |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Raindrop will import text lists of URLs that can be copy-and-pasted directly from | |
# Edge, but doing it this way will also import the titles and notes. | |
DB="${HOME}/Library/Application Support/Microsoft Edge/Default/Collections/collectionsSQLite" | |
# DB="./backup/collectionsSQLite" | |
sqlite3 "${DB}" << EOF | |
.mode csv |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# Quick and dirty script to extract Safari Tab Groups to a bookmarks.html file that can | |
# be imported into other browsers, or just to serve as a backup. I created this when | |
# testing Edge and finding that it imports regular bookmarks and the entire Reading List | |
# from Safari (cool!) but didn't touch the Tab Groups. I would have preferred those just | |
# be mapped to Edge Collections, but this'll work for now. | |
# I'm serious about the dirty part -- this is brute-force-y and just plain skips a few | |
# corner cases that could cause errors. |
sudo vi /etc/pam.d/sudo
Ontology for Data Scientists Michael Uschold - Semantic Arts
We start with an interactive discussion to identify what are the main things that data
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
import boto3 | |
import click | |
import logging | |
import os | |
import sys | |
from datetime import datetime |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# 'sp-dns-upsert' service principal creation: | |
# SPID=$(az ad sp create-for-rbac -n "http://sp-dns-upsert" --sdk-auth \ | |
# --skip-assignment | \ | |
# tee sp-dns-upsert.json | jq -r '.clientId') | |
# | |
# Assign the 'DNS Zone Contributor' role to the new service principal only for a single | |
# resource group specified in the ${RG} environment variable: | |
# az role assignment create --assignee ${SPID} --resource-group ${RG} \ |
NewerOlder