• May 1, 2025 •liya5342silver-51c8
0 likes • 1 view
https://github.com/konaraddi/web-riimote?tab=readme-ov-fil
• Dec 8, 2025 •AustinLeath
0 likes • 3 views
lxc.cgroup2.devices.allow: c 195:* rwm lxc.cgroup2.devices.allow: c 507:* rwm lxc.cgroup2.devices.allow: c 511:* rwm lxc.mount.entry: /dev/nvidia0 dev/nvidia0 none bind,optional,create=file lxc.mount.entry: /dev/nvidiactl dev/nvidiactl none bind,optional,create=file lxc.mount.entry: /dev/nvidia-modeset dev/nvidia-modeset none bind,optional,create=file lxc.mount.entry: /dev/nvidia-uvm dev/nvidia-uvm none bind,optional,create=file lxc.mount.entry: /dev/nvidia-uvm-tools dev/nvidia-uvm-tools none bind,optional,create=file lxc.mount.entry: /dev/nvidia-caps/nvidia-cap1 dev/nvidia-caps/nvidia-cap1 none bind,optional,create=file lxc.mount.entry: /dev/nvidia-caps/nvidia-cap2 dev/nvidia-caps/nvidia-cap2 none bind,optional,create=file ---- root@pm3:~# nano /etc/pve/lxc/102.conf root@pm3:~# ls -l /dev/nvid* crw-rw-rw- 1 root root 195, 0 Dec 8 12:43 /dev/nvidia0 crw-rw-rw- 1 root root 195, 255 Dec 8 12:43 /dev/nvidiactl crw-rw-rw- 1 root root 507, 0 Dec 8 12:43 /dev/nvidia-uvm crw-rw-rw- 1 root root 507, 1 Dec 8 12:43 /dev/nvidia-uvm-tools /dev/nvidia-caps: total 0 cr-------- 1 root root 511, 1 Dec 8 12:43 nvidia-cap1 cr--r--r-- 1 root root 511, 2 Dec 8 12:43 nvidia-cap2 apt install gpg curl curl -fsSL https://nvidia.github.io/libnvidia-container/gpgkey | gpg --dearmor -o /usr/share/keyrings/nvidia-container-toolkit-keyring.gpg && curl -s -L https://nvidia.github.io/libnvidia-container/stable/deb/nvidia-container-toolkit.list | sed 's#deb https://#deb [signed-by=/usr/share/keyrings/nvidia-container-toolkit-keyring.gpg] https://#g' | tee /etc/apt/sources.list.d/nvidia-container-toolkit.list apt update apt install nvidia-container-toolkit
• Jun 30, 2021 •LeifMessinger
0 likes • 2 views
;Main.asm .386 .model small,c ;This bit is important, I think. .stack 1000h .data hello db "Hello world!",0 .code ;includelib libucrt.lib ;All this shit is already here if you have a C object file includelib legacy_stdio_definitions.lib ;Except for this. Basically printf, puts etc ;includelib libcmt.lib ;includelib libvcruntime.lib ;Visual Studio exception handling and type checking. Not needed otherwise extrn printf:near ;Extern everything you are gonna use from the c obj files extrn plusTwo:near extrn exit:near public plusOne ;Have to declare it public for the linker to see it. In NASM, it's .globl or global plusOne proc ;Our int plusOne(int) function. pop eax ;Parameters are stored on the stack. add eax, 1 ret ;eax is whatever is returned from functions. Also why you can only return one thing. plusOne endp public main main proc push offset hello call printf push 1 call plusTwo push 0 call exit main endp end ;End of file, not program //bruh.c //#include <stdio.h> Has to be included with "includelib legacy_stdio_definitions.lib" in the asm file for some reason. //int printf(const char* format, ...); extern int plusOne(int); //Extern everything you are gonna use from the asm obj files int plusTwo(int num) { return plusOne(plusOne(num)); //Plus one is defined in the assembly. }
• Aug 27, 2024 •vercetti322
0 likes • 6 views
#include <iostream> #include <vector> #include <algorithm> #include <cstdlib> #include <ctime> using namespace std; // Function to generate random numbers vector<int> generateRandomNumbers(int count, int minValue, int maxValue) { vector<int> numbers; for (int i = 0; i < count; ++i) { numbers.push_back(rand() % (maxValue - minValue + 1) + minValue); } return numbers; } // Function to print a vector of integers void printVector(const vector<int>& vec) { for (int num : vec) { cout << num << " "; } cout << endl; } // Function to sort and display numbers void sortAndDisplayNumbers(vector<int>& numbers) { sort(numbers.begin(), numbers.end()); cout << "Sorted numbers: "; printVector(numbers); } int main() { // Seed the random number generator srand(static_cast<unsigned int>(time(0))); int count, minValue, maxValue; cout << "Enter the number of random numbers to generate: "; cin >> count; cout << "Enter the minimum value: "; cin >> minValue; cout << "Enter the maximum value: "; cin >> maxValue; // Generate random numbers vector<int> numbers = generateRandomNumbers(count, minValue, maxValue); // Display unsorted numbers cout << "Unsorted numbers: "; printVector(numbers); // Sort and display sorted numbers sortAndDisplayNumbers(numbers); return 0; }
• Jan 9, 2026 •CodeCatch
{ "bindAddress": "", "bindPort": 2001, "publicAddress": "", "publicPort": 2001, "a2s": { "address": "0.0.0.0", "port": 17777 }, "rcon": { "address": "0.0.0.0", "port": 19999, "password": "fobarma1234!", "permission": "admin", "blacklist": [], "whitelist": [] }, "game": { "name": "[NA1] FOB Arma | Arland Game Master | fobarma.com", "password": "", "passwordAdmin": "fobarma1234!", "admins": [ "76561198054239558", "76561198097176793", "76561198968225358", "76561199833357392", "76561198073098171" ], "scenarioId": "{2BBBE828037C6F4B}Missions/22_GM_Arland.conf", "maxPlayers": 128, "visible": true, "crossPlatform": true, "gameProperties": { "serverMaxViewDistance": 2500, "serverMinGrassDistance": 150, "networkViewDistance": 1500, "disableThirdPerson": true, "fastValidation": true, "battlEye": true, "VONDisableUI": false, "VONDisableDirectSpeechUI": false, "VONCanTransmitCrossFaction": false }, "mods": [ { "modId": "595F2BF2F44836FB", "name": "RHS - Status Quo" } ] }, "operating": { "lobbyPlayerSynchronise": true, "joinQueue": { "maxSize": 50 } } }
• Dec 9, 2025 •JordanWinston