Skip to content

Instantly share code, notes, and snippets.

View Darkness4's full-sized avatar
๐ŸŒƒ
It should be midnight all the time.

Marc Nguyen Darkness4

๐ŸŒƒ
It should be midnight all the time.
View GitHub Profile
@kmatt
kmatt / void-wsl.txt
Last active June 16, 2025 11:14
Install Void Linux on WSL2
# Based on https://gist.github.com/kmatt/71603170556ef8ffd14984af77ff10c5
# prompt ">" indicates Powershell commands
# prompt "$" are Linux shell commands
# https://docs.microsoft.com/en-us/windows/wsl/install-win10
> dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart
> dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart
# install https://wslstorestorage.blob.core.windows.net/wslblob/wsl_update_x64.msi
@pacarvalho
pacarvalho / slurm-enqueue-job.yml
Last active March 23, 2024 13:40
Sample Github Action Workflow To Enqueue Job With SLURM Cluster
name: SLURM Enqueue Workflow
on:
push:
branches:
- 'master'
jobs:
enqueue:
runs-on: ubuntu-latest
@Darkness4
Darkness4 / .vimrc
Last active December 4, 2021 01:26
" Don't try to be vi compatible
set nocompatible
set encoding=utf-8
set hidden
set nobackup
set nowritebackup
set cmdheight=2
set updatetime=300
set shortmess+=c
set signcolumn=number
@Darkness4
Darkness4 / install-fast-zsh.sh
Last active April 12, 2021 19:07
Install oh-my-zsh, use agnoster theme, downloads and add autosuggestions, syntax highlighting and more completions to oh my zsh.
# install oh my zsh
sudo apt update
sudo apt install -y git curl zsh
sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
zsh
# download plugins
git clone https://github.com/zsh-users/zsh-autosuggestions.git $ZSH_CUSTOM/plugins/zsh-autosuggestions
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git $ZSH_CUSTOM/plugins/zsh-syntax-highlighting
@coryshaw1
coryshaw1 / saliensHack.user.js
Last active September 2, 2023 13:05
Saliens Hack UserScript - AutoSelect Planet, Invincibility, InstaKill
// ==UserScript==
// @name Saliens Hack
// @description Saliens Hack for Steam Summer Sale 2018 Game - AutoSelect Planet, Invincibility, InstaKill
//
// @author Cory "mbsurfer" Shaw
// @namespace http://github.com/coryshaw1
// @downloadURL https://gist.github.com/coryshaw1/ed51d13baa8191f53f489b9de25cc868/raw/b4807713964a9b67e1b8d7837256845b078a51c6/saliensHack.user.js
//
// @license GPLv3 - http://www.gnu.org/licenses/gpl-3.0.txt
// @copyright Copyright (C) 2018, by Cory Shaw
@silviucc
silviucc / how_to_build_kernel_on_Ubuntu.txt
Last active May 26, 2021 07:15
Easy way to build a mainline kernel on Ubuntu
Compiling a Linux kernel on Ubuntu
----------------------------------
This should be useful in the event that the user wants to investigate whether a newer kernel allows
certain peripherals to work better (or at all) or some other problems they might encounter while using
the kernel officially provided by Canonical.
As an example, I use the 4.1.5 release from kernel.org.
1) Make sure you have the build environment set up first: