Skip to content

Instantly share code, notes, and snippets.

s41m0n /
Last active Jan 18, 2021
This guide is supposed to help people experiencing problems with the Nvidia dedicated graphic card management.

Linux - Nvidia switchable setup guide

The aim of this guide is to provide a working strategy to make your dedicated graphic card turn on/off correctly in a Linux environment (with xorg).

The following scripts have been created by tyrells and this guide is a remake of Graff's one.

Required Packages

The following two packages are stricly required:

fntlnz /
Last active Jun 11, 2021
Self Signed Certificate with Custom Root CA

Create Root CA (Done once)

Create Root Key

Attention: this is the key used to sign the certificate requests, anyone holding this can sign certificates on your behalf. So keep it in a safe place!

openssl genrsa -des3 -out rootCA.key 4096
View LuaTerminal.lua
terminal_version = "0.1.4"
system_drive = "nil" --possibly irrelevant for UNIX systems. todo: these need to be loaded at startup
working_dir = "nil"
folder_dir = "nil"
os_name = "nil"
user_is_windows = "unsure" --until proven guilty....fact: Lua Terminal was made on windows.
View gist:3622654
minetest.register_node("mod:name", {
-- other stuff here
on_construct = function(pos)
minetest.env:remove_node(pos) -- delete the node
minete.env:add_item(pos, "wallpaper:roller") -- add the item
-- other stuff here