Skip to content

Instantly share code, notes, and snippets.

View danyboy666's full-sized avatar
💭
Coding and stuff

dferron danyboy666

💭
Coding and stuff
View GitHub Profile

I did something similar for myself. It should work the same for a group of steam friends if the data is the same (which I guess it is if you're using a steam sensor for each one of them).

I'll just say up-front that this is a lot of setup to get this to happen. But it shouldn't! I plan to make this into a custom HACS card since just getting all this data directly from the steam sensor will be much easier with a custom card. I'll keep you posted when that happens, but I hope this will get you what you want in the meanwhile :slight_smile:

My setup shows the following things (see image for reference):

  • my steam entity without a now playing section when I'm not playing a game
  • a "now playing" section once I start playing a game
  • an hassio notification when I start playing a game

Here's how I set it up:

@chunter
chunter / pageant-autoload-keys-at-startup.txt
Created June 20, 2017 10:51
Make Pageant autoload keys at startup
To make Pageant automatically run and load keys at startup:
- Find the location of pageant.exe
- Windows key + R to open the 'run' dialog box
- Type: 'shell:startup' in the dialog box
- Create a shortcut to the pageant.exe and put into this startup folder.
@Hengjie
Hengjie / tutorial.md
Last active May 1, 2024 02:33
How to passthrough SATA drives directly on VMWare ESXI 6.5 as RDMs

How to passthrough SATA drives directly on VMWare EXSI 6.5 as RDMs

There aren't many tutorials about this, the only tutorials I've found were about passing through entire PCIe cards to VMs, or refered to old ESXI versions (below 6.5) that used a more comprehensive desktop client instead of the web app. In v6.5, the web app was introduced and the desktop client was deprecated. You used to be able to setup RDMs in the desktop client, but with the introduction of the web console, this is no longer the case. This tutorial shows you how to pass SATA HDDs to the virtual machine on VMWare ESXI 6.5. This tutorial is partially based on VMWare's own KB and the now deprecated Forza IT blog post.

A word about VMWare ESXI 6.7

There is now an option while editing your VM's settings to add a New raw disk when you click `Add ha

@Iman
Iman / clean.sh
Last active April 15, 2024 16:50
Free up disk space on Ubuntu - clean log, cache, archive packages/apt archives, orphaned packages, old kernel and remove the trash
#!/bin/sh
#Check the Drive Space Used by Cached Files
du -sh /var/cache/apt/archives
#Clean all the log file
#for logs in `find /var/log -type f`; do > $logs; done
logs=`find /var/log -type f`
for i in $logs