Skip to content

Instantly share code, notes, and snippets.

View WaterSibilantFalling's full-sized avatar
👁️
Bananarama

Stephen McGregor WaterSibilantFalling

👁️
Bananarama
  • Actually Pretty Good
  • Istanbul and New Zealand
View GitHub Profile
@WaterSibilantFalling
WaterSibilantFalling / installNeovim.sh
Created November 12, 2019 00:16 — forked from darcyparker/installNeovim.sh
Build and install neovim for Debian
#!/usr/bin/env bash
#Build and install neovim for Debian
#See: https://neovim.io/
#See: https://github.com/neovim/neovim/wiki/Building-Neovim#quick-start
#Save current dir
pushd .
#Install dependencies
@WaterSibilantFalling
WaterSibilantFalling / fvwm2rc
Created September 21, 2017 14:12
fvwm config files
ModulePath /usr/lib/fvwm/2.6.5/:${FVWM_MODULEDIR}:+
# for debugging
# see man FvwmGtkDebug
# the GTK version : seems kinda useless
#Module FvwmGtkDebug
# the text version
### READ THIS: <<<----------------- !!!!!!!!!!!
###
### if you want any changes to be applied now, then
###
### after making *ANY* change to this file
### run udevadm contol --reload
### or pkill -HUP udevd
###
@WaterSibilantFalling
WaterSibilantFalling / interfaces
Created September 21, 2017 14:10
my network/interfaces file
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# NOTE: there MUST be only ONE (1) gateway, even over wirless, dhcp, static...
# there is a workaround, assigning different gateways "metrics" (qv). dragons
#sdm# this is reccomended on https://wiki.debian.org/WiFi/HowToUse which is the
# least-resistance path to getting wifi going
# The loopback network interface
#!/bin/bash -x
# System-wide .bashrc file for interactive bash(1) shells.
if [[ -n "$done_bashrc" ]] ;
then
return 0
fi
done_bashrc="bananarama"
shopt -s checkwinsize
@WaterSibilantFalling
WaterSibilantFalling / vimrc
Created September 21, 2017 14:10
my vimrc
" ============= Contents =============================================
" 1. meta settings
" 2. plugin manager & plugins
" 3. settings for all files
" 4. call to each setup_XXX_buffers()
"5.ToggleLineNumbers()each filetype setup function
@WaterSibilantFalling
WaterSibilantFalling / sdmskype
Created September 21, 2017 14:09
does a range of preparations, and then runs skype
#!/bin/bash
# this program sets up skype to run on linux without pulseaudio
#
# already running. There are two options:
# 1. run pulseaudio just before skype, then kill it when finished with skype
# 2. use the apulse library to fool skype into thinking that there is pulse audio.
# apulse relies on alsa - it just passes pulseaudio commands through to ALSA
@WaterSibilantFalling
WaterSibilantFalling / simpleCleaner
Created September 21, 2017 14:05
a simple cleain-up script
#!/bin/bash
VIM_BU_DIR="/work/BACKUP/vimBackups"
# thumbnails
rm -f -d /home/me/.thumbnails/*/*/* ;
rm -f -d /home/me/.thumbnails/*/* ;
rm -f -d /home/me/.thumbnails/* ;
@WaterSibilantFalling
WaterSibilantFalling / sdmBleechBit.sh
Created September 21, 2017 14:04
script to easily and regularlly run a bleech-bit run.
#!/bin/bash
# ideally the 'firefox-bin' in line 3 of this would be replaced by $var,
# but substitution is not working: I can't $var substitiute in here
# (the $var could be an 'egrep aaa\|bbb\|ccc ... ' list var, too.)
# is firefox running
FIREFOX_RUNNING=`ps -a \
| awk '{ print $4 }' \
| grep firefox-bin \
@WaterSibilantFalling
WaterSibilantFalling / rs
Created September 21, 2017 14:03
removes spaces and difficult characters from all the files in the local directory, or from one single file
#!/usr/bin/perl
# This program removes spaces and crap from *nix filenames
#
use common::sense;
my $shitReplaceChar = '_'; # use this car in place of the removed junk characters
use autodie;