I use to use
svn revert to roll back local modification and get back to the state I was in last time I checked out.
to do the same in git I use :
git checkout -- filename
As git does not automatically push to a server the way subversion does you have an opportunity to revert local commits.
git reset --soft HEAD^
rtorrent moving torrents upon completion:
# Torrents go in ~/Torrents # Incomplete Downloads in ~/Incomplete # Upon Completion Data is moved to ~/Seeding schedule = watch_directory_standard,10,10,"load_start=~/Torrents/*.torrent,d.set_directory=~/Incomplete/,d.set_custom1=~/Seeding/ #Move upon download completion. system.method.set_key =event.download.finished,move_complete,"d.set_directory=$d.get_custom1= ;execute=mv,-n,$d.get_base_path=,$d.get_custom1="
This is not a foolproof method, as vim colorschemes are just vim commands but by default they set:
let g:colors_name = "ir_black"
so to find out from vim just run
Or even simpler suggestion from farfanoide
Here are some aliased commands which stop line wrapping on really long lines, making the output much more readable:
# Stop line wrapping alias ll '(tput rmam; ls -lFh \!*; tput smam)' alias la '(tput rmam; ls -lAFh \!*; tput smam)' alias tree '(tput rmam; tree \!*; tput smam)'
Deciding to see if I could make my vim status line a bit more practical for myself. I decided to try having the modification ’+’ warning as the first thing on the line. I do not want the rest of the line jumping about when it changes from empty to +, using min widths that should be no problem:
" m is the [+] when modified set statusline=-%-01h-%10m-%-01r
This becomes empty except the ‘- - -’ when no flags are set, from :help statusline
When all items in a group becomes an empty string (i.e. flags that are not set) and a minwid is not set for the group, the whole group will become empty. This will make a group like the following disappear
The metadata panel in Lightroom has always felt a little crowded to me. It shows too many dialog boxes or not the ones I want and have to scroll through many panes.
Since most of my photography is uploaded to flickr there are a few section of metadata which are useful.
I use ‘Job Identifier’ as the shoot name, this is the same as the folder I put my RAW files in. Whe I export this becomes part of the file name. My export file name is ‘morganp-Date (YYYYMMDD)-Job Identifier-Filename’.
The title of the image in my flick export is taken from the IPTC ‘title’ . So I really only want these to setting present for my flick exports.
11 Months since the last Release Hugin 2013.0.0 is released.
One of the best photo stitchers available at any cost.
repmat(matrix, repeat_y, repeat_x)
repmat([1 2 3],[1,4]) ans = 1 2 3 1 2 3 1 2 3 1 2 3
The Lightroom 5.3 release candidate will expire on December 31, 2013.
Go to the Videolan website and download and run the libdvdcss.pkg.
Switch VLC preference, Advanced, uncheck Dvd-Video use libdvdnav (instead of libdvdread)
Also see Mackonsti.wordpress.