I hereby claim:
- I am tsub on github.
- I am tsub (https://keybase.io/tsub) on keybase.
- I have a public key ASDvCT32kIM-W-kIJCn5ePMlvGNbd2DASrioCqY5dXQtaQo
To claim this, I am signing this object:
# frozen_string_literal: true | |
source 'https://rubygems.org' | |
gem 'dynamoid' | |
gem 'pry-byebug', platforms: :ruby | |
gem 'rake' |
ESA_ACCESS_TOKEN= | |
ESA_TEAM= |
#!/bin/sh | |
PAGE=$1 | |
SUBSCRIPTION_URLS=$(curl -s -H "Authorization: Bearer $GITHUB_API_TOKEN" "https://api.github.com/user/repos?affiliation=owner&page=$PAGE&per_page=100" | jq -r '.[] | select(.fork == false) | .subscription_url') | |
for url in $SUBSCRIPTION_URLS; do | |
RESPONSE=$(curl -s -H "Authorization: Bearer $GITHUB_API_TOKEN" "$url" | jq -r '.url') | |
if [ "$RESPONSE" = "null" ]; then |
I hereby claim:
To claim this, I am signing this object:
format: | |
subject: ':github: **%{subject}**' | |
line: '* %{status} [%{title}](%{url}) by :@%{user}:' | |
dictionary: | |
status: | |
merged: ':git-merge:' | |
closed: ':issue-closed:' |
package main | |
import ( | |
"fmt" | |
"os" | |
"os/signal" | |
"syscall" | |
"time" | |
) |
#!/bin/sh | |
set -eu | |
type aws > /dev/null 2>&1 && type jq > /dev/null 2>&1 || { | |
echo 'Required aws-cli and jq' | |
exit 1 | |
} | |
repositories=$(aws ecr describe-repositories --query 'repositories[*].repositoryName' | tr -d "[\",\t\n\r\"]") |
function history-fzf() { | |
local tac | |
if which tac > /dev/null; then | |
tac="tac" | |
else | |
tac="tail -r" | |
fi | |
BUFFER=$(history -n 1 | eval $tac | fzf --query "$LBUFFER") |
function ghq-fzf() { | |
local selected_dir=$(ghq list | fzf --query="$LBUFFER") | |
if [ -n "$selected_dir" ]; then | |
BUFFER="cd $(ghq root)/${selected_dir}" | |
zle accept-line | |
fi | |
zle reset-prompt | |
} |
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |