// Lib.js
(function() {
var Lib = {};
var edt = Editor;
var NORMAL = 'Normal';
var VISUAL = 'Visual';
var SELECT = 'Select';
var INSERT = 'Insert';
var CMDLINE = 'Cmdline';
This file contains hidden or 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
#!/usr/bin/env bash | |
# this script save my setup steps | |
# tested on Ubuntu 20.04 | |
if [ "$UID" -ne 0 ]; then | |
echo "you are not root, you cannot execute this script!!!" | |
exit 1 | |
fi |
This file contains hidden or 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
"use strict"; | |
// Objects | |
wsh = WScript.createObject("WScript.Shell"); | |
// Variables | |
var shellPath, opt, arg; | |
var extension; | |
arg = WScript.Arguments.Item(0); | |
extension = arg.split(".").slice(-1); |