Skip to content

Instantly share code, notes, and snippets.

View ergoz's full-sized avatar
😈
let's rock

[riftlab] ErgoZ ergoz

😈
let's rock
View GitHub Profile
@Blackshome
Blackshome / notifications-and-announcements.yaml
Last active June 17, 2024 16:56
notifications-and-announcements.yaml
blueprint:
name: Notifications & Announcements
description: >
# 📢 Notifications & Announcements
**Version: 1.0**
State your trigger and spread the word 💬 🔉
@Blackshome
Blackshome / low-battery-notifications-and-actions.yaml
Last active June 19, 2024 14:15
low-battery-notifications-and-actions.yaml
blueprint:
name: Low Battery Notifications & Actions
description: >
# 🪫 Low Battery Notifications & Actions
**Version: 2.3**
🚀 Stay Charged, Stay Smart! Let's automate and take charge of your battery maintenance!🔋⚡
@Blackshome
Blackshome / appliance-notifications.yaml
Last active June 17, 2024 16:51
appliance-notifications.yaml
blueprint:
name: Appliance Notifications & Actions
description: >
# 📳 Appliance Notifications & Actions
**Version: 2.2**
🤔 Watts your appliance up to, you're always in the know from start to finish!🛎️🔌💸
@Blackshome
Blackshome / calendar-notifications-and-actions.yaml
Last active June 17, 2024 16:55
calendar-notifications-and-actions.yaml
blueprint:
name: Calendar Notifications & Actions
description: >
# 📅 Calendar Notifications & Actions
**Version: 1.5**
Transform Your Calendar: Turn Events Into Notifications and Actions! 📅🔔⚙️
@Saren-Arterius
Saren-Arterius / Waydroid.sh
Last active May 2, 2024 07:44
Install Waydroid on Steam Deck (As of 2024-03-16)
#!/bin/sh
cage -- bash -c 'wlr-randr --output X11-1 --custom-mode 1280x800; sleep 1; sudo /usr/local/bin/waydroid-helper & waydroid show-full-ui'
@Blackshome
Blackshome / bathroom-humidity-exhaust-fan.yaml
Last active June 17, 2024 16:50
bathroom-humidity-exhaust-fan.yaml
blueprint:
name: Bathroom Humidity Exhaust Fan
description: >
# 🚿 Bathroom Humidity Exhaust Fan
**Version: 2.4**
Step into the future of freshness - customize it your way and let the automated fan system handle the humidity control for you! 🌿🚿
@davidedmundson
davidedmundson / PlasmaNested.sh
Last active May 21, 2024 22:04
Run plasma from within gamescope
#!/bin/sh
# Remove the performance overlay, it meddles with some tasks
unset LD_PRELOAD
## Shadow kwin_wayland_wrapper so that we can pass args to kwin wrapper
## whilst being launched by plasma-session
mkdir $XDG_RUNTIME_DIR/nested_plasma -p
cat <<EOF > $XDG_RUNTIME_DIR/nested_plasma/kwin_wayland_wrapper
#!/bin/sh
@smashnet
smashnet / gitlab-artifacts-cleanup.py
Last active September 29, 2023 10:34 — forked from Pingu501/gitlab-artifacts-cleanup.py
GitLab Artifacts Clean-Up
"""
This is a small python script to clear up old gitlab build artifacts.
There are 3 variables you should modify:
* base_url: path to your gitlab
* access_token: your personal access token to make gitlab api calls
* delete_everything_older_than: configure the timedelta as you wish
!!IMPORTANT!!
By default this script does only make dry-runs and does not actually delete any files!
@fedej
fedej / Dockerfile
Created April 24, 2022 21:17
gRPC-web with nginx proxy
FROM node:16.14.2-alpine3.15 as client-builder
RUN apk update
RUN apk add git protoc
RUN mkdir /grpc
WORKDIR /grpc
RUN git clone -b 1.3.1 https://github.com/grpc/grpc-web
WORKDIR /grpc/grpc-web/net/grpc/gateway/examples/helloworld
RUN npm install
RUN wget -O /usr/local/bin/protoc-gen-grpc-web https://github.com/grpc/grpc-web/releases/download/1.3.1/protoc-gen-grpc-web-1.3.1-linux-x86_64
@Pingu501
Pingu501 / gitlab-artifacts-cleanup.py
Created December 9, 2021 11:22
GitLab Artifacts Clean-Up
"""
This is a small python script to clear up old gitlab build artifacts.
There are 3 variables you should modify:
* base_url: path to your gitlab
* access_token: your personal access token to make gitlab api calls
* delete_everything_older_than: configure the timedelta as you wish
!!IMPORTANT!!
By default this script does only make dry-runs and does not actually delete any files!