Powershell備忘録+GitHubに慣れるためのリポジトリ
powershelltips's Introduction
powershelltips's People
powershelltips's Issues
モジュールのクラス読み込み駆動の検証
モジュールのクラス読み込みの検証
Powershellモジュールのクラス読み込みの挙動を検証する。
動機
モジュールファイルに関数、クラス定義を読み込んでく際、読み込み順序で挙動が変わるのか確認したくなった。
マニュフェストファイルで制御しない場合、依存クラスを読み込んでから利用するコードを読むようにしたら良い?
背景
モジュールでクラスを定義するとき、読み込みが上手くいく場合と失敗する場合の違いがよく分かってなかった。
現状は入れ子のモジュールを定義してお茶を濁している。
これをなんとかしたい。
vscode-pester-test-adapterへの対応
tylerleonhardt.vscode-pester-test-adapterへの対応
Powershell + PesterもVScodeのTest Exploreに対応🎉
ただし、現状ではファイル名、テスト名を日本語にすると文字化けする
なので英語に修正
※将来文字化けしなくなったら日本語に戻すかも
非同期処理まとめ
Powershellの非同期をまとめる
リスト
- 非同期っぽいもの
- .NETの非同期分類
- Powershellの非同期の分類
- それぞれについて
- スクリプトブロック
&
演算子- 遅延バインディング
- バックグラウンドジョブ
- イベント
- スレッドジョブ
[Delegate]
ToDo
記事
- レイアウト決定
- 執筆
サンプルコード
-
FileSystemWatcher
- Windows版
- Linux版
-
スクリプトブロック、遅延バインディングなど
- 良い題材探し
- リスト作成
PInvoke without C#
PowershellからAdd-Type無しでPInvokeする方法をまとめる
ArchLinuxにPowershellをインストール
Arch Linux(WSL2)にPowershellをインストールする手順
- アウトライン
- 手順
- 環境、使用ツール
- コード、設定ファイル
- 補足、ハマったところなど
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.