Skip to content

Instantly share code, notes, and snippets.

View yoyosan's full-sized avatar
🏠
Working from home

Marius P. yoyosan

🏠
Working from home
View GitHub Profile
@yoyosan
yoyosan / Summary: Thoughts on Slowing the Fuck Down by Mario Zechner.md
Last active March 27, 2026 09:29
Summary: Thoughts on Slowing the Fuck Down by Mario Zechner
@yoyosan
yoyosan / tvguide.xml
Created November 14, 2024 16:20
tvguilde.xml
<!--?xml version="1.0"?-->
<settings>
<!-- for detailed info about the settings see http://webgrabplus.com/node/30 -->
<filename>/storage/media/epg/guide.xml</filename>
<mode></mode>
<postprocess grab="y" run="n">mdb</postprocess>
<proxy>automatic</proxy>
<user-agent>Mozilla/5.0 (Windows NT 6.1; WOW64; rv:29.0) Gecko/20100101 Firefox/29.0</user-agent>
<logging>on</logging>
<retry time-out="5">4</retry>
@yoyosan
yoyosan / silencing-the-lambs.md
Created September 9, 2022 16:18
John Pilger - Reducerea la tăcere a mieilor. Cum funcționează propaganda

REDUCEREA LA TĂCERE A MIEILOR. CUM FUNCȚIONEAZĂ PROPAGANDA.

Sursa: http://johnpilger.com/articles/silencing-the-lambs-how-propaganda-works-

8 septembrie 2022

Într-un discurs rostit în cadrul Festivalului Mondial de la Trondheim, în Norvegia, John Pilger trasează istoria propagandei puterii și descrie modul în care aceasta își însușește jurnalismul într-un "imperialism profund" și este posibil să ne prindă în capcană pe toți, dacă îi permitem.


În anii 1970, am întâlnit-o pe una dintre principalele propagandiste ale lui Hitler, Leni Riefenstahl, ale cărei filme epice glorificau naziștii. S-a întâmplat să stăm la aceeași cabană din Kenya, unde ea se afla într-o misiune de fotografiere, după ce scăpase de soarta altor prieteni ai Fuhrerului.


@yoyosan
yoyosan / covid-19-vaccines-reactions.md
Last active August 23, 2021 05:02
COVID 19 Vaccines Reactions
@yoyosan
yoyosan / openfortigui.md
Last active June 16, 2023 12:17
Build openfortigui in Fedora 34+

Install needed packages:

sudo dnf install qt5-qtbase-devel openssl-devel qtkeychain-qt5-devel -y

# create a symlink to /usr/bin/qmake, if needed
sudo ln -s /usr/lib64/qt5/bin/qmake /usr/bin/qmake

cd ~/tools
git clone https://github.com/theinvisible/openfortigui.git
@yoyosan
yoyosan / hdmi-switch.sh
Last active May 19, 2021 08:55
Example scripts of switching HDMI outputs when using Pipewire
#!/bin/bash
hdmi="$(pactl list sinks|grep Name|grep hdmi|sed 's/Name: //'|sed 's/\s//')"
pactl set-default-sink "$hdmi"
pactl set-sink-port "$hdmi" hdmi-output-2
pactl set-card-profile alsa_card.pci-0000_0b_00.1 output:hdmi-stereo-extra2
pactl set-sink-volume @DEFAULT_SINK@ 50%
# obtain ports: pactl list
@yoyosan
yoyosan / mariadb.md
Created December 11, 2020 07:35
MariaDB 10.2 upgrade on CentOS 7

A MySQL or MariaDB server package (MariaDB-server-10.1.48-1.el7.centos.x86_64) is installed.

Upgrading directly from MySQL 10.1 to MariaDB 10.2 may not be safe in all cases. A manual dump and restore using mysqldump is recommended. It is important to review the MariaDB manual's Upgrading section for version-specific incompatibilities.

A manual upgrade is required.

  • Ensure that you have a complete, working backup of your data and my.cnf
@yoyosan
yoyosan / ssl-renew.md
Last active June 30, 2022 10:54
Renew SSL certificate for yolosan.xyz in True NAS

For Nextcloud

Log into NAS ssh:

iocage console nextcloud
pkg install py38-certbot py38-certbot-nginx
certbot renew --nginx
service nginx restart
@yoyosan
yoyosan / truenas-upgrade.md
Last active August 28, 2022 10:31
TrueNAS upgrade

Upgrade TrueNAS

Use the web interface to upgrade the os

If upgrade fails with a message similar to Host: 12.2-RELEASE is not greater than target: 12.3-RELEASE run

iocage fetch