Skip to content

Instantly share code, notes, and snippets.

View professorjamesmoriarty's full-sized avatar

John Jenkins professorjamesmoriarty

View GitHub Profile
#!/bin/bash
# Linux Lite System Information Report Tool for Ubuntu based systems
# Dependencies - lshw, dmidecode, hdparm
# Developer - Jerry Bezencon
# Creation Date - Monday 29th April, 2013
# Website - http://www.linuxliteos.com
# Credits - http://www.notanon.com/shell-scripts/checking-for-multiple-dependencies-simultaneously-in-your-bash-script/2010/04/25/
bold=`tput bold`
normal=`tput sgr0`
#!/bin/bash
# Linux Lite System Information Report Tool for Ubuntu based systems
# Dependencies - lshw, dmidecode, hdparm
# Developer - Jerry Bezencon
# Creation Date - Monday 29th April, 2013
# Website - http://www.linuxliteos.com
# Credits - http://www.notanon.com/shell-scripts/checking-for-multiple-dependencies-simultaneously-in-your-bash-script/2010/04/25/
bold=`tput bold`
normal=`tput sgr0`
if [[ $EUID -eq 0 ]]; then
echo "This script must NOT be run as root" 1>&2
exit 1
fi
AMDOverdriveCtrl -a -b "default.ovdr" &
pnmixer &
exec /usr/local/bin/compiz-start
compiz start-------------------------------
#!/bin/bash
#emerald --replace &
AMDOverdriveCtrl -a -b "default.ovdr" &
pnmixer &
exec /usr/local/bin/compiz-start
./usr/local/bin/compiz-start
compiz start-------------------------------
#!/bin/bash
!Xft.dpi: 121
!Xft.antialias: true
!Xft.hinting: true
!Xft.hintstyle: hintfull
!Xft.rgba: rgb
xcalendar*firstDay: 1
xcalendar*markHoliday: false
!Xcursor.theme: whitelarge
!Xcursor.size: 32
#!/bin/bash
checkcount=$(curl -s -u user:pw https://mail.google.com/mail/feed/atom | grep '<fullcount>' | sed -e 's/<fullcount>//' -e 's/<\/fullcount>//')
if [[ -n $checkcount ]] && [[ $checkcount -gt '0' ]]; then
echo "You have $checkcount new email!" | aosd_cat -n "Serif 40" -f 500 -u 5000 -o 500 -p 7 -R purple
else
echo "You have no new emails!" | aosd_cat -n "Serif 40" -f 500 -u 3000 -o 500 -p 7 -R purple
#!/bin/sh
while true; do
find ~/Pictures/wallpaper/bestwalls/ -type f \( -name '*.jpg' -o -name '*.png' \) -print0 |
shuf -n1 -z | xargs -0 feh --bg-fill
sleep 15m
done
[rules]
[rule]
instance = "xv"
#role = ""
#name = ""
theme = "titleless"
#tag = 1 # 2nd tag
screen = 0
free = true
#max = false
RAILS_ENV=production
export RAILS_ENV
RAILS_GEM_VERSION=2.2.2 # this should match the result of typing 'rails -v'
export RAILS_GEM_VERSION
RAILS_ROOT=/redmine_docroot
export RAILS_ROOT
...
case "$1" in
start)
...