- shiftbk.ps1
jj bookmark move ブックマーク名 -t リビジョンでブックマーク名の転記が面倒くさいので書いた、自動で直近のものを探して移動させてくれる PowerShell スクリプト(実行前の目視確認あり)。結構、使う - new-jj.ps1
jj git init* -textという1行だけの.gitattributesを作成する*~,*.o,*.exe,__*,*.zip,distなどを .git/info/exclude に追加
- jj-describe.ps1
git describe --tagsと同じようなことを jj でやる実験用 PowerShell Script。普通にgit describe --tagsを実行した方が早い
表計算ソフトのような操作感を持ちつつ、CSVの構造を壊さずに編集できるツールです。
- Modern CSV (Win/Mac/Linux) (舶来品)
現在、世界的に最も評価の高いCSV専用エディターの一つです。非常に高速で、数GBクラスの巨大なファイルも軽快に開けます。コマンドパレットや多重選択など、モダンな操作感が特徴です。 - SmoothCSV 3 (Win/Mac/Linux) (国産品)
日本発の強力なエディターで、2025〜2026年にかけて大幅なアップデートが行われました。SQLを使ってデータを抽出したり、マクロで処理を自動化したりできるため、エンジニアやデータアナリストに人気です。
(英語化された zenn.dev 記事一覧)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function Step-Exec($cmd) { | |
| While ($true) { | |
| $ans = Read-Host ("`r`n$ {0}`r`n[Y]es: execute, [N]o: skip, [Q]uit ?" -f $cmd) | |
| if ($ans -eq "q" ){ | |
| exit 1 | |
| } | |
| if ($ans -eq "n" ){ | |
| return | |
| } | |
| if ($ans -eq "y" ){ |
go-ttyadapter
└go-readline-ny (and go-readline-skk)
├NYAGOS
├Binview
├Csvi
││
└─go-multiline-ny
│├gm
└┴SQL-Bless
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| if ( -not (Test-Path .jj) ){ | |
| jj git init | |
| } | |
| if ( -not (Test-Path .gitattributes) ){ | |
| "echo * -text`n" | Out-File -NoNewline -FilePath .gitattributes | |
| jj commit -m "Add .gitattributes as autocrlf=false" .gitattributes | |
| } | |
| foreach ( $i in @("*~","*.o","*.exe","__*","*.zip","dist") ){ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # PowerShell Script for jj which is equivalent to `git describe --tags` | |
| function jj-describe(){ | |
| $tag=jj log -r "latest(::@ & tags())" --no-graph --template "self.tags()" | |
| $count=jj log --count -r "$tag..git_head()" | |
| if ( $count -le 0 ){ | |
| return $tag | |
| } | |
| $hash=jj log -r "@-" --no-graph --template "commit_id.short(7)" | |
| return "$tag-$count-g$hash" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $argv = $args | |
| $saveEncode = $null | |
| if ([Console]::IsOutputRedirected) { | |
| $saveEncode = [System.Console]::OutputEncoding | |
| [System.Console]::OutputEncoding=[System.Text.Encoding]::UTF8 | |
| } | |
| Get-Content "go.mod" | | |
| Where-Object { $_ -like "module*" } | |
NewerOlder