Skip to content

Instantly share code, notes, and snippets.

rucksack recipes

Commandlets/snippets for https://github.com/acritelli/rucksack.

check-ssl-info

Check remote certificate information, including issuer, subject, SAN DNS entries and validity dates.

  • requires openssl (tested with OpenSSL 1.1.1l FIPS 24 Aug 2021)
check-ssl-info:
  command: 'echo | openssl s_client -no_ign_eof -servername {{ server_name }} -connect {{ server_name }}:443 2>/dev/null | openssl x509 -noout -text -dates| grep -e Issuer: -e notBefore -e notAfter -e Subject: -e DNS: | sed "s/^ *//g; s/ DNS:/ /g; s/DNS:/DNS: /; s/\(not.*\)=/\1: /"'
@str8edgedave
str8edgedave / macos-vbox.md
Last active December 21, 2021 21:01
Auto-starting VirtualBox VMs on MacOS High Sierra

Auto-starting VirtualBox VMs on MacOS High Sierra

Updated May 21/2018

There are lots of different how-tos out there for automatically launching VMs using VirtualBox on MacOS. Most of them focus on older versions of VirtualBox or old versions of MacOS.

Tested using MacOS High Sierra 10.13.4 running VirtualBox 5.2.12. The guest OS is Fedora 28.

Following the instructions on the VirtualBox website (https://www.virtualbox.org/manual/ch09.html#autostart), copy the Virtualbox autostart plist template file to your system's LaunchDaemons folder.

david$ sudo cp \

@str8edgedave
str8edgedave / keybase.md
Created November 10, 2017 17:14
keybase.io

Keybase proof

I hereby claim:

  • I am str8edgedave on github.
  • I am str8edgedave (https://keybase.io/str8edgedave) on keybase.
  • I have a public key ASD1jEGUGHzalZtqairABsmlKkJKAWqpg-augmQcoq4m2Ao

To claim this, I am signing this object:

@str8edgedave
str8edgedave / autoauth.md
Last active August 8, 2017 20:55
Auto Authentication with https and github

Auto Authentication

# Please adapt and uncomment the following lines:
  name = <Your Full Name>
  email = <your email address
  password = <token>
[credential]
  helper = cache --timeout=1800
@str8edgedave
str8edgedave / rtl8723be _resume.md
Last active August 1, 2017 19:08
RTLS8723be resume after suspend

Create a systemd service file: /etc/systemd/system/net-resume.service

[Unit]
Description=Local system resume actions
After=suspend.target
[Service]
Type=oneshot
ExecStart=/bin/systemctl restart network-manager.service
[Install]
@str8edgedave
str8edgedave / Windows10_Linux.md
Last active July 31, 2017 20:41
Configuring Windows 10 to dual Boot with Linux

Windows 10 and Fedora Dual Boot

Windows 10 setup.

  1. Setup as normal, do not enable Wi-Fi or patch.
  2. Boot Windows and configure as normal.
  3. Once at Windows 10 Desktop:
    1. Disable hibernation and Fast startup. To Disable hybernation, right-click on the Wondows 10 start menu, and choose Windows PowerShell (Admin).
    2. In PowerShell run: powercfg /h off
    3. Exit PowerShell (use exit)

If you This is a new installation, you may not need to disable fast startup, jump to Shutdown the machine completely.

@str8edgedave
str8edgedave / gdm.md
Last active July 27, 2017 21:01
set gdm login screen

This is a mess, and not "ready for production"

  • I dont' test my code, but when I do, I do it in production.

Follow this steps ( all as root,please be careful )

sudo nautilus /usr/share/gnome-shell/theme make a copy of the file "noise-texture.png" this is the background file in the GDM now copy "your image.png" to /usr/share/gnome-shell/theme erase the file "noise-texture.png" rename your "image.png" to "noise-texture.png"

@str8edgedave
str8edgedave / resume.md
Last active July 23, 2017 22:51
Resume for David Yaffe

David A. Yaffe, RHCSA

dyaffe at gmail.com


QUALIFICATIONS & TECHNICAL SKILLS

  • Red Hat Certified System Administrator Openstack (100-058-973)
  • RHCSA (RHEL 6)
  • RHCT & RHCE (RHEL 5)
  • Scripting with sh, bash, python, php, awk