This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # WARNING: Use this script AT YOUR OWN RISK! I DO NOT take ANY responsibility | |
| # if your system becomes unstable after using my script. You've been warned! | |
| # With this script I'm able to unload the kernel drivers without rebooting the system. | |
| # I'm using it on an Ubuntu Server 24.04 machine with an Nvidia GTX 1070, | |
| # the only program using the GPU is Jellyfin's transcoder. | |
| # It seems to be stable, the transcoder works after running this script, | |
| # nvidia-smi no longer shows NVML error and I never had any problem with other |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/python | |
| import random | |
| from pathlib import Path | |
| from sys import argv | |
| from PIL import Image, ImageDraw | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| sudo curl -s --compressed -o /etc/apt/trusted.gpg.d/hpe_sdr.asc https://downloads.linux.hpe.com/SDR/hpePublicKey2048_key1.pub | |
| echo "deb http://downloads.linux.hpe.com/SDR/repo/mcp noble/current non-free" | sudo tee /etc/apt/sources.list.d/mcp.list |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * C++ ASCII to 7 seg digits converter | |
| * | |
| * This array aims at being as complete as possible, | |
| * if you find any character that could be added or | |
| * modified, just leave a comment specifying | |
| * the decimal ascii code of the character and | |
| * the hexadecimal code of the segment combination | |
| * hex(0b0abcdefg) | |
| * __________ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!-- | |
| Demo of a lightweight scrolling list made exclusively | |
| with native HTML, CSS, JavaScript (no external libraries). | |
| PHP is only needed to automatically generate the rows from an array. | |
| MIT License | |
| Copyright (c) 2022 Alesandro Campolo |