<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Hangstuck</title><link>https://nagayasu-shinya.github.io/</link><description>Recent content on Hangstuck</description><image><title>Hangstuck</title><url>https://nagayasu-shinya.github.io/images/site-cover.png</url><link>https://nagayasu-shinya.github.io/images/site-cover.png</link></image><generator>Hugo</generator><language>ja-JP</language><copyright>2015-2026 NAGAYASU Shinya</copyright><lastBuildDate>Sat, 30 May 2026 13:42:39 +0900</lastBuildDate><atom:link href="https://nagayasu-shinya.github.io/index.xml" rel="self" type="application/rss+xml"/><item><title>GitのCommitterとAuthorを変更する</title><link>https://nagayasu-shinya.github.io/posts/git-rewrite-commit-metadata/</link><pubDate>Thu, 21 Aug 2025 22:02:30 +0900</pubDate><guid>https://nagayasu-shinya.github.io/posts/git-rewrite-commit-metadata/</guid><description>&lt;p&gt;Gitコミットには「Author（作成者）」と「Committer（コミット適用者）」が記録されます。
まれにこれらの変更の必要に迫られることがあるので、後から変更・修正する方法を説明します。&lt;/p&gt;</description></item><item><title>ターミナルのプロンプトをかっこよくする！ | Oh My Posh</title><link>https://nagayasu-shinya.github.io/posts/terminal-prompt-oh-my-posh/</link><pubDate>Mon, 23 Jun 2025 21:37:45 +0900</pubDate><guid>https://nagayasu-shinya.github.io/posts/terminal-prompt-oh-my-posh/</guid><description>&lt;p&gt;ターミナルプロンプトをカスタマイズしていろいろな情報を表示できるようにする oh-my-posh を紹介します。
プロンプトに処理結果や処理時間、Gitステータスなどを表示できるようになります。&lt;/p&gt;</description></item><item><title>Jenkins で手動ビルドを禁止する書き方</title><link>https://nagayasu-shinya.github.io/posts/jenkins-manual-trigger-prevention/</link><pubDate>Tue, 01 Oct 2024 04:52:17 +0900</pubDate><guid>https://nagayasu-shinya.github.io/posts/jenkins-manual-trigger-prevention/</guid><description>&lt;p&gt;Jenkins のリリースフローで手動ビルドのリリースを禁止したいときは通常Jenkinsユーザーの権限を制限することで実現するかと思います。
さらに念を入れて手動ビルド自体を禁止する方法を説明します。&lt;/p&gt;</description></item><item><title>WSL で Windowsネイティブな.exeを実行する</title><link>https://nagayasu-shinya.github.io/posts/wsl-windows-native-exe/</link><pubDate>Tue, 18 Jun 2024 23:35:21 +0900</pubDate><guid>https://nagayasu-shinya.github.io/posts/wsl-windows-native-exe/</guid><description>&lt;p&gt;WSLで大抵のことは完結できるようになってきましたが、ときどきWindows側の.exeを使いたくなるときがあります。
その方法を説明します。&lt;/p&gt;</description></item><item><title>JSTQB Foundation Level 勉強法メモ</title><link>https://nagayasu-shinya.github.io/posts/jstqb-certification-study-guide/</link><pubDate>Sat, 13 Jan 2024 20:38:10 +0900</pubDate><guid>https://nagayasu-shinya.github.io/posts/jstqb-certification-study-guide/</guid><description>&lt;p&gt;JSTQBというソフトウェアテストの資格をとったので、勉強法とかをメモしておきます。
サンプル問題がJSTQBのサイトにあまりなく、ISTQBのほうを参照したほうがいいです。&lt;/p&gt;</description></item><item><title>Jenkinsfile で sudo する方法</title><link>https://nagayasu-shinya.github.io/posts/jenkins-sudo-configuration/</link><pubDate>Thu, 12 Oct 2023 23:50:27 +0900</pubDate><guid>https://nagayasu-shinya.github.io/posts/jenkins-sudo-configuration/</guid><description>&lt;p&gt;&lt;code&gt;Jenkinsfile&lt;/code&gt; からコマンドを &lt;code&gt;sudo&lt;/code&gt; で実行させたいときがあります。
そういうときの対処法を &lt;code&gt;askpass&lt;/code&gt; をはじめ数パターンまとめてみました。&lt;/p&gt;</description></item><item><title>Jenkins でジョブにファイルをアップロードするプラグイン</title><link>https://nagayasu-shinya.github.io/posts/jenkins-file-parameter-plugin/</link><pubDate>Fri, 15 Sep 2023 01:28:52 +0900</pubDate><guid>https://nagayasu-shinya.github.io/posts/jenkins-file-parameter-plugin/</guid><description>&lt;p&gt;Jenkinsのジョブ実行時に、ジョブにファイルを渡すことができます。
デフォルトの機能なんですがうまく動作せず、プラグインを導入して解決できました。
ちょっとクセがあるのでその使い方を説明します。&lt;/p&gt;</description></item><item><title>PetaLinux のイメージサイズ削減＆パーティションサイズ最大化</title><link>https://nagayasu-shinya.github.io/posts/linux-image-size-optimization/</link><pubDate>Sun, 04 Jun 2023 18:30:44 +0900</pubDate><guid>https://nagayasu-shinya.github.io/posts/linux-image-size-optimization/</guid><description>&lt;p&gt;PetaLinux SDカードイメージの未使用領域を削減して、バックアップ時のイメージサイズを最適化する方法を説明します。&lt;/p&gt;</description></item><item><title>OpenSSHをバージョンアップしたら ssh 接続できなくなったときの対策</title><link>https://nagayasu-shinya.github.io/posts/openssh-rsa-key-compatibility-fix/</link><pubDate>Thu, 09 Feb 2023 02:26:29 +0900</pubDate><guid>https://nagayasu-shinya.github.io/posts/openssh-rsa-key-compatibility-fix/</guid><description>&lt;p&gt;&lt;code&gt;ssh&lt;/code&gt; で接続するとき、鍵は変更していないのに&lt;code&gt;Permission denied (publickey)&lt;/code&gt; というエラーがでることがあります。
ここではOpenSSH のバージョンが新しくなったことが原因の場合の解決法を説明します。&lt;/p&gt;</description></item><item><title>Proxy環境下でSSHでgit clone する</title><link>https://nagayasu-shinya.github.io/posts/git-ssh-proxy-tunnel/</link><pubDate>Mon, 30 Jan 2023 21:54:55 +0900</pubDate><guid>https://nagayasu-shinya.github.io/posts/git-ssh-proxy-tunnel/</guid><description>&lt;p&gt;プロキシ環境下でSSH経由の &lt;code&gt;git clone&lt;/code&gt; を行うための、&lt;code&gt;corkscrew&lt;/code&gt; を使ったSSHトンネルの設定方法を説明します。&lt;/p&gt;</description></item><item><title>git bundle でリモートリポジトリを使わずにコミットを共有する</title><link>https://nagayasu-shinya.github.io/posts/git-bundle-offline-sharing/</link><pubDate>Sun, 29 Jan 2023 19:34:12 +0900</pubDate><guid>https://nagayasu-shinya.github.io/posts/git-bundle-offline-sharing/</guid><description>&lt;p&gt;ネットワークなどの理由でサーバにアクセスできないときにGit のコミット情報を送るときに使える便利機能 &lt;code&gt;git bundle&lt;/code&gt;について説明します。&lt;/p&gt;</description></item><item><title>Docker の Proxy初期設定</title><link>https://nagayasu-shinya.github.io/posts/docker-proxy-configuration/</link><pubDate>Tue, 23 Aug 2022 23:32:18 +0900</pubDate><guid>https://nagayasu-shinya.github.io/posts/docker-proxy-configuration/</guid><description>&lt;p&gt;プロキシ環境下でDockerを使うための設定方法を、&lt;code&gt;apt&lt;/code&gt; &lt;code&gt;Docker&lt;/code&gt; デーモン・コンテナの3箇所に分けて説明します。&lt;/p&gt;</description></item><item><title>Ubuntuのデフォルトシェルをスクリプトから変更する</title><link>https://nagayasu-shinya.github.io/posts/ubuntu-default-shell-bash/</link><pubDate>Tue, 23 Aug 2022 22:52:46 +0900</pubDate><guid>https://nagayasu-shinya.github.io/posts/ubuntu-default-shell-bash/</guid><description>&lt;p&gt;Ubuntuではデフォルトでは &lt;code&gt;bash&lt;/code&gt; でなく &lt;code&gt;dash&lt;/code&gt; が使われています。
スクリプトから &lt;code&gt;bash&lt;/code&gt;に変更できる方法を説明します。&lt;/p&gt;</description></item><item><title>WSLをネットワークドライブに割り当てて便利に使う方法</title><link>https://nagayasu-shinya.github.io/posts/wsl-network-drive-mapping/</link><pubDate>Wed, 10 Aug 2022 01:04:39 +0900</pubDate><guid>https://nagayasu-shinya.github.io/posts/wsl-network-drive-mapping/</guid><description>&lt;p&gt;今回はWindowsからWSL上のファイルに便利にアクセスする方法を書きます。&lt;/p&gt;</description></item><item><title>新入社員のひとにおくるいろいろな小技</title><link>https://nagayasu-shinya.github.io/posts/new-employee-workplace-tips/</link><pubDate>Fri, 08 Apr 2022 00:33:08 +0900</pubDate><guid>https://nagayasu-shinya.github.io/posts/new-employee-workplace-tips/</guid><description>&lt;p&gt;４月になったので新社会人になったひとも多いかと思います。そういう人に向けて社会人歴１５年のおじさんがやっておいたほうがいいことを書き並べてみます。参考にしてみてください。&lt;/p&gt;</description></item><item><title>コマンド出力を色付きのまま保存する | ansi2html と unbuffer</title><link>https://nagayasu-shinya.github.io/posts/ansi-color-html-conversion/</link><pubDate>Wed, 30 Mar 2022 01:49:10 +0900</pubDate><guid>https://nagayasu-shinya.github.io/posts/ansi-color-html-conversion/</guid><description>&lt;p&gt;色付きのハイライトにて実行結果を表示するコマンドが多くありますが、その結果を色付きのままHTMLで保存する方法を説明します。&lt;/p&gt;</description></item><item><title>Jenkinsfile から bash の機能を使う</title><link>https://nagayasu-shinya.github.io/posts/jenkins-bash-shell-configuration/</link><pubDate>Thu, 10 Mar 2022 00:42:35 +0900</pubDate><guid>https://nagayasu-shinya.github.io/posts/jenkins-bash-shell-configuration/</guid><description>&lt;p&gt;jenkinsfile の &lt;code&gt;sh()&lt;/code&gt;は素の&lt;code&gt;sh&lt;/code&gt;なのでbashizmの機能が使えません。
そこで&lt;code&gt;sh&lt;/code&gt;ではなく&lt;code&gt;bash&lt;/code&gt;を使う方法を説明します。&lt;/p&gt;</description></item><item><title>シェルスクリプトの静的解析とステップ数をJenkinsで監視 | ShellCheck と Cloc</title><link>https://nagayasu-shinya.github.io/posts/jenkins-shell-analysis-pipeline/</link><pubDate>Sat, 05 Mar 2022 01:00:07 +0900</pubDate><guid>https://nagayasu-shinya.github.io/posts/jenkins-shell-analysis-pipeline/</guid><description>&lt;p&gt;ちょっとした作業ならシェルスクリプトで行うことも多いと思いますが大きくなるとメンテナンスが大変です。
そこで Jenkins にて静的解析ツールとステップ数計測ツールを実行する方法を説明します。&lt;/p&gt;</description></item><item><title>コードのステップ数計測ツール cloc</title><link>https://nagayasu-shinya.github.io/posts/code-line-counter-cloc/</link><pubDate>Thu, 03 Mar 2022 07:30:02 +0900</pubDate><guid>https://nagayasu-shinya.github.io/posts/code-line-counter-cloc/</guid><description>&lt;p&gt;ソースコードのステップ数を計測する便利ツール cloc を紹介します。&lt;/p&gt;</description></item><item><title>zip コマンドで効率的にバックアップ</title><link>https://nagayasu-shinya.github.io/posts/zip-backup-efficient/</link><pubDate>Fri, 25 Feb 2022 08:00:37 +0900</pubDate><guid>https://nagayasu-shinya.github.io/posts/zip-backup-efficient/</guid><description>&lt;p&gt;Linux の &lt;code&gt;zip&lt;/code&gt;コマンドはよく使われるコマンドであり、さまざまなオプションがあります。その中でファイルのバックアップに便利そうなオプションを今回は紹介します。&lt;/p&gt;</description></item></channel></rss>