Skip to content

Instantly share code, notes, and snippets.

View doi-t's full-sized avatar
🧗‍♂️
Be open-minded

Toshiya Doi doi-t

🧗‍♂️
Be open-minded
View GitHub Profile
@doi-t
doi-t / gh_issue_view.yml
Last active July 17, 2020 09:40
Run gh command on Github Actions as a manual trigger
name: gh issue view
on:
workflow_dispatch: # Manual trigger: https://github.blog/changelog/2020-07-06-github-actions-manual-triggers-with-workflow_dispatch/
inputs:
issueNumber:
description: 'Issue number'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
@doi-t
doi-t / recursive_word_replacement.sh
Created October 11, 2020 07:15
Recursive search and replace in text files on Mac
find internal \( -type d -name .git -prune \) -o -type f -print0 | xargs -0 sed -i'.original' -e 's/foo/bar/g'