senooken JP Social
  • FAQ
  • Login
senooken JP Socialはsenookenの専用分散SNSです。
  • Public

    • Public
    • Network
    • Groups
    • Popular
    • People

Notices by すー (portable) (ernix@pm.ernix.jp), page 19

  1. すー (portable) (ernix@pm.ernix.jp)'s status on Thursday, 11-Oct-2018 19:39:30 JST すー (portable) すー (portable)

    禁煙ねぇ・・・

    In conversation Thursday, 11-Oct-2018 19:39:30 JST from pm.ernix.jp permalink
  2. すー (portable) (ernix@pm.ernix.jp)'s status on Friday, 05-Oct-2018 22:58:24 JST すー (portable) すー (portable)

    VSCode触ってみたけど結構できよかった。でもvimから離れられない。

    In conversation Friday, 05-Oct-2018 22:58:24 JST from pm.ernix.jp permalink
  3. すー (portable) (ernix@pm.ernix.jp)'s status on Friday, 05-Oct-2018 22:49:25 JST すー (portable) すー (portable)

    結局Haskellのerdはうまく動かなかったので、Pythonのeralchemy使うことにした。python2だとエンコード周りで駄目だったけどpython3の方はきちんと動く

    In conversation Friday, 05-Oct-2018 22:49:25 JST from pm.ernix.jp permalink
  4. すー (portable) (ernix@pm.ernix.jp)'s status on Friday, 05-Oct-2018 22:46:38 JST すー (portable) すー (portable)

    もうひとつあるな。サブツリーを表示するエイリアスだ。どうもサブツリーは好きじゃないんだけど。

    ls-subtrees = !"git log \
    | awk '/git-subtree-dir:/{print $2}' \
    | sort -u \
    | xargs -I{} sh -c ' \
    [ -d \"$(git rev-parse --show-toplevel)/$0\" ] && echo \"$0\" \
    ' \"{}\""

    In conversation Friday, 05-Oct-2018 22:46:38 JST from pm.ernix.jp permalink
  5. すー (portable) (ernix@pm.ernix.jp)'s status on Friday, 05-Oct-2018 22:44:07 JST すー (portable) すー (portable)

    `git exec ls` とかすれば深いディレクトリからでもルートディレクトリが見えるはず。

    In conversation Friday, 05-Oct-2018 22:44:07 JST from pm.ernix.jp permalink
  6. すー (portable) (ernix@pm.ernix.jp)'s status on Friday, 05-Oct-2018 22:43:32 JST すー (portable) すー (portable)

    そうだ。昨日のエイリアスで一つ忘れていた。人を食ったような設定だけど、これで後に続くコマンドをリポジトリのルートディレクトリで実行できる。

    exec = "!exec "

    In conversation Friday, 05-Oct-2018 22:43:32 JST from pm.ernix.jp permalink
  7. すー (portable) (ernix@pm.ernix.jp)'s status on Thursday, 04-Oct-2018 20:58:30 JST すー (portable) すー (portable)

    わいイマイチわかってないんやけど、VBAとVB6とClassic ASPの違いってなんやっけ

    In conversation Thursday, 04-Oct-2018 20:58:30 JST from pm.ernix.jp permalink
  8. すー (portable) (ernix@pm.ernix.jp)'s status on Thursday, 04-Oct-2018 20:08:10 JST すー (portable) すー (portable)

    vimだとカーソル下の単語をSNAKE_CASE/snake_case/camelCase でトグルするスクリプトをちょこっと書いた。これは地味に便利でお気に入り。 https://gist.github.com/ernix/34d0712b5612da46bf7454ff9bbb32e1

    In conversation Thursday, 04-Oct-2018 20:08:10 JST from pm.ernix.jp permalink

    Attachments

    1. Domain not in remote thumbnail source whitelist: avatars2.githubusercontent.com
      vim-toggle-case.vim
      from Gist
      vim-toggle-case.vim. GitHub Gist: instantly share code, notes, and snippets.
  9. すー (portable) (ernix@pm.ernix.jp)'s status on Thursday, 04-Oct-2018 20:04:25 JST すー (portable) すー (portable)

    でも気休め程度なので、結局_mergeブランチ開いてお試しマージしちゃう

    In conversation Thursday, 04-Oct-2018 20:04:25 JST from pm.ernix.jp permalink
  10. すー (portable) (ernix@pm.ernix.jp)'s status on Thursday, 04-Oct-2018 20:01:47 JST すー (portable) すー (portable)

    もうひとつはdry-mergeで、こいつは実際にマージを走らせる前にコンフリクトが起こらないかチェックするのに使ってる。

    dry-merge = !"_() { \
    git merge-tree \"$(git merge-base \"$1\" \"$2\")\" \"$1\" \"$2\" \
    | grep -A3 '^changed in both'; \
    }; ! _ \"$1\" \"$2\" || false"

    In conversation Thursday, 04-Oct-2018 20:01:47 JST from pm.ernix.jp permalink
  11. すー (portable) (ernix@pm.ernix.jp)'s status on Thursday, 04-Oct-2018 20:00:49 JST すー (portable) すー (portable)

    最近地味に便利に使ってるのはこんなエイリアス。`git diff color-words=.` するとマルチバイトが化けるのでその代わりに使っている。

    diffwords = !"_() { \
    git diff \
    --word-diff=color \
    --word-diff-regex=$(printf '[^\\x80-\\xbf][\\x80-\\xbf]*') \
    \"$@\"; \
    }; _"

    In conversation Thursday, 04-Oct-2018 20:00:49 JST from pm.ernix.jp permalink
  12. すー (portable) (ernix@pm.ernix.jp)'s status on Thursday, 04-Oct-2018 19:58:36 JST すー (portable) すー (portable)

    みんなの gitconfig にある alias に何が書いてるか見てみたい。

    In conversation Thursday, 04-Oct-2018 19:58:36 JST from pm.ernix.jp permalink
  13. すー (portable) (ernix@pm.ernix.jp)'s status on Thursday, 04-Oct-2018 19:56:24 JST すー (portable) すー (portable)

    コメント書く時も英語で書いてる。IME切り替えるの面倒

    In conversation Thursday, 04-Oct-2018 19:56:24 JST from pm.ernix.jp permalink
  14. すー (portable) (ernix@pm.ernix.jp)'s status on Thursday, 04-Oct-2018 19:55:12 JST すー (portable) すー (portable)

    VS Code悪くないかなと思ったけど設定ファイルをdotfilesに移すのがでら面倒

    In conversation Thursday, 04-Oct-2018 19:55:12 JST from pm.ernix.jp permalink
  15. すー (portable) (ernix@pm.ernix.jp)'s status on Thursday, 04-Oct-2018 19:54:34 JST すー (portable) すー (portable)

    最近のIDEとかだったらガード節自動でリファクタやってくれそうだけど、そんな機能あるの?

    In conversation Thursday, 04-Oct-2018 19:54:34 JST from pm.ernix.jp permalink
  16. すー (portable) (ernix@pm.ernix.jp)'s status on Thursday, 04-Oct-2018 19:52:34 JST すー (portable) すー (portable)

    mermaid.jsがER図サポートしてくれないのでerd試してみようかと思う。

    In conversation Thursday, 04-Oct-2018 19:52:34 JST from pm.ernix.jp permalink
  17. すー (portable) (ernix@pm.ernix.jp)'s status on Thursday, 04-Oct-2018 19:51:19 JST すー (portable) すー (portable)

    何が正しいのか把握できない状態でコードを書くべきではない。

    In conversation Thursday, 04-Oct-2018 19:51:19 JST from pm.ernix.jp permalink
  18. すー (portable) (ernix@pm.ernix.jp)'s status on Thursday, 04-Oct-2018 19:46:49 JST すー (portable) すー (portable)

    git bisect中は `bisect/bad` とかのrefでコミットを取れると知った。これ便利ね。

    In conversation Thursday, 04-Oct-2018 19:46:49 JST from pm.ernix.jp permalink
  19. すー (portable) (ernix@pm.ernix.jp)'s status on Thursday, 04-Oct-2018 19:37:03 JST すー (portable) すー (portable)

    やあやあ

    In conversation Thursday, 04-Oct-2018 19:37:03 JST from pm.ernix.jp permalink
  20. すー (portable) (ernix@pm.ernix.jp)'s status on Tuesday, 02-Oct-2018 23:37:41 JST すー (portable) すー (portable)

    この前は青甲羅の音と言われたリプ音ですが、今日はアサリぶち込んだ音って言われます。

    In conversation Tuesday, 02-Oct-2018 23:37:41 JST from pm.ernix.jp permalink
  • After
  • Before

User actions

    すー (portable)

    すー (portable)

    Software Developer en: https://mstdn.ernix.jp/ ja: https://pm.ernix.jp/

    Tags
    • (None)
    WebSub

    Following 0

      Followers 0

        Groups 0

          Statistics

          User ID
          581
          Member since
          5 Jun 2018
          Notices
          684
          Daily average
          0

          Feeds

          • Atom
          • Help
          • About
          • FAQ
          • TOS
          • Privacy
          • Source
          • Version
          • Contact

          senooken JP Social is a social network, courtesy of senooken. It runs on GNU social, version 2.0.2-beta0, available under the GNU Affero General Public License.

          Creative Commons Attribution 3.0 All senooken JP Social content and data are available under the Creative Commons Attribution 3.0 license.