I hereby claim:
- I am anthonyclarka2 on github.
- I am anthonyclarka2 (https://keybase.io/anthonyclarka2) on keybase.
- I have a public key ASAk4XwYIOY8dzUKXPCH6JyN1lsw8R1TpivP3UmwH_tqowo
To claim this, I am signing this object:
HANDY ONE-LINE SCRIPTS FOR AWK 30 April 2008 | |
Compiled by Eric Pement - eric [at] pement.org version 0.27 | |
Latest version of this file (in English) is usually at: | |
http://www.pement.org/awk/awk1line.txt | |
This file will also be available in other languages: | |
Chinese - http://ximix.org/translation/awk1line_zh-CN.txt | |
USAGE: |
2019-02-03 12:04:14,643 DEBUG livemedia-creator: Namespace(anaconda_args=None, app_file='appliance.xml', app_name=None, app_template=None, arch=None, armplatform=None, compress_args=[], compression='xz', disk_image=None, domacboot=True, dracut_args=None, fs_image=None, fs_label='Anaconda', image_name='centos-7-docker.tar.xz', image_only=False, image_type=None, iso='/tmp/boot.iso', iso_name=None, iso_only=False, keep_image=False, kernel_args=None, ks=['/tmp/centos7.ks'], live_rootfs_keep_size=False, live_rootfs_size=0, location=None, logfile='/tmp/livemedia.log', lorax_templates=None, make_ami=False, make_appliance=False, make_disk=False, make_fsimage=False, make_iso=False, make_oci=False, make_ostree_live=False, make_pxe_live=False, make_tar=True, make_vagrant=False, no_kvm=False, no_virt=False, oci_config=None, oci_runtime=None, ovmf_path='/usr/share/edk2/ovmf/', project='Linux', proxy=None, qcow2=False, qemu_args=[], ram=2048, releasever='29', result_dir=None, squashfs_args=None, timeout=None, title='Linux |
Running... mount -o loop /tmp/boot.iso /var/tmp/lorax.imgutils.ey1yb62_ | |
mount: /var/tmp/lorax.imgutils.ey1yb62_: WARNING: device write-protected, mounted read-only. | |
Return code: 0 | |
Running... isoinfo -d -i /tmp/boot.iso | |
CD-ROM is in ISO 9660 format | |
System id: LINUX | |
Volume id: CentOS 7 x86_64 | |
Volume set id: | |
Publisher id: | |
Data preparer id: |
17:08:26,899 WARNING systemd:Cannot add dependency job for unit rhel-autorelabel.service, ignoring: Unit is masked. | |
17:08:26,943 WARNING systemd:Cannot add dependency job for unit systemd-tmpfiles-clean.timer, ignoring: Unit is masked. | |
17:08:26,959 INFO rsyslogd: [origin software="rsyslogd" swVersion="8.24.0-34.el7" x-pid="3657" x-info="http://www.rsyslog.com"] exiting on signal 15. | |
17:08:26,979 INFO systemd:Stopping System Logging Service... | |
17:08:27,010 INFO systemd:Stopped System Logging Service. | |
17:08:27,101 INFO systemd:Starting System Logging Service... | |
17:08:27,492 INFO rsyslogd: [origin software="rsyslogd" swVersion="8.24.0-34.el7" x-pid="3735" x-info="http://www.rsyslog.com"] start | |
17:08:27,496 NOTICE kernel:type=1400 audit(1549213707.489:13): avc: denied { read } for pid=3735 comm="in:imjournal" name="imjournal.state" dev="dm-0" ino=679 scontext=system_u:system_r:syslogd_t:s0 tcontext=system_u:object_r:root_t:s0 tclass=file permissive=1 | |
17:08:27,537 INFO systemd:Started System Logging Service. | |
17 |
#!/usr/bin/env bash | |
( | |
while ((1)); do | |
gcloud --format=json compute instances list --filter="name~'nlp-workers-.*'" | \ | |
jq -rc '.[]|select(.status=="RUNNING").name' > workers.hosts.txt | |
sleep 30s | |
done | |
) & # (or, just run this watcher in a separate script) |
;; global variables | |
(setq | |
inhibit-startup-screen t | |
create-lockfiles nil | |
make-backup-files nil | |
column-number-mode t | |
scroll-error-top-bottom t | |
show-paren-delay 0.5 | |
use-package-always-ensure t | |
sentence-end-double-space nil) |
I hereby claim:
To claim this, I am signing this object:
default['sshd']['sshd_config']['AuthenticationMethods'] = 'publickey,keyboard-interactive:pam' | |
default['sshd']['sshd_config']['ChallengeResponseAuthentication'] = 'yes' | |
default['sshd']['sshd_config']['PasswordAuthentication'] = 'no' |
#!/bin/sh | |
# Enhanced backup script | |
# Sends messages to Zabbix based on exit code of borg executable | |
# | |
# anthonyclark AT G MAIL | |
# Shellcheck will still kvetch at you if notices are enabled | |
# | |
# This script will not work AS-IS but is only provided as such | |
# NO WARRANTIES | |
# This work is licensed under a Creative Commons Attribution 4.0 International License. |
ilikepi 1 hour ago | unvote [-] | |
It's not to hard to extract the app bundle from the .pkg file. This is how I've always installed it. Do this from an empty directory, though, since it will just spray files everywhere... | |
* Use `xar` to extract the contents of the .pkg file: | |
$ xar -xf Zoom.pkg | |
* Use `cpio` to extract the payload, which is in a file oddly named "Scripts": |