export OPENAI_API_KEY="$(security find-generic-password -s OPENAI_API_KEY -a $(whoami) -w)"security find-generic-password -s OPENAI_API_KEY -a "$(whoami)" -w | pbcopy| .PHONY: help check setup teardown load @load duckdb show-tables desc count claude | |
| PROJECTS := $(HOME)/.claude/projects | |
| select-project = $(shell find "$(PROJECTS)" -mindepth 1 -maxdepth 1 -type d | fzf --select-1 --exit-0) | |
| select-table = $(shell echo "$1" | sed -e 's/ /\n/g' | fzf --select-1 --exit-0) | |
| get-table = $(shell echo "$(notdir $1)" | sed 's/[^a-zA-Z0-9]/_/g') | |
| list-tables = $(shell duckdb database.duckdb -json "SHOW TABLES;" | jq -r '.[].name') | |
| help: | |
| @cat $(firstword $(MAKEFILE_LIST)) |
The default installed commands, such as date, may not be compatible with general Linux systems.
$ date -d '+10 minutes' +%s
date: illegal option -- d
usage: date [-jnRu] [-I[date|hours|minutes|seconds]] [-f input_fmt]
[-r filename|seconds] [-v[+|-]val[y|m|w|d|H|M|S]]
[[[[mm]dd]HH]MM[[cc]yy][.SS] | new_date] [+output_fmt](TBW)
# Get the current commit hash of HEAD (the latest commit on the current branch)
git rev-parse @
# Get the current branch name (using "@" as shorthand for "HEAD" or the current branch)
git rev-parse --abbrev-ref @
# Commit with the current branch name as the commit message (useful for quick commits labeled by branch name)
git commit -m "$(git rev-parse --abbrev-ref @)"$ cat Makefile
.PHONY: all
export AWS_PROFILE ?= acme
AWS_REGION ?= us-west-2
all:
@echo AWS_PROFILE=$(origin AWS_PROFILE)
@echo AWS_REGION=$(origin AWS_REGION)With export AWS_PROFILE :=
$ cat Makefile
.PHONY: test
export AWS_PROFILE := acme
export AWS_REGION := us-west-2
test:
@echo "AWS_PROFILE=$(AWS_PROFILE) (origin: $(origin AWS_PROFILE))"| #!/usr/bin/env bash | |
| export VERBOSE=false | |
| export DRYRUN=false | |
| export HELP=false | |
| export AWS_REGION= | |
| export AWS_PROFILE= | |
| export AWS_DEBUG= | |
| # declare -x DESIRED_COUNT=false |
| <?xml version="1.0" encoding="utf-8" standalone="no"?><manifest xmlns:android="http://schemas.android.com/apk/res/android" android:compileSdkVersion="33" android:compileSdkVersionCodename="13" package="com.oculus.browser" platformBuildVersionCode="33" platformBuildVersionName="13"> | |
| <uses-feature android:glEsVersion="0x00020000"/> | |
| <uses-feature android:name="oculus.software.overlay_keyboard" android:required="false"/> | |
| <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION"/> | |
| <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/> | |
| <uses-permission-sdk-23 android:name="android.permission.ACCESS_WIFI_STATE"/> | |
| <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/> | |
| <uses-permission-sdk-23 android:maxSdkVersion="30" android:name="android.permission.BLUETOOTH_ADMIN"/> | |
| <uses-permission-sdk-23 android:name="android.permission.BLUETOOTH_CONNECT"/> | |
| <uses-permission-sdk-23 android:name="android.permission.BLUETOOTH_ADVERTISE"/> |