Skip to main content
Advanced Search
Search Terms
Content Type

Exact Matches
Tag Searches
Date Options
Updated after
Updated before
Created after
Created before

Search Results

98 total results found

Unattended Upgrades

Linux System Admin

To configure linux hosts to automatically install updates and upgrades, add or edit the following lines in /etc/apt/apt.conf.d/50unattended-upgrades. Feel free to change the settings as you see fit. Unattended-Upgrade::Mail "user@example.com"; Unattended-Upg...

Audio Devices

Linux Interfaces

When using various Linux Distributions, you may (or may not) run into some issues with audio devices. See some of the configs, logs, and commands below for helpful output in troubleshooting these issues. GUI Tools / Applications If looking for a GUI Tool to ...

i3

Linux Customization

i3 is a tiling window manager. See i3 User Guide for official documentation. Also see my notes below on various settings, modules, etc Because this is such a broad topic, I'll put some links here for the sources I used to configure my own Manjaro Linux system ...

Installing Fonts

Linux Customization

See the Arch wiki on Fonts for much more information. Some of this information has been copied from there for my own reference / notes. List Installed Fonts These commands will list installed fonts, see the subcategories below for sorting through installed f...

tmux

Linux Customization

Multiplexers can be used to reattach to previous sessions and manage clipboard content / session history. This means that when you close a terminal, the session still exists in the background and can be called to the foreground using your choice of tmux comman...

System Sensors

Linux Interfaces

Your system likely has many sensors built in for displaying useful information on internal hardware status. For example, the commands below will help in finding the path to system temperature sensors. user@host ~ $:sensors -f coretemp-isa-0000 Adapter: ISA ...

Swap Allocation

Linux System Admin

Creating swap memory for your host could prevent system or services from crashing when under heavy loads. To do this, run the following commands. Creating Swap Files # To createa 512MiB swap file - sudo dd if=/dev/zero of=/swapfile bs=1M count=512 status=prog...

Crontab

Linux System Admin

Using crontab to schedule tasks for the system to perform is fairly straight forward, once you get familiar with the syntax used within the configuration. Run crontab -e to open the file for editing, and modify to your needs using the examples below Tell cron...

Linux on Chromebooks

Linux

Booting Persistent USB It is possible to boot into a 3.1 USB stick with persistent data saved between sessions. There are plenty of cheap options out there for ultra portable USBs that you'll hardly notice due to their low-profiles. Even better, if you have a ...

Building Projects

C++

If you use vim, you can bind CTRL-B to build a cmake project nnoremap <C-b> :!cmake -S . -B ./build/ && cmake --build ./build Building from Bash Within bash, you can easily build a single C++ source file into an executable with g++ -g -Wall source.cpp, th...

Disk Management

Linux Interfaces

Show all disks, usage, and format type sudo df -T -h Filesystem Type Size Used Avail Use% Mounted on udev devtmpfs 930M 4.0K 930M 1% /dev tmpfs tmpfs ...

Exploring the Database

BookStack Development

I'm running my Bookstack in a docker container, so for me if I want to explore my database the first step is to get a bash terminal within the container. Lets say you've named your bookstack database container db_bookstack - the command to enter a bash termina...

Arch

Linux Distributions

Package Management Pacman First, you should check to verify your pacman-mirrors are configured to the nearest location. Do this manually by editing /etc/pacman.d/mirrorlist, or run sudo pacman-mirrors -g - [kapper@kanjaro ~ ]$ sudo pacman-mirrors -g INFO D...

Systemd Services

Linux System Admin

To define our own service with systemd, we need to create a daemon.service file. This is easily done within a few quick lines using vim, and should only take a few minutes. First, we need to locate the binary for the command we want to be executed as a servic...

Shlink

Docker Docker Compose Services

Shlink allows for passing of parameters to URLs using # for anchored links Shlink does not allow you to rename a shortlink. :( Overview Shlink is a URL shortner that can be hosted locally or in a docker container. It feels very segmented in the sense that ...

Dockerfile

Docker

Official Dockerfile Documentation Docker Images Docs is also a good place to get information on using various basic images which can be built off of. Below, we define a Dockerfile within some exclusive directory on our system where we want to work on our do...

Read The Docs

Self-Hosted Applications Documentation Generators

Features Static Generators Read The Docs (RTD) is a documentation generator that utilizes either Sphinx or MkDocs to generate the documentation site and theme, depending on your choice. The RTD GitHub houses the configurations and files that generates the ...

Project Settings

Game Development Unity

At first when opening the Unity editor I was a bit overwhelmed by the many options available, and it can be hard to get going without at least knowing how to configure the most basic of settings for a Unity project. In the sections below, I'll cover some simpl...

Scripting

Game Development Unity

Scripting in Unity uses C# and is very well documented. In the sections below, I'll Provide examples and edge cases where possible, and link to the relative documentation for quick reference. For a collection of classes and structs that are required for Unity...

Shortcuts

Game Development Unity

Since Unity has many features and shortcuts available that will widen the gap between an experienced developer and a beginner, I'll list some of my most frequently used shortcuts and tricks here. Though these can all be viewed and modified by opening the panel...