Home Assistant Large Clock
This recipe is my version of providing a "large clock" face in the home assistant dashboard. Enable serving local static files: Create directory www in your config directory. Restart home assistant. ...
This recipe is my version of providing a "large clock" face in the home assistant dashboard. Enable serving local static files: Create directory www in your config directory. Restart home assistant. ...
This recipe is to authenticate users using a web server providing Basic HTTP authentication for it users. This is useful if you want to consolidate users/passwords in a single system. So instead of managing users on Home Assistant you can have all users managed from a central location. ...
As part of my small project of movng my Z-Wave Hub to a Raspberry PI, I got an X728 kit. This has: UPS controller board RTC circuit ...
Flatpak is a utility for software deployment and package management for Linux. It is advertised as offering a sandbox environment in which users can run application software in isolation from the rest of the system. Flatpak was developed as part of the freedesktop.org project and was originally called xdg-app. Snap vs Flatpak ...
I always had issues remembering how to create releases. So in order to standardise things, I wrote this script: ghrelease So whenever I am ready to release I would then just issue ...
This is my lnbin script. This is a program for managing symlink in a /usr/local/bin directory. It is similar to stow, lndir, cleanlinks and others. The approach used by lnbin is based on Stow, and it is to install each into its own tree, then use symbolic links to make its bin ...
This is my op script. This is stupidly simple script to elevate priviledges in order to manage NFS shares on my QNAP NAS. The idea is that NFS shares do squash-root so admin access is disallowed through NFS. This gives a convenient way to issue root level commands without using NFS but instead use ssh ...
The other day I found dvtm. Looking at it, it looks very nice. It appeals to me because I am particularly fond of text user interfaces. At the end I choose not to use it because: ...
In void Linux, the default is without logging. Most cases it is OK for desktop use. If you want to enable syslog service in void, you need to install: socklog-void Also to let your user have access to the logs, use: ...
I boot from a USB boot drive using UEFI. Because of the UEFI boot, it just a matter of copying the files from the alpine ISO to a USB thumbdrive VFAT32 partition. Partition may be set to EFI (but this doesn't seem to be required). Since I would like to switch between different alpine versions, I wrote a script to let me have multiple alpine versions and ...
Here we explain how to use XScreenSaver EXCELLENT screensaver hack collection with the MATE screensaver applet. Install xscreensaver and mate-screensaver On my linux distribution this creates the following directories: ...
I am running void-linux at home with musl as the standard C library. While most things work well, there is a number of programs that do not and must be using glibc counterparts. To enable this I followed this guide here: Live switching Void Linux from glibc to musl. To set-up: ...
In 15 minutes, you can develop a virtual reality application and run it in a web browser, on a VR headset, or with Google Daydream. The key is A-Frame, an open source toolkit built by the Mozilla VR Team. Test It Open this link ...
Reference: positon.org You have 2 systems and you want to set up a secure backup with rsync + SSH of one system to the other. Very simply, you can use: backup.example.com# rsync -avz --numeric-ids --delete [email protected]:/path/ /backup/myserver/ To do the backup, you have to be root on the remote server, because some files are only root readable. Problem: you will allow backup.example.com to do anything on myserver.example.com, where just read only access on the directory is sufficient. ...
Writing shell scripts leaves a lot of room to make mistakes, in ways that will cause your scripts to break on certain input, or (if some input is untrusted) open up security vulnerabilities. Here are some tips on how to make your shell scripts safer. Don't The simplest step is to avoid using shell at all. Many higher-level languages are both easier to write the code in in the first place, and avoid some of the issues that shell ...
THIS IS FOR ARCHIVAL PURPOSES. THIS IS OUT-OF-DATE backup OpenShift openshift getenv(USER) from OpenShift php ssh to {user}@{app-domain} gear snapshot > file Run gear app OpenShift migration further notes ...
Windows system administration is very mouse driven and to reach all tools you need to browse through Windows explorer. If you are like me and prefer to log on a limited privilege account and use Runas to perform admin tasks, you can open these consoles with the .msc file names. Here is a list of admin tools with their .msc file names. domain.msc: AD Domains and Trusts ...
This article goes over how to implement Single-Sign-On on Linux. It goes over the integration around the Kerberos service and the applications, like for example FireFox. Pre-requisites ...
These two hyperlinks from Lifehacker are quite useful: iPhone App Guide Android App Guide ...
-atime/-ctime/-mtime the last time a files's access time, file status and modification time, measured in days or minutes. Time interval in options -ctime, -mtime and -atime is an integer with optional sign. n: If the integer n does not have sign this means exactly n days ago, 0 means today. +n: if it has plus sing, then it means more then n days ago, or older then n, -n: if it has the minus sign, then it means less than n days ago (-n), or younger then n. It's evident that -1 and 0 are the same and both mean today. ...