To run in a given container:
export C={container name} && curl https://gist.githubusercontent.com/Fusion/a81a6b5c90e40846e2f9f5ab03d41bc0/raw/sshon | bash
echo | openssl s_client -connect {domain}:443 2>/dev/null | openssl x509 -text |
#!/bin/bash | |
pos=() | |
while [[ $# -gt 0 ]]; do | |
case "$1" in | |
-h) | |
echo "Syntax: $0 [-o <file name>][-O] URL" | |
exit 0 | |
;; | |
-o) |
To run in a given container:
export C={container name} && curl https://gist.githubusercontent.com/Fusion/a81a6b5c90e40846e2f9f5ab03d41bc0/raw/sshon | bash
#r "C:\Program Files\workspacer\workspacer.Shared.dll" | |
#r "C:\Program Files\workspacer\plugins\workspacer.Bar\workspacer.Bar.dll" | |
#r "C:\Program Files\workspacer\plugins\workspacer.ActionMenu\workspacer.ActionMenu.dll" | |
#r "C:\Program Files\workspacer\plugins\workspacer.FocusIndicator\workspacer.FocusIndicator.dll" | |
using System; | |
using workspacer; | |
using workspacer.Bar; | |
using workspacer.ActionMenu; | |
using workspacer.FocusIndicator; |
[redis] | |
host = "192.168.1.218" | |
port = 6379 | |
password = "PASSWORD" | |
[excel] | |
workbook = "Daily.xlsx" |
Verifying my Blockstack ID is secured with the address 16hJTdGrk2Re3THokXHXi4oJZj1TeNUeHk https://explorer.blockstack.org/address/16hJTdGrk2Re3THokXHXi4oJZj1TeNUeHk |
#!/bin/bash | |
# Setting up nix in a container. | |
# While build users are created, this is a stadanlone, | |
# no daemon required, install. | |
# nix is touchy that way. | |
groupadd -r nixbld | |
for n in $(seq 1 10); do | |
useradd -c "Nix build user $n" \ |
def history(numlines = -1): | |
import readline | |
total = readline.get_current_history_length() | |
if numlines == -1: | |
numlines = total | |
if numlines > 0: | |
for i in range(total - numlines + 1, total + 1): | |
print("%3d %s" % (i, readline.get_history_item(i))) | |
def bang(linenum = -1): |
(let [[jirafilepath tempofilepath mergedfilepath] *command-line-args*] | |
(when (or (empty? jirafilepath) | |
(empty? tempofilepath) | |
(empty? mergedfilepath)) | |
(println | |
"Please provide path to {jira export file} {temport export file} {merged file}") | |
(System/exit 1)) | |
(with-open [reader (io/reader jirafilepath)] | |
(let [csv-data (csv/read-csv reader)] |
tell application "System Preferences" | |
reveal pane id "com.apple.preferences.Bluetooth" | |
activate | |
tell application "System Events" to tell process "System Preferences" | |
display notification "Turning Bluetooth off and then back on." with title "Bluetooth" subtitle "Hopefully this fixes any keyboard issue." sound name "Frog" | |
click button "Turn Bluetooth Off" of window "Bluetooth" of application process "System Preferences" of application "System Events" | |
delay 5 | |
click button "Turn Bluetooth On" of window "Bluetooth" of application process "System Preferences" of application "System Events" | |
end tell | |
quit |