All mermaid cheatsheets combined with duplicate code removed
flowchart LR;
#!/bin/sh | |
# SPDX-FileCopyrightText: 2017-2024 SanderTheDragon <[email protected]> | |
# | |
# SPDX-License-Identifier: MIT | |
arch=$(dpkg --print-architecture) | |
echo "Detected architecture: $arch" | |
case "$arch" in |
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
# | |
# This is how I used it: | |
# $ cat ~/.bash_history | python bash-to-zsh-hist.py >> ~/.zsh_history | |
import sys | |
import time |
#The mouse will suck on linux because of the programmable buttons. | |
#This script will change the button-delegation so that the mouse doesn't stuck. | |
#@link https://community.linuxmint.com/hardware/view/10217 | |
sudo mkdir /etc/X11/xorg.conf.d | |
sudo rm /etc/X11/xorg.conf.d/910-rat.conf | |
# add the following to the file | |
echo "Section \"InputClass\"" >> /etc/X11/xorg.conf.d/910-rat.conf |
In the seemlingly endless search for the actual correct and easy way to deploy a Rails app, we have tried several ways. We tried out using Apache2 and running a cluster of Thin servers. With the built in threading of Puma we decided to use it with Nginx.
#!/usr/bin/awk -f | |
# | |
# Author: Matt Pascoe - [email protected] | |
# | |
# This awk script is used to extract relavant information from a dhcpd.conf | |
# config file and build dcm.pl output with appropriate fields. This can be | |
# used to bootstrap a new database from existing site data. | |
# As usual, inspect the output for accuracy. | |
# Also you will get three types of output, subnet,pool,host. You must | |
# add the subnet information first, then pool, then host. |