This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Check if jmtpfs is installed | |
if ! command -v jmtpfs &> /dev/null; then | |
echo "The command 'jmtpfs' is not found." | |
echo "Please install 'jmtpfs' using your distribution's package manager." | |
echo "For example, on Debian-based systems (e.g., Ubuntu): sudo apt install jmtpfs" | |
echo "On Red Hat-based systems: sudo yum install jmtpfs" | |
exit 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*! | |
* TableSorter for MediaWiki | |
* | |
* Written 2011 Leo Koppelkamm | |
* Based on tablesorter.com plugin, written (c) 2007 Christian Bach. | |
* | |
* Dual licensed under the MIT and GPL licenses: | |
* http://www.opensource.org/licenses/mit-license.php | |
* http://www.gnu.org/licenses/gpl.html | |
* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name auto-spectate | |
// @author KraXen72 | |
// @version 2.0.0 | |
// @desc automatically switch to spectator mode | |
// @run-at document-end | |
// ==/UserScript== | |
const has = (object, key) => Object.prototype.hasOwnProperty.call(object, key); | |
let interval = null |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Keystrokes | |
// @author KraXen72 | |
// @version 1.2 | |
// @desc Shows WASD, shift, space and 2 configurable keys on screen | |
// @src https://gist.github.com/KraXen72/2ea1332440b0c66b83ca9b73afc38269 | |
// ==/UserScript== | |
//keystrokes userscript by KraXen72. made for the Crankshaft client. | |
//You are free to modify it for your own purposes (unpublished) |