Go to Displays:
gnome-control-center display
Here sticky edges can be changed and options for the side menu or launcher bar can be moved
Tags: display, gnome-control-center, side bar, unity launcher
to create a new terminal just type screen
to go back to the original terminal type
to start command input type: ctrl – a
to detach: d
to list active sessions from original terminal: screen -ls
to retach session: screen -r [process number]
to stop a session from the session type: ctrl-a and then altGr backslash
compiling vtk gave some errors regarding xt
solution was to install libxt-dev and rerun cmake for vtk. Then run make again.
checkinstall can be used for creating a deb package
Tags: checkinstall, libxt-dev, vtk, xt
Notes on how to construct simple transformations between coordinate systems.
We have a coordinate system and another coordinate system
. To construct a transformation matrix allowing us to get coordinates,
which is expressed in coordinate system
expressed in coordinate system
a transformation matrix,
is required. This transformation matrix allow us to get
Lets say origo of coordinate system B in coordinate system A is {^A}O = [x1,y1,z1] and that the two coordinate system are otherwise aligned then the transformation matrix is:
If the systems are not aligned and instead B is rotated \pi radians around the y axis then the rotation matrix R^A_B is… It’s to cumbersome to create good-looking output… This post will end prematurely
A far from optimal workaround for adding formulas to google presentations and properly also google docs is to use
http://www.codecogs.com/latex/eqneditor.php
to construct the formula with latex syntax and load it as an image by adding an image from an URL E.g.:
formula generated by codecogs.com
The ugly drawback is that, AFAIK, you are not able to recall the link address and change your formula. But for at quick, one time workaround I think it works
Tags: equation, google docs, latex, presentation
Possible merge tools: kdiff3 and meld
Setup kdiff3 in git
git config --global difftool.prompt false
git config --global difftool.kdiff3.trustExitCode false
git config --global diff.tool kdiff3
git config --global mergetool.kdiff3.trustExitCode false
git config --global mergetool.keepBackup false
git config --global merge.tool kdiff3
When forming a merge command the following variables can be used (This should however not be necessary if the tool is supported by git)
$BASE = a generated file that contains the common base of the two files
$LOCAL = file containing the content on the current branch
$REMOTE = file containing the content of the file to be merged into the local branch
$MERGED = the name of the file to which the merge result should be written
Resolving conflicts after merge: git mergetool
Inspecting diffs: cpgit diff
Tags: git, git diff, git difftool, git merge, git mergetool, kdiff3, meld
Notes collected when trying to get dd-wrt running on dlink dir-615 rev H2.
dd-wrt installation description
http://www.dd-wrt.com/phpBB2/viewtopic.php?t=152939&postdays=0&postorder=asc&start=0
Getting client mode to work
Frst disabled security on main router. Then followed
http://www.dd-wrt.com/wiki/index.php/Client_Bridged
then added security on main router and client router (dlink dir-615) (WPA2-personal sec key: AES). Specifying AES on main router may bare been the crucial part.
Tags: ddwrt, dir-615 H2, dlink
If $dir is a mount point this if statement will determine is (Not tested)
if [ `stat -fc%t:%T "$dir"` != `stat -fc%t:%T "$dir/.."` ]; then
echo "$dir is mounted"
else
echo "$dir is not mounted"
fi
http://robotti.wikidot.com/mobilerobotquestions
Interesting article on the same topic: “Using Conical and Spherical Mirrors with Conventional Cameras for 360º Panorama Views in a Single Image” http://www.dei.uminho.pt/~aparicio/pdf/BPA_079_UsingConical_ICM06.pdf
Tags: cone mirror