Main menu:


Site search

My Wife’s Website

Recent Posts

Categories

Archives

March 2017
S M T W T F S
« Feb    
 1234
567891011
12131415161718
19202122232425
262728293031  

Links:

Meta

Archive for 'Development'

Installing Ubuntu Utopic in VirtualBox

When I was installing Ubuntu Utopic 64-bit (14.10) inside VirtualBox, I was getting a messed up screen when booting from the ISO. At first, I thought I would have to update VirtualBox to get support for the new version of Ubuntu and I wasn’t ready to do that upgrade yet.  After I finally got time […]

Add .gitignore or LICENSE to non-empty Repo in Github

If you have some existing files on your local machine that you want to add to a new repository on Github, I find it easier to do the follow: Create an empty repository on Github. Follow the instructions (displayed in the browser after creating the repository) to add local files. When creating a new repository on Github, […]

Debian Package Versions

I have been using Synaptic to see the versions of packages at different repositories.  I really want to do it from the command-line.  I finally googled for it and found the following article: How to tell from what Ubuntu or Debian repository a package comes? Here is an example: $ apt-cache policy mono-sil mono-sil: Installed: […]

External Tools in GEdit

I didn’t realize that GEdit in Linux could have external tools.  Here is an article about formatting XML and JSON in GEdit. http://www.connorgarvey.com/blog/?p=264

Git: Bash Prompt

I like seeing some git info on my bash prompt. I have changed mine to be: if [ "$color_prompt" = yes ]; then PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w$(__git_ps1)\[\033[00m\]\n\$ ' else PS1='${debian_chroot:+($debian_chroot)}\u@\h:\w$(__git_ps1)\n\$ ' fi Update: Here is the command-line to update the .bashrc file: sed -i.bak '/\\e\]/! s@\\w@\\w$(__git_ps1)@g; s@\\\$@\\n\\\$@g' .bashrc