Skip to content

Instantly share code, notes, and snippets.

View gidoBOSSftw5731's full-sized avatar
💭
Why have your head in the clouds when you can buy a humidifier

gido5731 gidoBOSSftw5731

💭
Why have your head in the clouds when you can buy a humidifier
View GitHub Profile
@gidoBOSSftw5731
gidoBOSSftw5731 / admin-config-set.go
Created October 17, 2023 00:54
Modify this file and recompile in order to allow you to recover when clienttimeout = 0
/*
* Copyright (c) 2019-2021. Abstrium SAS <team (at) pydio.com>
* This file is part of Pydio Cells.
*
* Pydio Cells is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* Pydio Cells is distributed in the hope that it will be useful,
@gidoBOSSftw5731
gidoBOSSftw5731 / foldwithffmpeg.sh
Last active September 11, 2022 00:17
Stop folding at home automatically when FFMPEG begins encoding (NVIDIA GPU)
#!/bin/bash
export id=3
while true
do
export out=`nvidia-smi --query-compute-apps=name --format=csv |grep ffmpeg|wc -l`
case "$out" in
"0")
FAHClient --send-unpause $id
@gidoBOSSftw5731
gidoBOSSftw5731 / README.md
Created May 25, 2021 15:57
Send emails automatically on any machine logins

This sends an email to the address specified with the environment variables of the session on every session creation (every login, not counting sudo.)

Env variables for SSH include the public key, the IP address, and whatever other authentication was done.

@gidoBOSSftw5731
gidoBOSSftw5731 / README.md
Last active January 18, 2024 01:47
Block annoying Youtube elements with ublock origin/adblock plus compatible filters

These are fairly experimental and may affect performance or stop working at any time. Feel free to comment if you have any better implementations, I tried to be both as specific as possible and follow reccomendation from the documentation, though I am just a guy.

The files are (at time of writing) are .ubo files (for UBlock Origin) though I dont believe this is an official file name.

All these were testing using AdNauseum, a skin of UBlock Origin.

Instructions on how to use these located here: https://www.ghacks.net/2014/10/10/how-to-add-custom-filters-to-chrome-ad-blocking-extension-%C2%B5block/ (the particular tab may be called "your filters" or "my filters")

I am not directly affiliated with UBlock Origin, AdBlock Plus, Youtube, nor their developers.

### Keybase proof
I hereby claim:
* I am gidobossftw5731 on github.
* I am gido5731 (https://keybase.io/gido5731) on keybase.
* I have a public key ASC_jd9mIDpMjd6xPER9i1bMXOkpHNHmPDvrz6GUJ4uIEAo
To claim this, I am signing this object: