I hereby claim:
- I am chrisgoffinet on github.
- I am chrisgoffinet (https://keybase.io/chrisgoffinet) on keybase.
- I have a public key ASD0FhRalKeV3jRqPYgKJ9D97L1hRo7uSE-g_enheeR3TQo
To claim this, I am signing this object:
| #!/bin/sh | |
| # * * * * * ~/bin/dropbox.sh >/dev/null 2>&1 | |
| echo "Dropbox: ignoring node_modules..." | |
| find ~/Dropbox -name "node_modules" -prune -exec echo {} \; -exec xattr -w com.dropbox.ignored 1 '{}' + |
| aws iam generate-service-last-accessed-details \ | |
| --arn <arn> --granularity ACTION_LEVEL | |
| # Get tne jobID | |
| aws iam get-service-last-accessed-details --job-id <jobID> > output.json |
| from gql import gql, Client | |
| from gql.transport.requests import RequestsHTTPTransport | |
| from gql.dsl import DSLQuery, DSLSchema, dsl_gql | |
| import os | |
| base_url = 'https://api.linear.app/graphql' | |
| token = os.getenv('LINEAR_TOKEN') | |
| transport = RequestsHTTPTransport(url=base_url, headers={ | |
| 'Authorization': 'Bearer ' + token}) |
| fcc() { | |
| DB=~/Library/Containers/org.p0deje.Maccy/Data/Library/Application\ Support/Maccy/Storage.sqlite | |
| SQL="select distinct ZVALUE | |
| from ZHISTORYITEMCONTENT | |
| where ZTYPE IN ('public.text','public.utf8-plain-text') | |
| order by Z_PK desc" | |
| if ! [ -r "$DB" ]; then | |
| MSG='Maccy database not found. "brew cask install maccy" to install Maccy.' | |
| echo "$MSG" |
| # Get the aliases and functions | |
| if [ -f ~/.bashrc ]; then | |
| . ~/.bashrc | |
| fi | |
| export EDITOR="code --wait" | |
| function parse_git_branch { | |
| git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/(\1)/' | |
| } |
| package main | |
| import ( | |
| "context" | |
| "fmt" | |
| "log" | |
| "net" | |
| "net/http" | |
| "time" | |
| ) |
| package main | |
| import ( | |
| "context" | |
| "fmt" | |
| "log" | |
| "os" | |
| "time" | |
| "github.com/aws/aws-sdk-go-v2/aws" |
| // example of counting semaphore to control fixed no. of goroutines | |
| package main | |
| import ( | |
| "fmt" | |
| "time" | |
| ) | |
| func main() { |
| #!/bin/bash | |
| set -euo pipefail | |
| CMD="$1" | |
| login() | |
| { | |
| if [ -z "${DOCKER_USER:-}" ] || [ -z "${DOCKER_PASS:-}" ]; then | |
| echo "Please set DOCKER_USER and DOCKER_PASS environment variables." |
I hereby claim:
To claim this, I am signing this object: