Skip to content

Instantly share code, notes, and snippets.

View kotborealis's full-sized avatar

kotborealis kotborealis

View GitHub Profile
@kotborealis
kotborealis / sleep_as_android_webhooks.yaml
Last active May 31, 2025 21:18 — forked from psbaltar/sleep_as_android_webhooks.yaml
Home Assistant blueprint for handling Sleep as Android webhooks events
blueprint:
name: Sleep as Android webhook handler
description: >
Home Assistant blueprint for handling Sleep as Android webhooks events
In Sleep as Android app, set Webhooks URL to:
https://<home-assistant-host>/api/webhook/<webhook-id>
yt-dlp --cookies ../youtube.com_cookies.txt https://www.youtube.com/playlist?list=000000 --continue --retries infinite --ignore-errors -f 'bestaudio[ext=m4a]'
// ==UserScript==
// @name Remove qaru.site
// @version 0.1
// @description Remove qaru.site links from google search
// @author kotborealis
// @match https://www.google.com/search?q=*
// @grant none
// ==/UserScript==
(function() {
// ==UserScript==
// @name Fuck qaru.site
// @namespace http://tampermonkey.net/
// @version 0.1
// @author awooo.ru
// @match https://*.google.com/search*
// @grant none
// ==/UserScript==
(() => {
@kotborealis
kotborealis / .block
Created March 15, 2019 17:55
D3 Based Real Time Chart
license: mit
@kotborealis
kotborealis / .block
Created March 15, 2019 17:55
D3 Based Real Time Chart
license: mit
@kotborealis
kotborealis / .block
Last active March 13, 2019 08:16
D3 Based Real Time Chart
license: mit
@kotborealis
kotborealis / circle.js
Created January 16, 2018 19:10
TIME TO SPIN
({emoji='tea', size=5, scale=50}={}) => {for(i=0;i<size;i++){_='';for(k=0;k<size;k++)_+=`:${emoji}@scale#${scale}@r#${Math.floor(Math.atan2(size/2 - i, size/2 - k) * 180 / Math.PI)}@hue#${Math.floor(Math.atan2(size/2 - i, size/2 - k) * 180 / Math.PI)}:`;chat.message(_)}}
@kotborealis
kotborealis / openvpn_server.conf
Last active June 1, 2025 11:56
Tor, i2p, OpenVPN
# Why the hell its not working?
# Maybe you'll have to change dns manually in /etc/resolv.conf
push "dhcp-option DNS 10.8.0.1"