Skip to content

Instantly share code, notes, and snippets.

Avatar

Brady Shea bmatthewshea

View GitHub Profile
@bmatthewshea
bmatthewshea / show_ssl_expire
Last active March 1, 2023 22:13
Retrieve/Check SSL certificate expiration date(s)
View show_ssl_expire
#!/bin/bash
# By B Shea Dec2018 & Mar2020
# https://www.holylinux.net
# Test for OpenSSL - if not installed stop here.
if ! [[ -x $(which openssl) ]]; then
printf "\nOpenSSL not found or not executable.\nPlease install OpenSSL before proceeding.\n\n"
exit 1
fi
@xbb
xbb / README
Last active March 7, 2023 10:37
IDRAC6 Virtual Console Launcher
View README
Use this as an example on how to start the virtual console without the need of Java Web Start or accessing it from the web interface.
You can use the user and password that you use for the web interface.
You need an old JRE... I used 1.7.0_80 from the Server JRE package, also I have tested successfully 1.7.0_79 with MacOS.
You don't need to install it, just extract it or copy the files in "jre" folder.
Open the viewer.jnlp file that you get by launching the virtual console from the web interface with a text editor.
Note the urls to the jar files. Download the main jar file avctKVM.jar and the libs for your operating system and architecture.
Extract the dlls (.so Linux, .jnilib MacOS) from the jar libs.
@bmatthewshea
bmatthewshea / startexe.cmd
Last active September 12, 2015 17:10
superuser.com/q/972076/47628
View startexe.cmd
@echo off
start "Notepad" "C:\Windows\system32\notepad.exe"
start "Skype" "C:\Program Files (x86)\Skype\Phone\Skype"
start "Firefox CNN" "%programfiles(x86)%\Mozilla Firefox\Firefox.exe" "http://www.cnn.com/"
start "CMD Start Help" "cmd start /?"
@frimik
frimik / mediatomb-samsung.xml
Created January 17, 2012 15:07
Mediatomb configuration for Samsung TV
View mediatomb-samsung.xml
<custom-http-headers>
<!-- Samsung needs it -->
<add header="transferMode.dlna.org: Streaming"/>
<add header="contentFeatures.dlna.org: DLNA.ORG_OP=01;DLNA.ORG_CI=0;DLNA.ORG_FLAGS=01500000000000000000000000000000"/>
</custom-http-headers>