Skip to content

Instantly share code, notes, and snippets.

@sue445
sue445 / flowchart.svg
Last active Mar 17, 2019
六大異変攻略作戦 《輝く湖タークディアバーブ》のフローチャート (for PlantUML)
View flowchart.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View git update
#!/bin/sh -e
if [ -n "$1" ]; then
master=$1
else
master=`git remote show origin | grep 'HEAD branch:' | cut -d : -f 2 | tr -d '[[:space:]]'`
fi
current=`git branch | grep '*' | cut -f 2 -d ' '`
@sue445
sue445 / clash_log.txt
Last active Dec 30, 2018
SEGV on ruby 2.6.0 and 2.7.0-dev
View clash_log.txt
Process: ruby [38736]
Path: /Users/USER/*/ruby
Identifier: ruby
Version: 0
Code Type: X86-64 (Native)
Parent Process: bash [12607]
Responsible: ruby [38736]
User ID: 501
Date/Time: 2018-12-30 19:37:37.242 +0900
@sue445
sue445 / README.md
Created Dec 3, 2018
CircleCIバグレポート下書き
View README.md
@sue445
sue445 / README.md
Last active Dec 3, 2018
CircleCIに対する雑な要望
View README.md

Registoryに欲しい機能

DockerHubと比べると色々足りてない

特定のorgやuserの一覧

ソースコード(GitHubなど)へのリンクを貼る場所

  • PRの送り先が分かりやすいと便利
  • registoryには書けない詳細な使い方をGitHubに書く用途
View Gemfile
gem "other_gem", github: "sue445/other_gem", branch: "rails_6_0"
View Gemfile.diff
-gem "rails", "5.2.0"
+gem "rails", "5.2.1"
@sue445
sue445 / feed_timeline.yml
Created Mar 13, 2018
個人Slackで使ってるプリキュア公式情報のソース
View feed_timeline.yml
channels:
- webhook_url: "https://hooks.slack.com/services/T02UYJ350/XXXXXXXXXXX/XXXXXXXXXXXXXXXXXXXXXXX"
channel: "precure_news"
feeds:
# プリキュア公式YouTubeチャンネル
# https://www.youtube.com/channel/UCSsjL41NsyqSNNbanuI0htg
- feed_url: "https://www.youtube.com/feeds/videos.xml?channel_id=UCSsjL41NsyqSNNbanuI0htg"
icon_url: "https://yt3.ggpht.com/-q2c_NBX6IoI/AAAAAAAAAAI/AAAAAAAAAAA/09Aqoh5LcFY/s288-mo-c-c0xffffffff-rj-k-no/photo.jpg"
# 東映アニメーション創立60周年公式YouTubeチャンネル
View twitter_timeline.yml
channels:
- webhook_url: "https://hooks.slack.com/services/xxxxxxxx/xxxxxx/xxxxxxxxxxxxxxx"
channel: "xxxxxxxxxxxxx"
users:
- screen_name: "cardcommune15"
- screen_name: "futagokamikita"
- screen_name: "pps_as"
- screen_name: "precure_15th"
- screen_name: "precure_app"
- screen_name: "precure_event"
@sue445
sue445 / error.log
Created Aug 25, 2017
きゅあったー投稿時のエラーログ
View error.log
Errno::ETIMEDOUT: Connection timed out - connect(2) for "precure.ml" port 443
File "/app/vendor/bundle/ruby/2.4.0/gems/http-2.2.2/lib/http/timeout/null.rb" line 20 in initialize
File "/app/vendor/bundle/ruby/2.4.0/gems/http-2.2.2/lib/http/timeout/null.rb" line 20 in open
File "/app/vendor/bundle/ruby/2.4.0/gems/http-2.2.2/lib/http/timeout/null.rb" line 20 in connect
File "/app/vendor/bundle/ruby/2.4.0/gems/http-2.2.2/lib/http/connection.rb" line 41 in initialize
File "/app/vendor/bundle/ruby/2.4.0/gems/http-2.2.2/lib/http/client.rb" line 60 in new
File "/app/vendor/bundle/ruby/2.4.0/gems/http-2.2.2/lib/http/client.rb" line 60 in perform
File "/app/vendor/bundle/ruby/2.4.0/gems/http-2.2.2/lib/http/client.rb" line 41 in request
File "/app/vendor/bundle/ruby/2.4.0/gems/http-2.2.2/lib/http/chainable.rb" line 26 in post
File "/app/vendor/bundle/ruby/2.4.0/gems/mastodon-api-1.1.0/lib/mastodon/rest/request.rb" line 21 in public_send
You can’t perform that action at this time.