Skip to content

Instantly share code, notes, and snippets.

View OdinsPlasmaRifle's full-sized avatar
💀
In an ancient crypt

Joshua van Besouw OdinsPlasmaRifle

💀
In an ancient crypt
View GitHub Profile

Arch Linux Post Installation

Create A User

Create a user:

useradd --create-home example_user
@OdinsPlasmaRifle
OdinsPlasmaRifle / python_packages.md
Last active June 25, 2019 19:55
Pypi Packaging

Python Packages

Pypi Packaging

python setup.py sdist
pip install twine

Rising Sun Substitute FAQ

Movement

There are 3 action types available to figurines in Rising Sun : Move, Summon, and Place.

Monsters

Oni of Plagues

Keybase proof

I hereby claim:

To claim this, I am signing this object:

@OdinsPlasmaRifle
OdinsPlasmaRifle / python_timed_code_snippet.py
Last active September 15, 2019 22:13
Snippet for Timing Python Code
import time
start_time = time.process_time()
# Timed code.
print("Duration:", time.process_time() - start_time, "seconds")
@OdinsPlasmaRifle
OdinsPlasmaRifle / go_sqlite.go
Last active October 11, 2017 12:59
Basic SQLite Usage in Go
import (
"database/sql"
"fmt"
_ "github.com/mattn/go-sqlite3"
)
func main() {
db, err := sql.Open("sqlite3", "db.sql")
if err != nil {

Linux Cheatsheet

Docker Maintenance

Remove dangling images:

docker image prune
@OdinsPlasmaRifle
OdinsPlasmaRifle / arch_linux_packages.md
Last active April 12, 2022 14:12
Packages for a development environment

Arch Linux Packages

Packages for an Arch Linux development environment

Pacman Install

  • zsh
  • rxvt-unicode
  • iw
  • iwd
  • dhcpcd
@OdinsPlasmaRifle
OdinsPlasmaRifle / arch_linux_installation.md
Last active March 29, 2024 14:12
LVM on LUKS Arch installation with systemd-boot