Leftwards arrow ← : ←
Rightwards arrow → : →
Upwards arrow ↑ : ↑
Downwards arrow ↓ : ↓
Horizontal arrow ↔ : ↔
Source: w3s
Better At Coding Every Day
JS Tweaks
Thursday, August 17, 2017
HTML arrows
Friday, June 2, 2017
Java Arrays.deepToString()
Object[][] array = {{"a" , "b"}, new Object[][]{{1, 2}, {3, 4}}};
Arrays.deepToString(array);
// [[a, b], [[1, 2], [3, 4]]]
Monday, May 29, 2017
Zero padding and integer in bash
$ i=99
$ printf "%05d\n" $i
00099
$ printf -v abc "%05d\n" $i
$ echo $abc
00099
Execute a Windows cmd command from Cygwin
cygwin $ cmd /c start http://www.google.com
Open URL from windows command line
C:> start http://www.google.com
Thursday, May 18, 2017
Wednesday, May 17, 2017
Check memory slots
Occupied slots (example with 2 slots)
C:> wmic MEMORYCHIP get banklabel, capacity, caption, devicelocator, partnumber
BankLabel Capacity Caption DeviceLocator PartNumber
BANK 2 4294967296 Mémoire physique DIMM3 M378B5173EB0-YK0
BANK 0 4294967296 Mémoire physique DIMM1 M378B5173EB0-YK0
Total slots available (example with 2 total slots)
C:> wmic memphysical get MaxCapacity, MemoryDevices
MaxCapacity MemoryDevices
16777216 2
Subscribe to:
Posts (Atom)