SMART HDD mac os x

SDD

smartctl -a /dev/disk1 |less
=== START OF INFORMATION SECTION ===
Model Family:     Samsung based SSDs
Device Model:     Samsung SSD 840 EVO 120GB
Serial Number:    S1D5NSAF512477F
LU WWN Device Id: 5 002538 8a042503a
Firmware Version: EXT0BB6Q
User Capacity:    120,034,123,776 bytes [120 GB]
Sector Size:      512 bytes logical/physical
Rotation Rate:    Solid State Device
Device is:        In smartctl database [for details use: -P show]
ATA Version is:   ACS-2, ATA8-ACS T13/1699-D revision 4c
SATA Version is:  SATA 3.1, 6.0 Gb/s (current: 6.0 Gb/s)
Local Time is:    Wed May 30 07:37:08 2018 CEST
SMART support is: Available - device has SMART capability.
SMART support is: Enabled

SMART Attributes Data Structure revision number: 1
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME          FLAG     VALUE WORST THRESH TYPE      UPDATED  WHEN_FAILED RAW_VALUE
  5 Reallocated_Sector_Ct   0x0033   100   100   010    Pre-fail  Always       -       0
  9 Power_On_Hours          0x0032   093   093   000    Old_age   Always       -       32676
 12 Power_Cycle_Count       0x0032   099   099   000    Old_age   Always       -       461
177 Wear_Leveling_Count     0x0013   001   001   000    Pre-fail  Always       -       1236
179 Used_Rsvd_Blk_Cnt_Tot   0x0013   100   100   010    Pre-fail  Always       -       0
181 Program_Fail_Cnt_Total  0x0032   100   100   010    Old_age   Always       -       0
182 Erase_Fail_Count_Total  0x0032   100   100   010    Old_age   Always       -       0
183 Runtime_Bad_Block       0x0013   100   100   010    Pre-fail  Always       -       0
187 Uncorrectable_Error_Cnt 0x0032   100   100   000    Old_age   Always       -       0
190 Airflow_Temperature_Cel 0x0032   057   045   000    Old_age   Always       -       43
195 ECC_Error_Rate          0x001a   200   200   000    Old_age   Always       -       0
199 CRC_Error_Count         0x003e   100   100   000    Old_age   Always       -       0
235 POR_Recovery_Count      0x0012   099   099   000    Old_age   Always       -       416
241 Total_LBAs_Written      0x0032   099   099   000    Old_age   Always       -       165571405498



brew install smartmontools




https://www.linuxtechi.com/smartctl-monitoring-analysis-tool-hard-drive/

Offline google docs

Použití je možné jenom v Google Chrome.

I když se mi ve Vivaldim podařilo zaškrtnout, nebyl jsem to po nějakém úkonu schopen zopakovat.


https://www.pcmag.com/article2/0,2817,2486399,00.asp

VS Code

18.10.2018
10 základních tipů na používání VS Code

17.7.2018

Párové úvozovky

(Closing/paired brackets)
Ctrl + Shift + |
---
7.5.2018 - Testuji VS Code

Zatím s láskou vzpomínám na atom a jeho doplňování uvozovek

Pluginy:

  • vscodevim.vim
  • JavaScript (ES6) code snippets
  • open in browser
  • vetur
  • vue 2 snippets
  • eslint
    • npm install -g eslint
    • npm install --save-dev eslint eslint-plugin-vue
  • openHAB


Porovnání 2016

Eslint

sudo npm install eslint eslint-config-standard eslint-plugin-import eslint-plugin-node eslint-plugin-promise eslint-plugin-standard -g

sudo npm install eslint eslint-config-standard eslint-plugin-import eslint-plugin-node eslint-plugin-promise eslint-plugin-standard eslint-config-prettier -g

main.js

Na řádek s definicí Vue přidat toto: // eslint-disable-line no-new

new Vue({ // eslint-disable-line no-new
  el: '#app',
  render: h => h(App)
})


Server Side Rendering - Next

The Benefits of Server Side Rendering Over Client Side Rendering