This file contains hidden or 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/bash | |
echo "MOTD or whatever here or there.." | |
PS3="Your Game choice: " | |
cd /home/shaggy/Testingfolder/games | |
select FILENAME in *; | |
do |
This file contains hidden or 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/bash | |
echo `mplayer -cookies -cookies-file /tmp/cookie.txt $(youtube-dl -g --cookies /tmp/cookie.txt "$@")` |
This file contains hidden or 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/bash | |
# dwb: Control y | |
youtube-dl -o "/home/shaggy/Downloads/youtube/%(title)s.flv" "$DWB_URI" |
This file contains hidden or 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
extract () { | |
if [ -f $1 ] | |
then | |
case $1 in | |
(*.tar.bz2) tar -jxvf $1 ;; | |
(*.tar.gz) tar -zxvf $1 ;; | |
(*.bz2) bzip2 -d $1 ;; | |
(*.gz) gunzip -d $1 ;; | |
(*.tar) tar -xvf $1 ;; | |
(*.tgz) tar -zxvf $1 ;; |
This file contains hidden or 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
############################################## | |
# Settings | |
############################################## | |
background no | |
out_to_x no | |
out_to_console yes | |
update_interval 2 | |
total_run_times 0 | |
uppercase no | |
short_units yes |
This file contains hidden or 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/bash | |
_file="$1" | |
[ $# -eq 0 ] && { echo "Usage: $0 filename"; exit 1; } | |
[ ! -f "$_file" ] && { echo "Error: $0 file not found."; exit 2; } | |
if [ -s "$_file" ] | |
then | |
echo "new msg" | |
# do Someonething as file has data | |
else |
This file contains hidden or 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 sh | |
endpath="$HOME/.spf13-vim-3" | |
warn() { | |
echo "$1" >&2 | |
} | |
die() { | |
warn "$1" |
This file contains hidden or 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
# | |
# /etc/pacman.conf | |
# | |
# See the pacman.conf(5) manpage for option and repository directives | |
# | |
# GENERAL OPTIONS | |
# | |
[options] | |
# The following paths are commented out with their default values listed. |
This file contains hidden or 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
## | |
## /etc/pacman-mirrors.conf | |
## | |
## Branch Pacman should use (stable, testing, unstable) | |
Branch=testing | |
## Generation method | |
## 1) rank - rank mirrors depending on their access time | |
## 2) random - randomly generate the output mirrorlist |
This file contains hidden or 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/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` |