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
# paster this into the end of your ~/.bashrc file | |
# 256 color by default for X | |
if [ -n "$DISPLAY" -a "$TERM" == "xterm" ]; then | |
export TERM=xterm-256color | |
fi |
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 | |
# Get espeak PID if it is running | |
PID=`pgrep -x espeak` | |
echo Process ID: $PID | |
if [ -z $PID ]; | |
then | |
# Not runnning |
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
# set build number only for release (Product|Archive) | |
if [ "$CONFIGURATION" == "Release" ]; then | |
# get GIT revision number | |
buildNumber=`git rev-list --count HEAD` | |
# if not git, then get SVN revision number | |
if [[ -z "$buildNumber" ]]; then | |
buildNumber=`svn info | grep "Revision" | awk '{print $2}'` | |
fi |
NewerOlder