Skip to content

Instantly share code, notes, and snippets.

View cirrusUK's full-sized avatar
💭
Dunroamin, Duncarin, Dunlivin.

cirrus cirrusUK

💭
Dunroamin, Duncarin, Dunlivin.
View GitHub Profile
@cirrusUK
cirrusUK / config
Last active August 29, 2015 13:56
~/.i3/config
# This file has been auto-generated by i3-config-wizard(1).
# It will not be overwritten, so edit it as you like.
#
# Should you change your keyboard layout somewhen, delete
# this file and re-run i3-config-wizard(1).
#
#
# i3 config file (v4)
#
# Please see http://i3wm.org/docs/userguide.html for a complete reference!
@cirrusUK
cirrusUK / .gntrc
Created March 6, 2014 19:59
file which determines colours used in finch ~/.gntrc
[Finch]
color-available = yellow; default
color-away = green; default
color-idle = green; default
color-offline = darkgray; default
color-message-sent = green; default
color-message-received = green; default
color-message-highlight = red; default
color-message-action = green; default
color-timestamp = blue; default
@cirrusUK
cirrusUK / termite config
Created March 6, 2014 20:03
config file for termite ~/.config/termite/config
[options]
resize_grip = false
geometry = 1920x1040
scroll_on_output = true
scroll_on_keystroke = true
audible_bell = true
visible_bell = true
mouse_autohide = true
dynamic_title = true
urgent_on_bell = true
@cirrusUK
cirrusUK / ball.sh
Created March 11, 2014 20:49
shell script to show terminal colours
#! /bin/sh
printf "\033[0m
\033[49;35m|\033[49;31m|\033[101;31m|\033[41;97m|\033[49;91m|\033[49;93m|\033[0m
\033[105;35m|\033[45;97m|\033[49;97m||\033[100;97m||\033[49;37m||\033[103;33m|\033[43;97m|\033[0m
\033[49;95m|\033[49;94m|\033[100;37m||\033[40;97m||\033[40;37m||\033[49;33m|\033[49;32m|\033[0m
\033[104;34m|\033[44;97m|\033[49;90m||\033[40;39m||\033[49;39m||\033[102;32m|\033[42;97m|\033[0m
\033[49;34m|\033[49;36m|\033[106;36m|\033[46;97m|\033[49;96m|\033[49;92m|\033[0m"
@cirrusUK
cirrusUK / .conkybar
Created April 22, 2014 23:04
.conkybar : vertical conky panel
background yes
use_xft yes
#xftfont DejaVu Sans Mono:size=8
xftfont envy code r:size=10
xftalpha 0.6
out_to_console no
update_interval 1.5
total_run_times 0
draw_shades no
override_utf8_locale yes
@cirrusUK
cirrusUK / mount7.sh
Created May 15, 2014 20:02
simple shell script using notify-send for mounting HDD
#!/bin/bash
notify-send -i ~/.icons/win.png "Mounting Drive" " Windows 7 HDD Online " && sudo mount /dev/sda2 /mnt/sda2
mpg123 ~/sonar.mp3
@cirrusUK
cirrusUK / mountdroid.sh
Last active August 29, 2015 14:01
best and most stable method ive found for mounting android devices is the 'simple-mtpfs' package
#!/bin/bash
notify-send -i ~/.icons/s4.png "Mounting Android Device" " Samsung Galaxy S4 Mounted " && simple-mtpfs /media/s4
mpg123 ~/sonar.mp3
background yes
use_xft yes
xftfont envy code r:size=10
xftalpha 0.8
out_to_console no
update_interval 5.0
total_run_times 0
draw_shades no
override_utf8_locale yes
background yes
@cirrusUK
cirrusUK / ago
Created June 29, 2014 21:07
ago - Show how long ago files/directories were modified
#!/usr/bin/perl -w
#example ./ago /etc/hosts
=head1 NAME
ago - Show how long ago files/directories were modified
=cut
=head1 SYNOPSIS
@cirrusUK
cirrusUK / .login
Last active August 29, 2015 14:05
BSD configs
# $FreeBSD: release/10.0.0/share/skel/dot.login 190477 2009-03-27 21:13:14Z ru $
#
# .login - csh login script, read by login shell, after `.cshrc' at login.
#
# see also csh(1), environ(7).
#
export LC_ALL=en_GB.UTF-8
if ( -x /usr/games/fortune ) /usr/games/fortune freebsd-tips