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
[General] | |
Enable=Source,Sink,Media,Socket | |
#ControllerMode = bredr # Suggested online, doesn't seem to be required anymore |
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
<TaskerData sr="" dvi="1" tv="5.11.14"> | |
<Task sr="task27"> | |
<cdate>1617818040844</cdate> | |
<edate>1617944528998</edate> | |
<id>27</id> | |
<nme>Wallpaper from Reddit</nme> | |
<pri>100</pri> | |
<rty>1</rty> | |
<Action sr="act0" ve="7"> | |
<code>888</code> |
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
type docker &>/dev/null && echo -n "Running containers: " && docker ps --format "{{.Names}}" | grep -o "^[^-_]*" | sort -u | tr '\n' ' ' && echo | |
# EXAMPLE OUTPUT: | |
# Running containers: caddy mealie n8n nodebb seafile shadowsocks shiori |
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
wget --spider --no-check-certificate --header "Host: nextcloud.domain.here" http://containername/cron.php |
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/sh | |
echo "This tool will install eduroam for iwd. It will overwrite /var/lib/iwd/eduroam.8021x" | |
echo -n "Enter eduroam username (with domain): " | |
read user | |
echo -n "Enter eduroam password: " | |
read -s pass | |
echo | |
echo "Using sudo to write /var/lib/iwd/eduroam.8021x..." |
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 Invidious full-width video | |
// @author jnaskali | |
// @copyright 2020, Juhani Naskali (www.naskali.fi) | |
// @license MIT | |
// @version 1.0 | |
// @namespace https://www.naskali.fi | |
// @downloadURL https://openuserjs.org/install/jnaskali/Invidious_full-width_video.user.js | |
// | |
// @match https://invidio.us/watch?v=* |
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/sh | |
# Script that opens ssh:// links from Firefox - CC0 by Juhani, www.naskali.fi | |
# extract the protocol | |
proto="$(echo $1 | grep -oP '^[a-z]*')" # first letters | |
# extract the user (if any) | |
user="$(echo $1 | grep -oP '(?<=:\/\/)(.*)(?=@)')" # text in between :// and @ | |
# extract the host | |
host="$(echo $1 | grep -oP '(?<=:\/\/|@)([a-z0-9\.]+)(?!.*@)')" # alphanumerals preceded by :// or @, not followed by text@ | |
# extract the port |
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
adb shell "find /storage/sdcard/TitaniumBackup -mtime -1" | tr -d '\r' | xargs -n1 adb pull |
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 GitHub repos have new releases, compare to last run and notify through AutoRemote, if change | |
# | |
# Requires xidel from http://www.videlibri.de/xidel.html#downloads | |
# Saves last run to /tmp/latest_reponame.txt files | |
# Array of tracked GitHub repos | |
githubrepos=('mholt/caddy') | |
authkey="NOTMYREALKEY" |
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
; NVidia Driver Checker by Juhani Naskali | |
; | |
; Requires JSON.ahk class from https://github.com/cocobelgica/AutoHotkey-JSON and 7-zip | |
#Include <JSON> | |
7zip := "C:\Program Files\7-Zip\7z.exe" | |
; Get installed driver version | |
RegRead, installedVersion, HKEY_LOCAL_MACHINE, SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{B2FE1952-0186-46C3-BAEC-A80AA35AC5B8}_Display.Driver, DisplayVersion |
NewerOlder