-
some text
now lets try a table as well second col just so we cross the line limit, cuz 1 Yes -
some other text
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
PIA's linux installer is not utilizing packages. Supposed to be run as non root with sudo prompts. | |
There might be a better way to do this. | |
THis script mocks few executables while running PIAs installer and then feeds data to FPM to build an RPM. | |
Probably could use more error checking and code cleanup. |
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
#!/usr/bin/env bash | |
# | |
# LinCastor Helper for launching microsoft remote desktop on OSX from commandline | |
# | |
# Executed with lincastor (https://onflapp.wordpress.com/lincastor/) | |
# Lincastor RDP config: | |
# - title: RDP | |
# - choose one of the handlers: shell | |
# - shell body: exec ~/bin/rdp_launcher.sh | |
# |
Why? So it runs even if not logged in
Prereq:
- Download and install dropbox (packages from https://www.dropbox.com/install?os=lnx)
- Run
dropboxd
once in your terminal (you will see a URL to paste to your browser where already logged in so that you can link this new machine). After linking is succesful - kill with -
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
# Test for when expression has GLOB characters | |
$ ls -l | |
total 8 | |
-rw-r--r-- 1 nhed wheel 0 Dec 21 19:29 a | |
-rw-r--r-- 1 nhed wheel 0 Dec 21 19:29 b | |
-rw-r--r-- 1 nhed wheel 0 Dec 21 19:29 c | |
-rw-r--r-- 1 nhed wheel 0 Dec 21 19:29 d | |
-rw-r--r-- 1 nhed wheel 2 Dec 21 19:30 x.txt |
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
#!/bin/bash | |
# based on http://stackoverflow.com/a/18647857/652904 | |
declare PROGNAME="${0}" | |
function Usage() | |
{ | |
local -i EXITCODE=${1}; shift | |
echo "${@}" >&2 |