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
| # make sure to run `update` and `upgrade` before proceeding, and if there is kernel update, please reboot before continue | |
| #!/bin/bash | |
| sudo nala install linux-firmware linux-generic ronn build-essential pkg-config | |
| curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh | |
| mkdir -p ~/downloads |
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 modprobe nvidia | |
| sudo modprobe nvidia_uvm | |
| sudo modprobe nvidia_modeset | |
| sudo modprobe nvidia_drm modeset=1 | |
| #__NV_PRIME_RENDER_OFFLOAD=1 __GLX_VENDOR_LIBRARY_NAME=nvidia | |
| __NV_PRIME_RENDER_OFFLOAD=1 __VK_LAYER_NV_optimus=NVIDIA_only __GLX_VENDOR_LIBRARY_NAME=nvidia VK_ICD_FILENAMES=/usr/share/vulkan/icd.d/nvidia_icd.json "$@" |
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
| blacklist nvidia | |
| blacklist nvidia-drm | |
| blacklist nvidia-modeset | |
| blacklist nvidia-uvm | |
| blacklist nouveau |
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
| export const getSearchParams = () => { | |
| return Object.assign({}, ...[...new URLSearchParams(window.location.search)].map(payload => ({[payload[0]]: payload[1]}))) | |
| } |
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
| echo \ | |
| "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/ubuntu \ | |
| $(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null | |
| apt update | |
| apt install install docker-ce docker-ce-cli containerd.io | |
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
| reflector --latest 20 --country Indonesia --country Singapore --country Taiwan --protocol http --protocol https --sort rate --save /etc/pacman.d/mirrorlist |
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
| <?php | |
| namespace App\Http\Routes; | |
| use Jalameta\Router\BaseRoute; | |
| use Laravel\Fortify\Features; | |
| use Laravel\Fortify\Http\Controllers\AuthenticatedSessionController; | |
| use Laravel\Fortify\Http\Controllers\ConfirmablePasswordController; | |
| use Laravel\Fortify\Http\Controllers\ConfirmedPasswordStatusController; | |
| use Laravel\Fortify\Http\Controllers\EmailVerificationNotificationController; |
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
| #include <cmath> | |
| #include <iostream> | |
| #include <cmath> | |
| #include <GL/glut.h> | |
| #include <algorithm> | |
| #include <vector> | |
| using namespace std; | |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
| CREATE TABLE regions | |
| ( region_id NUMBER | |
| CONSTRAINT region_id_nn NOT NULL | |
| , CONSTRAINT reg_id_pk | |
| PRIMARY KEY (region_id) | |
| , region_name VARCHAR2(25) | |
| ); | |
| CREATE TABLE countries | |
| ( country_id CHAR(2) |