Skip to content

Instantly share code, notes, and snippets.

View SilverJan's full-sized avatar

jbi SilverJan

View GitHub Profile
SilverJan /
Last active April 3, 2024 13:49
Bootstrap Studio setup on Ubuntu/Linux incl. desktop file (app launcher)
# step 1) download binary
sudo su
mkdir -p /opt/bootstrapstudio
cd /opt/bootstrapstudio
# get latest link from
wget -O bootstrapstudio.AppImage
chmod +x *.AppImage
# step 2) create desktop file
cat <<EOF > /usr/share/applications/bootstrapstudio.desktop
SilverJan /
Last active March 15, 2021 07:21
One-liner to get the AD password expiry date for a user (in UTC)
# input vars
# Windows ticks are in 100ns
# seconds to be added to make Windows file time Unix file time
# 180 days (AD setting via maxPwdAge) in seconds
# AD server