GitHub
Issueを立てるときにテンプレートが自動で出てくるのはありがたいので、あとで試してみたい。 github.com
GitHubのユーザー規約はこちら。 GitHub Terms of Service - User Documentation 構成としては以下のようになっている。 Account Terms(アカウントの資格) API Terms(APIについて) Payment, Refunds, Upgrading and Downgrading Terms(支払いなど) Cancellat…
curl \ -H "Authorization: Token [token]" \ -H "Content-Type:application/json" \ -H "Accept: application/json" \ -X PATCH \ --data '{ "name": "new-repo-name" }' \ https://api.github.com/repos/:owner/old-repo-name だいたいこんな感じ。 PATCH…
SlackのRSSアプリと、GitHubのRSSフィードのコンボでいけます。 GitHubのRSSフィードは、だいたいこのような形式になっており、 https://github.com/{user}/{repo_name}/releases.atom 例としてはこんな感じ。 https://github.com/akka/akka/releases.atom …
qiita.com このように書いてあって、このスクリプトは、 private-ghq get git@github.com:hogehgoe/fugafuga を実行したときに、cloneしたリポジトリ直下に.gitconfigを自動的に作成してくれるもの。つまり、複数アカウントに対応するためには別のことをする…
Notifications | GitHub Developer Guide こういうのとか。 curl -u user:personaltoken https://api.github.com/repos/:owner/:repo/notifications こういうのとか。 curl -u user:personaltoken https://api.github.com/notifications
サンプル。 github.com Vagrantでapacheサーバを立ち上げる Vagrant仮想マシン上でFluentd wokerとなるdockerコンテナを立ち上げる ローカルではdocker-composeでFluentd aggregatorとElastic SearchとKibanaを立ち上げる VagrantのapacheログをKibanaで見る…
fix makefile by lestrrat · Pull Request #296 · peco/peco · GitHub makefileの修正
確か認証はいらなかったはずです。 $ curl https://api.github.com/users/shigemk2 ... "public_repos": 315, "public_gists": 697, ... もう何がなんだか。
画面の上のPull RequestsとかIssuesをポチるとこんな感じでサーチしてくれます。 また、リポジトリベースでも、自分の出したプルリクとかイシューとか調べられて便利です。 ふと思ったのですが、自分そんなにOSS活動してなかったね…っていう悲しみが生まれま…
ブランチで以下のコマンドを打つと、エディタが開き、そこで適当な文章を入れると、ブランチからmasterへpull requestが出せます。 $ hub pull-request hub/pull_request.go at aa4611dd9add76b1facda9906fcdf8078a2e89e6 · github/hub · GitHub しかも、も…
この手の情報ってコロコロ変わるので、github apiでググッてしらべたほうが早いです。サンプルも充実していますし。 Repositories | GitHub Developer Guide Search | GitHub Developer Guide いまいまでしたら、 $ curl -XGET https://api.github.com/searc…
こんな感じ。毎回ghq getってやるのはつらいんです。ので、ちょっと改造してみました。 function gps () { ghs -u shigemk2 | peco | awk '{print $1}' | ghq import } でもなんでしょう。自分のリポジトリが全部取れていません。 qiita.com
GitHubのstatusを確認するだけの簡単なシェル芸。 $ curl https://status.github.com/api/status.json api自体はこちらを参照しました。 GitHub System Status 毎回このページにアクセスするのはすごく面倒なんです。 GitHub System Status
azunobu.hatenablog.com githubのissueのlabel - jabropt.com コメント欄が地味に役立ちます。 bug meaning: bug. After correcting it closed. duplicate meaning: it is a duplicate of another issue. Close links to duplicate destination of issue. en…
一応こんな風には書いてあります。 $ git clone --bare https://github.com/exampleuser/old-repository.git # Make a bare clone of the repository $ cd old-repository.git $ git push --mirror https://github.com/exampleuser/new-repository.git # Mir…
職場でGitのrefについてお話があって、同僚がこんなコマンドを紹介していました。 $ git fetch git@github.com:sample-user/sample-repo.git '+refs/pull/*:refs/remotes/pr/*' これで、GitHubのPRの情報をローカルに持ってこれます。PRの内容をローカルでチ…
実行時エラーにログを出すアレ warn if executable was not found when RunCommand by motemen · Pull Request #70 · motemen/ghq · GitHub
概要 作者 cfe.jp - uzulla ページ LGTM Editor できること こんなの。 LGTM/拝承などの選択 文字サイズ、位置の調整 文字色の変更 などなど。
何を言っているのかわからないかもしれません。 たとえばなんですけども、「emacs javascript refactoring」でググるとトップにこれがでてきますが、 github.com 今まではユーザー名/リポジトリ名で表示されていたのが、DescriptionがGoogleの検索結果に出て…
mark all as read
Disable notification for @/all mention · Issue #1080 · gitterHQ/gitter · GitHub allのメンション通知やめたいって話。設定でどうにかできればいいけど。って話。
@/all pings lurkers · Issue #520 · gitterHQ/gitter · GitHub @all でlurk modeの人には通知がいかないようにしたいって話でしょうか。 Lurk mode – Gitter slackみたいに通知を細かく設定出来ないですし。
最近心がけていることを、少しだけやっています。 「こんな機能を追加したい」旨のIssueを投げる OKが出たら、実装してPull Requestを投げる といいつつ、すぐに反応が来なかったらもう勝手にやっちゃうんですが。 はてなブログに投稿しました #はてなブログ…
Gitter - Wikipedia, the free encyclopedia 特徴 Gitter is similar to IRC and HipChat. Unlike IRC, and like HipChat, it automatically logs all messages in the cloud. 他と比べて The fact that messages posted to Gitter chat rooms are preserved…
例。見た目が非常に微妙。 gitter.im URLはこんな感じ。 https://gitter.im/scala/scala?at=5688d0da0199d70069e0ab53 チャットの時間のところをaltを押しつつクリックすると、こんな感じになる。
Windowsのアプリで、ロード、というか通知が無茶遅くなる問題。
去年。表示がバグっていた。と思ったら、1時間後くらいには改善されていた。 GitHubの草原の表示がいよいよわけがわからなくなってきています。 pic.twitter.com/83cAZCFGX4— shigemk2 (@shigemk2) January 1, 2015 今年はどうだろうと思ったけど、直後でも…
そういえば今も消そうとすると問答無用だよね。削除前のポップアップ確認機能は、結構ありがたい。 github.com
この方法を使えば、複数アカウントを使い分けることが出来る。 同一端末で、複数のGitHubアカウントを使い分ける方法 · youkinjoh/TrainingWebSocket Wiki · GitHub 要約すると、 ssh-keygen -f で別々の違う鍵を作り、アカウントに登録する .ssh/configに同…