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
<?xml version='1.0' encoding='utf-8' ?> | |
<maniacode> | |
<play_map><name>Turbo Sprint on Wood</name><url>https://trackmania.exchange/mapgbx/144053</url></play_map> | |
<show_message><message>Your message</message></show_message> | |
</maniacode> |
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
/** | |
* @author Nicolas 'Nerpson' Jullien | |
* @maintainer (this version) XertroV | |
* | |
* License: Attribution-NonCommercial-ShareAlike 4.0 International (CC BY-NC-SA 4.0) | |
* You are free to: | |
* | |
* Share — copy and redistribute the material in any medium or format | |
* Adapt — remix, transform, and build upon the material | |
* |
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
# /etc/netplan/01-asdf.yaml | |
# after populating, run: sudo netplan try | |
network: | |
version: 2 | |
renderer: networkd | |
ethernets: | |
enp5s0: | |
dhcp4: true | |
enp9s0: | |
dhcp4: true |
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
class CreateInit < ActiveRecord::Migration[6.1] | |
def change | |
# stand-in; replace later or alter as needed | |
create_table :users do |t| | |
t.text :username, limit: 63, null: false | |
t.text :hex_pw_hash, null: false, limit: 63 | |
t.text :email, unique: true, index: true | |
t.timestamps | |
end |
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 WSL_HOST_IP="$(cat /etc/resolv.conf | grep -E '[0-9]{1,3}\.' | cut -d ' ' -f 2)" | |
export DISPLAY=$WSL_HOST_IP:0 |
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
~/tmp/voting-alpha master ──────────────── 3.7.5/envs/sv-alpha-3.7.5 3.7.5 10.21.0 xertrov@vm-dev-177 08:49:58 | |
❯ cloc . | |
121 text files. | |
112 unique files. | |
47 files ignored. | |
github.com/AlDanial/cloc v 1.85 T=0.08 s (1031.7 files/s, 186863.0 lines/s) | |
------------------------------------------------------------------------------- | |
Language files blank comment code | |
------------------------------------------------------------------------------- |
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
server: | |
num-threads: 4 | |
#Enable logs | |
verbosity: 1 | |
#list of Root DNS Server | |
root-hints: "/var/lib/unbound/root.hints" |
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
# Enable Powerlevel10k instant prompt. Should stay close to the top of ~/.zshrc. | |
# Initialization code that may require console input (password prompts, [y/n] | |
# confirmations, etc.) must go above this block; everything else may go below. | |
if [[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]]; then | |
source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" | |
fi | |
# If you come from bash you might have to change your $PATH. | |
# export PATH=$HOME/bin:/usr/local/bin:$PATH |
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/env bash | |
# don't copy this line when installing | |
export _XERT_DONTRUN="true" | |
# Copy the below 2 lines to install | |
CONFIG_MY_SVR_URL="https://gist.githubusercontent.com/XertroV/898436fe500f264a1fabeac889196f9e/raw/my-ubuntu-20.04-svr.sh" | |
if [[ "$_XERT_DONTRUN" == "" ]]; then curl "$CONFIG_MY_SVR_URL?nonce=$(date +%s)" | bash; fi | |
ZSHRC_MAID_URL="https://gist.githubusercontent.com/XertroV/6b9bbe298edff882b202c189e18b9c26/raw/.zshrc" |
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
# Generated by Powerlevel10k configuration wizard on 2020-05-31 at 09:24 AEST. | |
# Based on romkatv/powerlevel10k/config/p10k-lean.zsh, checksum 13668. | |
# Wizard options: nerdfont-complete + powerline, small icons, unicode, lean, 24h time, | |
# 2 lines, solid, no frame, lightest-ornaments, sparse, few icons, concise, | |
# transient_prompt, instant_prompt=quiet. | |
# Type `p10k configure` to generate another config. | |
# | |
# Config for Powerlevel10k with lean prompt style. Type `p10k configure` to generate | |
# your own config based on it. | |
# |
NewerOlder