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/bash | |
if [ ! $1 ]; then | |
echo usage: "${0##*/}" label | |
exit 1 | |
else | |
/usr/bin/firefox \ | |
-new-window \ | |
https://tools.usps.com/go/TrackConfirmAction_input?qtc_tLabels1=$1 & | |
clear |
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/bash - | |
# | |
# SCRIPT: configure | |
# AUTHOR: Luciano D. Cecere | |
# YEAR: 2015 | |
######################################################################## | |
# | |
# configure - generate install, uninstall and clean scripts for programs | |
# | |
# Copyright (C) 2015 Luciano D. Cecere <ldante86@aol.com> |
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/bash - | |
. testnum-lib.sh | |
LIMIT=${1:-50000} | |
_is_valid_number $LIMIT || { | |
if [ $NAN ]; then | |
echo "$LIMIT is not a positive integer" | |
else |
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/bash - | |
# | |
# SCRIPT: gdj_conversion.sh | |
# AUTHOR: Luciano D. Cecere | |
# DATE: 06/17/2015-11:08:47 AM | |
######################################################################## | |
# | |
# gdj_conversion.sh - Generate conversion chart | |
# Copyright (C) 2015 Luciano D. Cecere <ldante86@aol.com> | |
# |
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/bash - | |
# SCRIPT: pandora.sh | |
# AUTHOR: Luciano D. Cecere | |
# YEAR: 2014 | |
# | |
# Connect to pandora service through pianobar | |
# Requires pandora account. | |
pandora=/usr/bin/pianobar |
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/bash - | |
SCRIPT: binary-clock | |
AUTHOR: Luciano D. Cecere | |
YEAR: 2016 | |
PROGRAM="${0##*/}" | |
format="\n\t%s\t%s\n" |
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/zsh | |
# | |
# PROGRAM: convert.zsh | |
# AUTHOR: Luciano D. Cecere | |
# DATE: 2013 | |
script=$(basename $0) | |
typeset -i2 bin=$2 | |
typeset -i8 oct=$2 | |
typeset -i16 hex=$2 |
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/bash - | |
# | |
# SCRIPT: codon | |
# AUTHOR: Luciano D. Cecere | |
# DATE: 10/30/2014-06:09:05 PM | |
PROGRAM=${0##*/} | |
codon() | |
{ |
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/bash - | |
# | |
# SCRIPT: aacpi | |
# AUTHOR: Luciano D. Cecere | |
# DATE: 2014 | |
# | |
######################################################################## | |
# | |
# acpi - show laptop battery information | |
# Copyright (C) 2014 Luciano D. Cecere <ldante86@aol.com> |
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/bash - | |
# | |
# SCRIPT: rot | |
# AUTHOR: Luciano D. Cecere | |
# | |
######################################################################## | |
# | |
# rot - rotate the alphabet and encode a string | |
# Copyright (C) 2014 Luciano D. Cecere <ldante86@aol.com> | |
# |