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
# Seen on https://unix.stackexchange.com/a/19048/39456 | |
# https://pastebin.com/raw/EU23iAvL | |
## preserve tabulation, or you shall die!!111 ## | |
objdump -d -Mintel -j .text "$@" >111.tmp | |
( | |
echo -n 'cpuid: '; grep -cwF ' cpuid' 111.tmp | |
echo -n 'nop: '; grep -cwF ' nop' 111.tmp |
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 | |
url=$(curl -sL https://www.packer.io/downloads.html | \ | |
awk '$0~/<a.*packer_.*_linux_amd64.zip/{gsub(/.*href="/,"");gsub(/".*/,"");print $0;exit}') | |
curl -sSL $url | funzip > /usr/local/bin/packer | |
exit 0 |
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/bash | |
curl -sSL \ | |
$(curl -s https://api.github.com/repos/openshift/origin/releases/latest | \ | |
jq -r '.assets[] | select(.name | test("openshift-origin-client-tools.*linux")) | .browser_download_url') | \ | |
tar -C /usr/local/bin/ --strip-components=1 -xz */oc | |
exit 0 |
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
class TarSnap < FPM::Cookery::Recipe | |
source 'https://www.tarsnap.com/download/tarsnap-autoconf-1.0.36.1.tgz' | |
homepage 'https://www.tarsnap.com/' | |
# Verify the signed SHA256 hash file from | |
# https://www.tarsnap.com/download/tarsnap-sigs-1.0.36.1.asc | |
sha256 'a2909e01e2f983179d63ef2094c42102c92c716032864e66ef25ae341ea28690' | |
name 'tarsnap' | |
version '1.0.36.1' | |
license 'Tarsnap License' | |
section 'tools' |
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
https://github.com/gitblit/gitblit | |
https://github.com/osTicket/osTicket-1.8 | |
https://github.com/mstrap/bugtraq | |
See also https://github.com/gitblit/gitblit/blob/master/.gitbugtraq | |
[bugtraq "osticket"] | |
url = "https://osticket.company.com/scp/tickets.php?id=%BUGID%#" | |
loglinkregex = "\\[OSTicket\\]\\s*\\d+" | |
logregex = "\\d+" |