Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@scottlinux
scottlinux / mf-install-helper.sh
Last active October 22, 2023 11:58 — forked from AnonymerNiklasistanonym/mf_install_helper.sh
Helping script that automatically installs the Media Foundation workaround for Wine (https://github.com/z0z0z/mf-install) to the latest Proton Version
#!/usr/bin/env bash
#
rm -rf mf-install
git clone --depth=1 https://github.com/z0z0z/mf-install.git
cd mf-install
GRIS_STEAM_ID=683320
PUMMEL_PARTY_STEAM_ID=880940
# Select which game should be updated
#!/bin/sh
showHelp() {
cat <<EOF
This script requires 2 or 3 arguments exactly.
"${0}" <redhat username> <redhat password> [<redhat release>]
examples:
"${0}" user1 passw0rd! 7Server
"${0}" user2 pAssw@rd
By default the omission of the release version will default to 7Server being set.
@scottlinux
scottlinux / keepass2john.py
Created February 23, 2017 18:38 — forked from HarmJ0y/keepass2john.py
Python port of John the Ripper's keepass2john - extracts a HashCat/john crackable hash from KeePass 1.x/2.X databases
#!/usr/bin/python
# Python port of keepass2john from the John the Ripper suite (http://www.openwall.com/john/)
# ./keepass2john.c was written by Dhiru Kholia <dhiru.kholia at gmail.com> in March of 2012
# ./keepass2john.c was released under the GNU General Public License
# source keepass2john.c source code from: http://fossies.org/linux/john/src/keepass2john.c
#
# Python port by @harmj0y, GNU General Public License
#
@scottlinux
scottlinux / cpustatus.sh
Last active March 7, 2016 19:32 — forked from ecampidoglio/cpustatus.sh
A Bash script that prints the current state of the CPU on a Raspberry Pi. It displays variables like temperature, voltage and speed. (Modified for Arch Linux Arm)
#!/bin/bash
# cpustatus
#
# Prints the current state of the CPU like temperature, voltage and speed.
# The temperature is reported in degrees Celsius (C) while
# the CPU speed is calculated in megahertz (MHz).
function convert_to_MHz {
let value=$1/1000
echo "$value"