start new:
tmux
start new with session name:
tmux new -s myname
| #!/bin/bash | |
| monitor-sensor --accel | while read line | |
| orientation="normal" | |
| rotate="none" | |
| do | |
| if [[ $line =~ .*right.* ]]; then | |
| orientation="right" | |
| rotate="cw" | |
| elif [[ $line =~ .*left.* ]]; then |
| Aim | |
| To make sense of LibreOffice source code. I plan to put a breakpoint in the constructors of | |
| SwTableBox, and then get the back trace to see the flow and gain a little understanding of what's | |
| going on. This is post is aimed at beginners, so a little knowledge of C++/Java should be able to | |
| get one through this. | |
| [A Little Background Info (Skip this) | |
| I'm a programmer from the Center for Development of Advanced Computing (CDAC), India, currently |
| #include <stdio.h> | |
| #include <stdlib.h> | |
| #include <string.h> | |
| #include <sys/types.h> | |
| #include <sys/stat.h> | |
| #include <sys/ioctl.h> | |
| #include <sys/poll.h> | |
| #include <sys/time.h> | |
| #include <fcntl.h> | |
| #include <errno.h> |