This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# bash script for FreeBSD that acts as a daemon supporting | |
# stop/start/restart for the Filebrowser program | |
# - https://github.com/filebrowser/filebrowser | |
# drop in /usr/local/bin/ and chmod +x, then use as filebrowser_service stop|start|restart | |
workdir=/home/nattefrost/ | |
pid_file=/tmp/filebrowser.pid | |
log_file=/tmp/filebrowser.log |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# call with : | |
# powershell.exe -file .\kill_process.ps1 'Dwarf Fortress' | |
param( | |
[string]$p_name = "" | |
) | |
$procid=get-process "$p_name" | select -expand id | |
Stop-Process -id $procid |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## General | |
set number # Show line numbers | |
set linebreak # Break lines at word (requires Wrap lines) | |
set showbreak=+++ # Wrap-broken line prefix | |
set textwidth=100 # Line wrap (number of cols) | |
set showmatch # Highlight matching brace | |
set errorbells # Beep or flash screen on errors | |
set visualbell # Use visual bell (no beeping) | |
set hlsearch # Highlight all search results |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- Add this to the table 'colors' in /opt/zbstudio/cfg/tomorrow.lua | |
Nattefrost = { -- Nattefrost | |
Background = H'01000c', -- very dark blue | |
CurrentLine = H'293739', | |
Selection = H'49483E', | |
Foreground = H'F8F8F2', -- super-light-gray (everything else) | |
Comment = H'374DCC', -- bright green (comments) | |
Red = H'c2ddea', -- red(numbers) | |
Orange = H'AE81FF', -- lavendar?? (numbers) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Fish functions | |
# for vagrant, postgresql and more on openSUSE | |
function fish_greeting | |
set_color 92FF7F | |
set os_version (cat /etc/os-release) | |
set os_v (echo $os_version | sed 's/\(NAME="openSUSE Leap" \).*/\1/') # catches | |
set os_v (echo $os_v | sed 's/^.*NAME="//') # removes stuff before | |
set os_v (echo $os_v | rev | cut -c 3- | rev) # removes last char " | |
set fish_version (fish -v) | |
echo $fish_version on $os_v |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
import os | |
import sys | |
import subprocess | |
import argparse | |
import psycopg2 | |
from app_config import cfg | |
from colorama import Fore, Back, Style | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# requires ffmpeg | |
# possible CLI argument -r to remove files from input_dir | |
import os | |
from colorama import * | |
import time | |
import argparse | |
YELLOW = Fore.YELLOW |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use_xft yes | |
xftfont Gnu Unifont Mono:size=14 | |
xftalpha 0.8 | |
update_interval 1.0 | |
total_run_times 0 | |
own_window yes | |
own_window_transparent yes | |
own_window_argb_visual yes | |
own_window_type normal | |
own_window_class conky-semi |