/etc/rc.conf.local
apmd_flags="-A"
dhcpd_flags=vether0
vmd_flags=
ntpd_flags="-s"
#!/bin/bash -e | |
# A SHORT DESCRIPTION OF YOUR SCRIPT GOES HERE | |
# USAGE: | |
# DESCRIPTION OF ENV VARS HERE | |
############################################################################### | |
set -e # exit on command errors (so you MUST handle exit codes properly!) | |
set -o pipefail # capture fail exit codes in piped commands | |
#set -x # execution tracing debug messages | |
# Get command info |
set backspace=2 " backspace in insert mode works like normal editor | |
syntax on " syntax highlighting | |
filetype indent on " activates indenting for files | |
set autoindent " auto indenting | |
set number " line numbers | |
colorscheme desert " colorscheme desert | |
set nobackup " get rid of anoying ~file | |
set ignorecase " Ignore case when searching | |
set hlsearch " Highlight search results | |
set smartcase " When searching try to be smart about cases |
#!/usr/bin/env bash | |
# Source: https://gist.github.com/Tadly/0741821d3694deaec1ee454a95c591fa | |
# | |
# Use rofi to pick emoji because that's what this | |
# century is about apparently... | |
# | |
# Requirements: | |
# rofi, xsel, xdotool, curl, xmllint | |
# | |
# Usage: |
# vi:syntax=sh | |
#!/usr/bin/env bash | |
# AUR updated | |
# Checks all directories for updates, then | |
# runs makepkg -si for each updated git repo | |
checkIfRepo(){ | |
stat "$1" > /dev/null || return 1; | |
cd $1; echo "Checking $1" | |
git status --porcelain >/dev/null && cd .. || return 1; # A fatal error if $PWD is not a git repos |
If you decide to follow my settings, I'm not responsible for anything that happens if you decide to go careless and become a priceless dumb. All commands are done in Linux PC using corresponding CLI programs. In Windows, just add .exe after CLI program name.
I prefer maximum compression as possible with replay gain applied. This command below will silence all warnings, especially when dealing with Hi-Res audios: a.wav: WARNING: Legacy WAVE file has format type 1 but bits-per-sample=24
$ flac --totally-silent --delete-input-file --replay-gain -V8 .wav
# Save as ~/.config/systemd/user/weechat.service | |
# Remember that you need to allow background processes to keep running | |
# even when there are no interactive sessions: | |
# sudo loginctl enable-linger username | |
# And then: | |
# systemctl --user daemon-reload && systemctl --user --now enable weechat.service | |
[Unit] | |
Description=weechat session | |
After=bitlbee.service |
/* Modern Font Stacks */ | |
/* System */ | |
font-family: system, -apple-system, ".SFNSText-Regular", "San Francisco", "Roboto", "Segoe UI", "Helvetica Neue", "Lucida Grande", sans-serif; | |
/* Times New Roman-based serif */ | |
font-family: Cambria, "Hoefler Text", Utopia, "Liberation Serif", "Nimbus Roman No9 L Regular", Times, "Times New Roman", serif; | |
/* A modern Georgia-based serif */ | |
font-family: Constantia, "Lucida Bright", Lucidabright, "Lucida Serif", Lucida, "DejaVu Serif", "Bitstream Vera Serif", "Liberation Serif", Georgia, serif; |
<%* | |
//v1.4: Adding option for including a header for each DNP day to fold | |
//'first' will add to top of file. 'last' will add to bottom of file | |
let firstOrLastLine = 'first'; | |
//Name of the Quick Capture file. Do NOT include extension '.md' | |
let qcFileName = 'Quick Capture'; | |
//Leave this blank if you want to use the default file path location (set to '/' to use root of vault) |
{ | |
"disabled": false, | |
"toolbar": true, | |
"wrap-link": { | |
"label": "Wrap Link", | |
"binding": "", | |
"template": "[[$^]]", | |
"icon": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"> <g clip-path=\"url(#clip0_101_2)\"> <path d=\"M0.114075 14.9953V5.10858H3.19611V6.35077H1.72345V13.7492H3.19611V14.9953H0.114075ZM4.61505 14.9953V5.10858H7.69708V6.35077H6.22443V13.7492H7.69708V14.9953H4.61505ZM10.7957 3.47186V16.6281H9.21759V3.47186H10.7957ZM15.4022 5.10858V14.9953H12.3201V13.7492H13.7928V6.35077H12.3201V5.10858H15.4022ZM19.9031 5.10858V14.9953H16.8211V13.7492H18.2938V6.35077H16.8211V5.10858H19.9031Z\" fill=\"white\"/> </g> <defs> <clipPath id=\"clip0_101_2\"> <rect width=\"20\" height=\"20\" fill=\"white\"/> </clipPath> </defs> </svg>" | |
}, | |
"wrap-highlight": { |