I hereby claim:
- I am jps3 on github.
- I am jps3 (https://keybase.io/jps3) on keybase.
- I have a public key ASClk_9KO9x3CB1gDMgbQEemdF5zq47-JcQ2c-nV4dfghQo
To claim this, I am signing this object:
function tv () { | |
if (which tvservice fbset xrefresh 2>/dev/null); then | |
case "${1}" in | |
off|OFF|Off|0) | |
tvservice -o | |
;; | |
on|ON|On|1) | |
tvservice -p | |
fbset -depth 8 | |
fbset -depth 16 |
I hereby claim:
To claim this, I am signing this object:
#!/bin/sed -Ef | |
# Adoption of nega0's gist as a standalone sed script | |
# https://gist.github.com/nega0/1d232622a1fa3dad176869bbfe747602 | |
# | |
# Usage: | |
# | |
# $ sudo iptables --line-numbers -nL | ./iptables-colorize.sed | |
# |
#!/bin/sh -e | |
# | |
# This was tested with Debian Linux 8 and 9 | |
# | |
# (The arguments for the `last` command will not work with macOS/Darwin) | |
# | |
# $ last -adFi | |
# jps3 pts/0 Sun Dec 2 18:55:37 2018 still logged in 172.16.2.70 | |
# XXXXXX pts/0 Sun Dec 2 17:23:21 2018 - Sun Dec 2 17:25:29 2018 (00:02) 10.10.219.245 |
function jamf_query_computer () { | |
name="${1:-myjamfcomputer}"; | |
curl -X GET -sL -H 'Accept: application/json' --user "${JAMF_API_ROUSER}:${JAMF_API_PASSWORD}" https://${JAMF_INSTANCE}.jamfcloud.com/JSSResource/computers/match/${name} | |
} | |
jamf_query_computer_pretty () { | |
jamf_query_computer $* | jq -C . | |
} |
#!/bin/bash | |
# Used with chilcote/outset | |
# /usr/local/outset/login-privileged-every/force_ricoh_ri_100_reset.sh | |
PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin | |
PRINTER="RICOH_Ri_100" | |
logger -is "[$0] Cancelling all jobs for \"${PRINTER}\"" |
{ | |
"a": { | |
"b": { | |
"key_1": "value_1" | |
} | |
}, | |
"e": { | |
"b": { | |
"key_3": "value_3" | |
} |
Vagrant.configure("2") do |config| | |
config.vm.define "win10-adobecc" do |win| | |
win.vm.box = "eval-win10x64-enterprise-ssh-saltlatest" | |
win.vm.hostname = "win10-adobecc" | |
win.vm.provider "vmware_desktop" do |v| | |
v.vmx["memsize"] = "2048" | |
v.vmx["numvcpus"] = "2" | |
v.gui = true | |
end |
#!/bin/bash | |
# | |
# Checks whether Guest account is enabled and echoes status in | |
# Jamf Computer Extension Attribute format. | |
# | |
# Will return Enabled or Disabled. | |
# | |
PATH=/usr/bin |
#!/bin/bash | |
# | |
# Uses Spotlight to identify whether an Application Jamf Admin.app is installed | |
# (does not assume in /Applications/Jamf Pro/). | |
# If detected a Jamf inventory update is kicked off. | |
# | |
# | |
PATH=/usr/bin |