my-sh's Introduction
my-sh's People
my-sh's Issues
fcitxの設定ファイルが再起動後の新しいファイルに上書きされている為,設定が反映されていない
インストールスクリプトにfcitxのインストールと設定ファイルの設置動作を入れているため、
インストールした後の再起動で設定ファイルが新たに作成されてしまい、既存のファイルが上書きされている.
気安くmain branchを触らない
概要
branch管理をし始めたばかりなのでちょっとした修正をwebのgithubからしてしまいコミットしてしまう
なぜダメなのか
develop branchで修正途中のものをwebのmain branchで修正するとコンフリクトが発生し極めで無駄な作業が増えることになる.
どうするべきか
有限の時間を有意義に使うためにも今後のgit管理の指標、指針が必要になると思われる
設定参考
shell設定
chsh -s $(which zsh)
https://askubuntu.com/questions/131823/how-to-make-zsh-the-default-shell
設定後に再起動が必須でした(raspberryPiOSとmintOSで確認済み)
vscode の設定を自動化
インストールスクリプトでvscodeの設定を完了させる
ネットワーク設定とGithubアカウントを入力させる形式にしたい
現状、スクリプト内に記述した設定が反映されるため
今後、ユーザーに対話形式で設定内容を入力させたい
再度実行した場合に設定できる項目を選べるようにする
概要
現在途中で失敗した場合において再度実行すると、既に設定していた項目を再度実行してしまうことになる。
そのため、実行する箇所を選ぶ形にするか何かをトリガーにし、既に実行されている箇所を判別する必要があると考える
しっかりとしたファイルの説明や整理を実行
概要
はじめはRaspberryPiOS専用で考えていたが、他のLinux ディストリビューションの設定にも応用したい
何が起きたのか
Linux Mintでスクリプトを動かそうとした、だがRaspberryPiOS向けのシェルスクリプトのメンテナンスはされていたが、ここのスクリプトはREADME.mdがきちんと整理されていなかった。
結果的にワンライナーの様には行かず、再度調べるという手戻りが発生した。
どうしたいのか
- シンプルに管理をしたい。
- 調べるという手戻りを発生させたくない
- できれば一つのスクリプトで all for one なものにしたい
どうすればいいのか
- しっかりとしたREADME.mdを作成する
- 個々のシェルスクリプトと設定ファイルはモジュール化しメンテナンス性を高める構造にする
- 一区切りで失敗したとしても止まらない設定にし、最後に失敗した箇所をログファイルとしてDesktopに出力する
- ディレクトリ名が英字(Desktop)と日本語(デスクトップ)が存在することを念頭に入れた上で開発をする
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.