Skip to content

Instantly share code, notes, and snippets.

View dreamcat4's full-sized avatar
๐Ÿ˜‹
credible honest persons who wants to talk to me... send brief msg to my gmail !

Dreamcat4 dreamcat4

๐Ÿ˜‹
credible honest persons who wants to talk to me... send brief msg to my gmail !
View GitHub Profile
@dreamcat4
dreamcat4 / tvheadend.md
Last active January 16, 2025 05:17
How to Install TvHeadend on FreeBSD, FreeNAS / NAS4Free / pfSense, with Finch / Qjail 3.5 - http://dreamcat4.github.io/finch/

NOTICE - TvHeadend Internal Grabbers don't work on FreeBSD yet. There is some work in progress updating the FreeBSD port to enable that.

TvHeadend How-To

How to install TvHeadend. Most of these commands can just be copy-pasted.

Install drivers for your TV Tuner device

@dreamcat4
dreamcat4 / tvheadend-dbus.conf
Created August 17, 2014 15:32
These permissions are likely to be *too* permissive
<?xml version="1.0" encoding="UTF-8" ?>
<root xmlns="urn:schemas-upnp-org:device-1-0">
<specVersion>
<major>1</major>
<minor>0</minor>
</specVersion>
<device>
<deviceType>urn:ses-com:device:SatIPServer:1</deviceType>
<friendlyName>Sat>IP Server (192.168.1.22)</friendlyName>
<manufacturer>ALi</manufacturer>
@dreamcat4
dreamcat4 / dell-perc-h310-how-to-flash.sh
Last active November 3, 2024 00:17
how to flash LSI SAS 2008 hba dell perc h310 to lsi 8112-8i firmware p19 or p20
# ======
# how to flash LSI SAS 2008 hba dell perc h310 raid jbod card
# for uefi motherboards, must boot uefi and use sas2flash.efi
# select uefi in the moot menu --> launches boof.efi. then:
# official UEFI oprom downloads are now only available from the product page of lsi 8210-8i card
# however we found an un official mirror / off site backup of previous files
# https://www.broadcom.com/products/storage/host-bus-adapters/sas-9210-8i#downloads
@dreamcat4
dreamcat4 / label-print.service
Created January 22, 2020 18:42
4x6 inch label printer - pdf watch folder - on ubuntu, with lprint
# This is a user land systemd service. Put it in your ~/.config/systemd/user/ folder
# Then:
# systemctl --user enable ebay-label-print.service
# systemctl --user restart ebay-label-print.service
# journalctl -f | grep label-print
[Unit]
Description=4x6 inch label printer - pdf watch folder - on ubuntu, with lprint
After=network.target
@dreamcat4
dreamcat4 / macmini 1,1 to 2,1 EFI firmware update
Last active September 4, 2024 21:12
macmini 1,1 to 2,1 EFI firmware update
Guide & Discussion Thread:
http://forum.netkas.org/index.php?topic=874.0
http://forum.netkas.org/index.php?action=printpage;topic=874.0
For the best guide, use search keyword: chmod. Scrolls down to -->
Post by: Shinso on September 18, 2012, 07:28:35 PM
Post by: Shinso on September 18, 2012, 07:30:19 PM
* First: upgrade cpu to Core2Duo
@dreamcat4
dreamcat4 / aud-jumptofile.sh
Last active August 22, 2024 16:24
audacious - cmdline helper script - Jump directly to mp3 file or radio station, if its already in 'Library' or 'Radio' playlists
#!/bin/sh
#
# aud-jumptofile <file>
#
# audacious - cmdline helper script - Jump directly to mp3 file or radio station, if its already in 'Library' or 'Radio' playlists
#
# This script finds which track to play within the currently playing playlist
# instead of what audacious normally does, which is either creating a brand new playlist
# or appending the same track multiple times to the end of the currently playing playlist
#
@dreamcat4
dreamcat4 / ikev2.xml
Created June 11, 2021 18:15 — forked from dapao9999/ikev2.xml
IKEv2 VPN profile for Apple devices, Pre-Shared Key(PSK)
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<!-- IKEv2 IPSec VPN profile for Apple devices, Pre-Shared Key(PSK), no username password.
References:
https://wiki.strongswan.org/projects/strongswan/wiki/AppleIKEv2Profile
https://developer.apple.com/library/mac/featuredarticles/iPhoneConfigurationProfileRef/Introduction/Introduction.html
https://help.apple.com/configurator
The extension of this file should be .mobileconfig -->
@dreamcat4
dreamcat4 / wayland-global-hotkey-instructions.md
Last active May 22, 2024 10:19
wayland gnome - how to setup a global hotkey, to trigger something useful inside of an application, etc.

Global Hotkeys in Wayland (Gnome) - 2021

1st task - Configure just 1 global hotkey

  • Figure out how to set up 1 global hotkey in your chosen desktop environment,
  • Assign to it some simple dummy target ommand. Which you know always works. And is easily verified

That will ensure you can check and test that a specific hotkey assignment is actually definately working independantly of the specific desired action. This is important because the desktop environment can also occupy pre-configured 'system keys' and if they are already being mapped to something other default system wide actions then (likely) will silently be ignored.

So being independant here from the subsequent specific desired target actions in some special app or whatever. Which themselves definately might have other own different issues or not behave correctly. And especially when being invoked from the compositor via this method (rather than a logged in user terminal etc.)

@dreamcat4
dreamcat4 / README.md
Created December 13, 2021 14:34 — forked from bahamas10/README.md
Void Linux on Raspberry Pi 4

Summary

I'm able to get a Void Linux image (32bit, raspberry pi 2 image) to boot on the raspberry pi 4. Currently, I can get it to boot and even handle upgrading via xbps-install -Su (networked over ethernet), however I can't seem to get it to see the internal wlan (wifi) device.

huge shout out to kodifies on this reddit post for helping me to get this going.