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
# Write your default config options here!
xy=486
vo=vdpau
vc=ffh264vdpau,ffmpeg12vdpau,ffwmv3vdpau,ffvc1vdpau,
dvd-device=/dev/cdrom
lavdopts=threads=2
ao=alsa,oss
use-filename-title=yes
framedrop=yes
hardframedrop=no
# Write your default config options here!
geometry=482x276
vo=vdpau
#ao=pulse
hwdec = auto
ao=alsa,oss
cache=36384
@cirrusUK
cirrusUK / weechat.txt
Created November 21, 2013 22:31
reference file for my weechat config
/server add geekshed irc.geekshed.net/6667
/server del freenode
/mouse enable|disable|toggle [<delay>]
/set weechat.look.mouse on
/set irc.server.geekshed.autoconnect on
/set irc.server.geekshed.command "/msg nickserv identify ********"
/set irc.server.geekshed.autojoin "#bleepingcomputer,#jupiterbroadcasting,#cirrus"
/set irc.server.freenode.username "cirrus"
@cirrusUK
cirrusUK / tpb.sh
Created November 26, 2013 18:04
shell script for use with transmission-cli to search the pirate bay torrents via TUI.
#!/bin/sh
#
# by Sairon Istyar, 2012
# distributed under the GPLv3 license
# http://www.opensource.org/licenses/gpl-3.0.html
#
### CONFIGURATION ###
# program to use for torrent download
# magnet link to torrent will be appended
@cirrusUK
cirrusUK / pipes.sh
Last active December 29, 2015 12:09
shell script to have colourful screensaver in the terminal
#!/bin/bash
# The author of the original script is unknown to me. The first entry I can
# find was posted at 2010-03-21 09:50:09 on Arch Linux Forums (doesn't mean the
# poster is the author at all):
#
p=1
f=75 s=13 r=2000 t=0
w=$(tput cols) h=$(tput lines)
# ab -> idx = a*4 + b
# 0: up, 1: right, 2: down, 3: left
@cirrusUK
cirrusUK / pms.py
Created December 4, 2013 19:49
standalone python script for searching,streaming,downloading mp3's from www.pleer.com script author https://github.com/np1/pms #python script 'poor mans spotify'
#!/usr/bin/python
''' pms
Copyright (C) 2013 nagev
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
@cirrusUK
cirrusUK / conkybarrc
Last active January 2, 2016 15:49
conky bar with weather and audacious now playing ( sh script for weather is below)
background yes
use_xft yes
xftfont DejaVu Sans Mono:size=8
xftalpha 0.8
out_to_console no
update_interval 5.0
total_run_times 0
draw_shades no
# Create own window instead of using desktop (required in nautilus)
@cirrusUK
cirrusUK / startup_conky
Last active January 2, 2016 23:48
~/.config/i3
#!/bin/sh
# Send the header so that i3bar knows we want to use JSON:
echo '{"version":1}'
# Begin the endless array.
echo '['
# We send an empty first array of blocks to make the loop simpler:
echo '[],'
@cirrusUK
cirrusUK / speedtest-cli.py
Created January 12, 2014 02:54
speedtest-cli speedtest-cli --share to get a .png image w/ results
#!/usr/bin/env python
# -*- coding: utf-8 -*-
# Copyright 2013 Matt Martz
# All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
@cirrusUK
cirrusUK / speedometer.py
Last active January 2, 2016 23:59
speedometer.py graphs in cli
#!/usr/bin/python2
# speedometer.py
# Copyright (C) 2001-2011 Ian Ward
#
# This module is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either
# version 2.1 of the License, or (at your option) any later version.
#