Skip to content

Instantly share code, notes, and snippets.

View tnir's full-sized avatar
🍎
DX/DevOps/SecOps/GitLab/GitHub

Takuya N tnir

🍎
DX/DevOps/SecOps/GitLab/GitHub
View GitHub Profile
@tnir
tnir / README.md
Created June 3, 2022 00:40
GitLab logo update 2022 in eco system

Updated by @tnir

Selected PRs updated by @tnir

GitHub

@tnir
tnir / README.md
Created May 12, 2022 06:54
Get task list-formatted PRs and issues on GitHub
@tnir
tnir / .circleci_config.yml
Last active January 30, 2019 08:57
Updating Orb-based CircleCI config
version: 2.1
orbs:
hello: circleci/hello-build@0.0.8
workflows:
"Hello Workflow":
jobs:
- hello/hello-build
@tnir
tnir / file0.txt
Created May 15, 2018 05:58
Django 2.0へのアップデート (Removed support for bytestrings編) ref: https://qiita.com/tnir/items/27a9ecd20c7c7f2e9aee
>>> from polls.models import Choice
>>> bytes_text = some_func() # => b'Just hacking'
>>> Choice(choice_text=str(bytes_text)).save()
>>> Choice.objects.filter(choice_text=bytes_text) # => NG
<QuerySet []>
>>> Choice.objects.filter(choice_text=bytes_text.decode()) # => OK
<QuerySet [<Choice: Just hacking>]>
@tnir
tnir / file0.txt
Created March 26, 2018 10:00
アジアでSkylakeプロセッサを使う ref: https://qiita.com/tnir/items/349cf1a1a0e2cc36e037
$ gcloud compute zones describe us-west1-a
@tnir
tnir / file0.txt
Created January 25, 2018 02:13
AWS ap-northeast-1に4個のAZがあることを確認する (ap-northeast-1dができた) ref: https://qiita.com/tnir/items/7ac06bf5f3974477e09f
$ aws ec2 describe-availability-zones --output text
AVAILABILITYZONES ap-northeast-1 available ap-northeast-1a
AVAILABILITYZONES ap-northeast-1 available ap-northeast-1c
AVAILABILITYZONES ap-northeast-1 available ap-northeast-1d
@tnir
tnir / 0-README.md
Created October 12, 2017 03:29
No Marp window appears

Marp not working

Even when launching Marp.app, no new window appears.

  • Marp 0.0.11 (0.0.11)
  • macOS 10.12.6 (Sierra) and 10.13 (High Sierra)

Check their Application config

See ~/Library/Application\ Support/Marp/config.json (attached as config.json).

@tnir
tnir / 000-README.md
Last active October 7, 2017 15:59
docker images on a node

docker images used in a certain node