LVM: Grow LVM and resize partition

Sometimes your install a distro and it refuses to take up all available space. 1. Find out how much space we got to play with. $ sudo vgdisplay --- Volume group --- VG Name fedora System ID Format lvm2 Metadata Areas 1 Metadata Sequence No 3 VG Access read/write VG Status resizable MAX LV 0 Cur LV 2 Open LV 2 Max PV 0 Cur PV 1 Act PV 1 VG Size <49....

Installing a lightweight linux desktop environment with openbox and dwm

These are my installation notes for creating a lightweight linux desktop environment from scratch, which contains only the most necessary applications. I’ll probably update it slightly in the future, when I realize I have missed some application. It will contain both openbox and dwm, as I’m always torn between using a tiling versus a floating window manager. Mostly I prefer tiling ones, but with some applications, they simply don’t work well....

Over-ear headphones

Notes for buying new headphones in 2018 Requirements Over-ear headphones Good (great?) sound Possible to wear daily for 6-8 hours Wireless (Nice-to-have) Noice canceling Potential purchases Sony WH-1000XM2 / rting Weight: 275 g Battery Life: 30h Has 3.5mm: Yes Price range: 3.2-4k SEK Wireless: Yes Noice canceling: Yes Sennheiser PXC 550 / rting Weight: 227 g Battery Life: 30h Has 3.5mm: Yes Price range: 2.8-3.9k SEK Wireless: Yes Noice canceling: Yes Bose QuietComfort 35 / rting Weight: 236 g Battery Life: 20h Has 3....

February 18, 2018  | 

Django2 (python3) framework documentation collection

Some collected documentation for building a generic page in Django2 (python3) Python language Python3 libraries Framework Django documentation Django documentation - topics Deployment Django and nginx Django and uWSGI Security in Django Performance and Optimization in Django Deployment checklist Example pairing Django/nginx

February 4, 2018  | 

Create database with user

sudo -u postgres createuser USER sudo -u postgres createdb DB sudo -u postgres psql alter user USER with encrypted password 'PASS'; alter database DB owner to USER;

Rocket (rust) backend documentation collection

Some collected documentation for building an API backend in Rocket (rust) Rust language Rust by Example Framework Rocket Documentation Docker Github Page Libraries Chrono - Time and Date Diesel - ORM

Luminous (clojure) backend documentation collection

Some collected documentation for developing in luminous. Clojure docs. Language. Luminous web. Framework. Sweet/Compojure API. Luminous building block for API. Compojure. Building block for Sweet. Swagger. Building block for Sweet. Ring. Building block for Compojure. Schema. Data types and validation. Libraries Buddy-hashers. For hashing, mostly passwords. Guides Restful Clojure

TODO - Writing rsyslogd to database and viewing with modern tools

When I get some spare time I would like to make rsyslogd write its contents to database, and parse it through a web interface. In the meantime I’ll just collect some guides here. Writing syslog messages to MySQL, PostgreSQL or any other supported Database Handling a massive syslog database insert rate with Rsyslog Elasticsearch Elasticsearch - Logstash Elasticsearch - Kibana

December 9, 2017  | 

Fonts

FiraCode Supports iTerm2 & IntelliJ Has ligatures

November 18, 2017  | 

Test color support in bash

for i in {0..255} ; do printf "\x1b[48;5;%sm%3d\e[0m " "$i" "$i" if (( i == 15 )) || (( i > 15 )) && (( (i-15) % 6 == 0 )); then printf "\n"; fi done

November 18, 2017  |  🏷️Bash