This file contains 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 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 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 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 | |
* |
OlderNewer