PowerShell はじめました。
プロファイル
環境変数 $profile に定義されているファイルが .bash_profile のような扱い。
エイリアス
Set-Alias vscode "$HOME\AppData\Local\Programs\Microsoft VS Code\Code.exe"
コマンドオプション付きのエイリアスは作れない。 代わりにファンクションを使う。
function node {
docker run -it --rm --mount "type=bind,src=$PWD,dst=/usr/src/myapp" -w /usr/src/myapp node $Args
}
成功時のみ次のコマンドを実行する
cd service if (-not $?) { exit } mvn clean package if (-not $?) { exit }
&& での連結はできない。
VALORANTはじめました。
止まってヘッドショットを狙う。 マップの赤いところに誰かいる。
ブルースクリーン MEMORY_MANAGEMENT
ブルースクリーン
問題が発生したため、PCを再起動する必要があります。 MEMORY_MANAGEMENT
原因を調べる
Windows メモリ診断
コンピューターにメモリの問題があります。
MemTest86
MemTest86 - Official Site of the x86 Memory Testing Tool
Test has aborted due to too many errors
Error が1万件を超えたため、中断されました。
メモリー買い替え
Crucial 32GB Kit (2 x 16GB) DDR4-2666 UDIMM | CT2K16G4DFD8266 | Crucial JA
ウィンドウを左右に並べて表示
ウィンドウが2つ♪
ウィンドウが4つ♪
ウィンドウが6つ♪
思っていた並び方と違う。。セーフモードでお試ししても同じ。。
Ask the Microsoft Community.
As seen in the video when you select the option Show window side by side the windows are getting arranged on the left hand side of the desktop window and that feature in Windows 10 is by default.
そういうもんだよ、と。
Windows 10 ではスナップとか、複数のデスクトップを使ってウィンドウを整理するのがオススメみたい。 support.microsoft.com
英語の勉強はじめました。
選択と集中。語学は筋トレ。相手が言わんとしていることを理解することが大事。
https://www.youtube.com/watch?v=d0yGdNEWdn0
Rapid Language Acquisition.
Information that helps survival has relevance.
Information that helps achieve Personal Goals has relevance.
- Principle #1: Focus on language content that is relevant to you. Language is tool.
- Principle #2: Use your New Language as a Tool to Communicate From Day 1.
- Principle #3: When you first UNDERSTAND the MESSAGE then you will unconsciously ACQUIRE the Language. Comprehension is KEY.
- Principle #4: Physiological Training.
Principle #5: Psycho-Physiological STATE Matters.
Action #1: Listen a lot.
- Action #2: Focus on getting the meaning FIRST even before the words. Use body language.
- Action #3: Start Mixing. 10 Verbs * 10 Nouns * 10 Adjectives = 1000 Possible Phrases. Language is creative Process.
- Action #4: Focus on the core. 3000 words gives 98% Coverage.
- Action #5: Get a Language Parent.
- Action #6: Copy the Face.
- Action #7: Direct Connect to Mental Images.
Java5界から脱出した私のためのJava8紹介
Java Programming Language
- Lambda Expressions
- lambda解禁
- () -> {}
- Method references provide easy-to-read lambda expressions for methods that already have a name.
- メソッドを参照渡しできる
- HashSet::new
- Default methods enable new functionality to be added to the interfaces of libraries and ensure binary compatibility with code written for older versions of those interfaces.
- interfaceにdefaultで使用される実装を書ける
- Method parameter reflection.
- メソッドのパラメーター名を取得できる
Collections
- java.util.stream
- map-reduce
- Performance Improvement for HashMaps with Key Collisions
Security
- Client-side TLS 1.2 enabled by default
Tools
- The jdeps command-line tool is provided for analyzing class files.
- The new jdeps command-line tool allows the developer to analyze class files to determine package-level or class-level dependencies.
Internationalization
- Unicode 6.2.0
Scripting
- The Rhino javascript engine has been replaced with the Nashorn Javascript Engine
java.lang and java.util Packages
- Parallel Array Sorting
- java.util.Arrays.parallelSort()
Java Date-Time Packages
java.util.Optional
Java5界から脱出した私のためのJava7紹介
Java SE 7 Features and Enhancements
- IO and New IO
- Internationalization
- Unicode 6.0.0
- java.lang Package
- Multithreaded Custom Class Loaders in Java SE 7
- Java Programming Language
- Binary Literals
- 0b
- (byte)0b00100001
- Strings in switch Statements
- case に String を取れる!
- case "Monday":
- The try-with-resources Statement
- Closableを実装しているクラスを自動でCloseしてくれる構文
- try (BufferedReader br = new BufferedReader(new FileReader(path))) {
- Catching Multiple Exception Types and Rethrowing Exceptions with Improved Type Checking
- 複数の例外を一発キャッチ
- catch (IOException|SQLException ex) {
- 複数の例外を一発キャッチ
- Underscores in Numeric Literals
- 3.14_15F
- Type Inference for Generic Instance Creation
- 右辺のジェネリックスを省略できる
- Map <String、List
> myMap = new HashMap <>();
- Binary Literals
- java.util.Objects