This file contains hidden or 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
echo 'connect F4:B8:5E:7E:8D:19 '|bluetoothctl |
This file contains hidden or 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
* * * * * sleep 00;echo 'connect F4:B8:5E:7E:8D:19'|bluetoothctl > /dev/null 2>&1 | |
* * * * * sleep 15;echo 'connect F4:B8:5E:7E:8D:19'|bluetoothctl > /dev/null 2>&1 | |
* * * * * sleep 30;echo 'connect F4:B8:5E:7E:8D:19'|bluetoothctl > /dev/null 2>&1 | |
* * * * * sleep 45;echo 'connect F4:B8:5E:7E:8D:19'|bluetoothctl > /dev/null 2>&1 |
This file contains hidden or 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
journalctl | grep blue #get errors from log | |
hciconfig | |
hciconfig hci0 down | |
hciconfig hci0 up | |
bluetoothctl | |
power on | |
agent on | |
devices |
This file contains hidden or 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
pasuspender -- env KODI_AE_SINK=ALSA | |
cp /etc/pulse/client.conf /home/yourusername/.config/pulse | |
cp /etc/pulse/client.conf /home/yourusername/.config/pulse/client.confbackup | |
nano /home/yourusername/.config/pulse/client.conf | |
From: | |
; autospawn = yes | |
To: | |
autospawn = no |
This file contains hidden or 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
https://wiki.libreelec.tv/config.txt | |
mount -o remount,rw /flash | |
nano /flash/config.txt | |
mount -o remount,ro /flash | |
Adding Device Tree Overlays | |
The current supported DTB's can be found in /flash/overlays. These can be set by using any of the following overlays |
This file contains hidden or 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
docker run \ | |
--name kodi \ | |
--net=host \ | |
--privileged \ | |
--restart unless-stopped \ | |
-e ZBX_HOSTNAME="kodi" \ | |
-e ZBX_SERVER_HOST="192.168.2.25" \ | |
-d aledjones/zabbix-agent:4.2 |
This file contains hidden or 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
* install the docker addon in Libreelec using the menu system | |
o From addons/install from repository/libreelec addons/services/docker | |
* log in via ssh and install the docker container | |
> docker pull bltavares/zerotier | |
docker run --device=/dev/net/tun \ |
This file contains hidden or 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
#Dell PowerEdge R210 II | |
#pfsense freeBSD | |
kldload ipmi | |
ipmitool | |
ipmitool sensor | |
ipmitool sensor get "FAN 1 RPM" |
This file contains hidden or 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
; Script based on an original created by tjjfvi (https://github.com/tjjfvi) | |
; An up-to-date version of the tjjfvi's original script can be found | |
; here: https://csi.t6.fyi/ | |
; Note - This script will only work in Cura V4.2 and above! | |
; --- Global Settings | |
; layer_height = {layer_height} | |
; smooth_spiralized_contours = {smooth_spiralized_contours} | |
; magic_mesh_surface_mode = {magic_mesh_surface_mode} | |
; machine_extruder_count = {machine_extruder_count} | |
; --- Single Extruder Settings |
This file contains hidden or 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
$x = get-process | ? {$_.MainWindowTitle -like "*Adobe Premiere*"} | Select-Object -ExpandProperty mainwindowtitle | |
if ($x){ | |
$pp_path = $x.SubString($x.IndexOf("-") + 2, $x.LastIndexOf("\") - $x.IndexOf("-") - 1) | |
$pp_path -replace ' ', '` ' | |
# echo $pp_path | |
explorer.exe $pp_path | |
}else { | |
$ae = get-process | ? {$_.MainWindowTitle -like "*Adobe After Effects*"} | Select-Object -ExpandProperty mainwindowtitle |
OlderNewer