$ sudo apt-get install smartmontools
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;============================================================================= | |
; File: AutoHotkey.ahk | |
; Author: Mattia72 | |
; Description: Automatically launched AHK script | |
; Created: 28 okt. 2015 | |
; Project Repo: https://gist.github.com/f422d965d2dcd6db3bbf.git | |
;============================================================================= | |
; This script has a special filename and path because it is automatically | |
; launched when you run the program directly. Also, any text file whose |
If your vim distribution uses vim-plug
and includes plugins you don't want, or if you want to simply maintain a single set of plugins but disable some on certain machines, this may be for you.
let g:plugs_disabled = []
function! plug_disable#commit()
for name in g:plugs_disabled
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// uses System, Variants | |
function IsEmptyOrNull(const Value: Variant): Boolean; | |
begin | |
Result := VarIsClear(Value) or VarIsEmpty(Value) or VarIsNull(Value) or (VarCompareValue(Value, Unassigned) = vrEqual); | |
if (not Result) and VarIsStr(Value) then | |
Result := Value = ''; | |
end; |