It comes pre-loaded wth Windows 8.1 and a bunch of Lenovo software. If you want to get this to dual boot with Ubuntu Linux, here are the specific fixes you need to do.
]]>I've been observing my work habits a lot and I think I have found out something that works for me.
I am summarizing these as a NOT-TODO list of 3 items. I am a software engineer by profession and by passion.
Has this worked for me? Absolutely much better than when I was not following these rules.
]]>
Outside Ramanagaram at 6:30am. From here till Mysore, 2 hours non-stop ride!
#!/bin/bash #in a directory full of jar files, it is common to have multiple #versions of the same jars. If versions are named with only periods #and alphanumerics, then this groups the jars by the name, deletes #all the lesser versions #get a list of jars like x-1.0.0.RELEASE.jar, get only the jar name #without version or .jar and get only non unique lines (ie., duplicate #jars are found) for PREFIX in `ls *.jar|sed 's/-[0-9\.a-zA-Z]*\.jar//g'|uniq -d`; do echo $PREFIX #now do a reverse sorted listing with the jar name and remove the #top line so that non latest versions are returned for FILE in `ls -r ${PREFIX}*|sed '1d'`; do echo " $FILE" rm -f $FILE done done]]>
sudo touch /forcefsck
To restore the gnome panel to defaults:
gconftool-2 --shutdown rm -rf ~/.gconf/apps/panel pkill gnome-panel
If clicking on any file location from say google chrome download list or other links gives an error the requested location is not a folder:
]]>sudo apt-get remove exo-utils
#make a working dir mkdir sandbox cd sandbox #checkout svn co svn://svn-repo-machine/repo/path myproject --username myusernameatsvnserver #go to work on items cd myproject #pull latest from server svn up #queue a file for addition svn add newfile.c #queue for deletion svn delete anoldfilewedontneed.c #get the info on what is different in your local vs server svn status #list commit comments on a file svn log AFILESOMEONECHANGED.c #commit one file. * will commit all that changed. svn ci -m "Edited this file for ..." filethatgotchanged.c]]>
cd ~/Dropbox mkdir -p gitroot/research.git && cd !$ git --bare init cd ~/Projects git init git remote add dropbox file://$HOME/Dropbox/gitroot/research.git git add testfile.txt git commit -m "initial" git push dropbox master ssh anothercomputer cd ~/Projects git clone -o dropbox file://$HOME/Dropbox/gitroot/research.git cd research ls >> testfile.txt git commit -m "just testing" git push dropbox master git pull dropbox master
For the first computer, once you fill the bare repo with some stuff, you can delete the folder and do a clone like how you did with the second computer.
]]>Tried Mercurial, Darcs, Bazaar and Git. Fossil is also a great tool that provides wiki, version control and ticket management. Darcs is the easiest, but for some reason, extremely slow. Finally chose Git. Download and compile was easy. Read top 3 lines in the INSTALL file in source distribution for steps. Rest of the steps explain how I set it up. Note that this may not be the best possible Git workflow. Merely that it works for me. Note that I've installed git in ~/software/git.
]]>If you are a fitness freak, don't bother. I am talking about 5km as a goal - if you routinely do 15km+, you might find this quite boring.
]]>
Sub SetCategory(strCat As String)
Dim Item As Object
Dim SelectedItems As Selection
Set SelectedItems = Outlook.ActiveExplorer.Selection
For Each Item In SelectedItems
With Item
.Categories = strCat
.Save
End With
Next Item
End Sub
Sub SetCategoryAdmin()
SetCategory ("Admin")
End Sub
]]>For more info, read Bazaar doc.
]]>