My Tech Notes
Java: check if a String contains only ASCII
›
import java.nio.charset.Charset; public boolean isAscii(String v) { Charset.forName("US-ASCII").newEncoder().canEncode(v); }
Eclipse: Disable auto escaping when pasting
›
In the preferences menu deselect: Java > Editor > Typing > Escape text when pasting into a string literal Disable smart inser...
Shell scripts to count files and sum up file sizes
›
Fix Windows 10 Update KB5034441 Error 0x80070643
›
The reason KB5034441 failed to install with error 0x80070643 is that there is not sufficient space in WinRE recovery partition. The soluti...
Compress sparse files preserving their holes
›
use -S option for tar tar -Sczvf sparse_file.tar.gz sparse_file
›
Home
View web version