This file contains 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/perl -w | |
#example ./ago /etc/hosts | |
=head1 NAME | |
ago - Show how long ago files/directories were modified | |
=cut | |
=head1 SYNOPSIS |
This file contains 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
# $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 |
This file contains 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
while true; do | |
OSD=$(mpc current) | |
xcowsay --image=/path/to/image.png "MPD Now Playing" "$OSD" | |
mpc idle player > /dev/null | |
done |
This file contains 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
background no | |
out_to_console yes | |
out_to_x no | |
use_xft yes | |
update_interval 1.0 | |
total_run_times 0 | |
use_spacer none | |
default_color 497BF7 | |
override_utf8_locale yes |
This file contains 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
# Copyright 2012 Cirrus Minor. All rights reserved. | |
# | |
# Redistribution and use in source and binary forms, with or without modification, are | |
# permitted provided that the following conditions are met: | |
# | |
# 1. Redistributions of source code must retain the above copyright notice, this list of | |
# conditions and the following disclaimer. | |
# 2. Redistributions in binary form must reproduce the above copyright notice, this list | |
# of conditions and the following disclaimer in the documentation and/or other materials | |
# provided with the distribution. |
This file contains 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
./iplayer --update | |
./iplayer --refresh --type=all | |
./iplayer --refresh-exclude="cbeebies,cbbc" --type=tv --refresh | |
./iplayer football | |
./iplayer Match of the Day | |
./iplayer Late Kick Off London and the South East | |
./iplayer Question Time | |
./iplayer sportscene | |
./iplayer motd | |
./iplayer motd2 |
This file contains 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
cirrus@hawker64 ~ journalctl -b | grep microcode | |
Oct 23 14:15:05 hawker64 kernel: CPU0 microcode updated early to revision 0x19, date = 2013-06-21 | |
Oct 23 14:15:05 hawker64 kernel: CPU1 microcode updated early to revision 0x19, date = 2013-06-21 | |
Oct 23 14:15:05 hawker64 kernel: CPU2 microcode updated early to revision 0x19, date = 2013-06-21 | |
Oct 23 14:15:05 hawker64 kernel: CPU3 microcode updated early to revision 0x19, date = 2013-06-21 | |
Oct 23 14:15:05 hawker64 kernel: microcode: CPU0 sig=0x106a5, pf=0x2, revision=0x19 | |
Oct 23 14:15:05 hawker64 kernel: microcode: CPU1 sig=0x106a5, pf=0x2, revision=0x19 | |
Oct 23 14:15:05 hawker64 kernel: microcode: CPU2 sig=0x106a5, pf=0x2, revision=0x19 | |
Oct 23 14:15:05 hawker64 kernel: microcode: CPU3 sig=0x106a5, pf=0x2, revision=0x19 | |
Oct 23 14:15:05 hawker64 kernel: microcode: CPU4 sig=0x106a5, pf=0x2, revision=0x19 |
This file contains 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
#!/bin/sh | |
URL="http://feeds.bbci.co.uk/news/uk/rss.xml" | |
curl --silent "$URL" | grep -E '(title>|description>)' | \ | |
grep -E '(<title>|description)' | tail -n +4 | sed -e 's/<!\[CDATA\[//g' -e 's/\]\]>//g' | sed -e 's/<a.*a>/ /g' | sed -e 's/<*.title>//g' -e 's/<.*/\ | |
/' | sed -e 's/<*.title>//g' -e 's/<.*/\ | |
/' | sed -e '/<description>/d' | sed -e 's/<\/description>/\ | |
/g | |
' | fmt -w 80 |
This file contains 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 | |
''' | |
This program is designed to work in tandem with dunst and i3blocks to extend | |
the functionality of the existing i3blocks notification blocklet and allow | |
multiple notifications of different priority levels to stack and be displayed. | |
Copyright (C) 2014 Tomasz Kramkowski | |
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 2 of the License, or |
This file contains 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
APPNAME="notify-send" | |
SUMMARY="fedorausers" | |
BODY="#linux #fedora Re: Font issues in F21 http://t.co/ILRkmD1QHA" | |
ICON="info" | |
URGENCY="NORMAL" | |
##changes as notifiactions change, i use this file to grep and pipe notifications to conky/dzen in openbox |