Git is available from the Ubuntu repositories in the git-core, git-doc, and git-gui packages (there are other Git-related packages available but I think those three make up a basic installation). The package maintainer’s version tends to be behind the currently available version of Git. To have the latest features and fixes in Git it is [...]
Posts Tagged ‘Ubuntu’
Tweaking the Bash Prompt
A little Saturday morning tweaking. Based on this post at railstips.org, I decided to adjust my Bash prompt by appending the following to my ~/.bashrc file: #… function parse_git_branch { ref=$(git symbolic-ref HEAD 2> /dev/null) || return echo "("${ref#refs/heads/}")" } BLACK="\[\033[0;30m\]" BLUE="\[\033[0;34m\]" VIOLET="\[\033[1;35m\]" CYAN="\[\033[0;36m\]" PS1="\n[$CYAN\u@\h:$BLUE\w$VIOLET \$(parse_git_branch)$BLACK]\n\$ " The prompt will now show the name of [...]
Pair Networks Database Backup Automation
I have a couple WordPress blogs, this being one of them, hosted at Pair Networks. I also have another non-blog site that uses a MySQL database. I have been doing backups of the databases manually through Pair’s Account Control Center (ACC) web interface on a somewhat regular basis, but it was bugging me that I [...]
How I Split Podcast Files
Note: This is a “How-I” (works for me) not a “How-to” (do as I say) post. I do goofy stuff sometimes. For example, I use Linux to download a couple podcasts targeted to Microsoft Windows developers. Specifically, I use µTorrent (that’s the “Micro” symbol so the name is pronounced “MicroTorrent”), a Windows BitTorrent client, running [...]