Install:
apt-get install sshfs
Mount remote home:
sshfs hostname: mountpoint
Mount under different user:
sshfs user@hostname: mountpoint
Mount specific path:
sshfs hostname:/path mountpoint
Umount:
fusermount -u mountpoint
source: http://fuse.sourceforge.net/sshfs.html
Tuesday, May 26, 2009
Thursday, May 14, 2009
Burning DVD in Debian Linux
Burning CD / DVD under Debian / Kubuntu
# Install k3b
apt-get install k3b libk3b2-extracodecs
# Suggested packages
k3b-i18n movixmaker-2 normalize-audio sox toolame
# Run k3b
k3b
# Install k3b
apt-get install k3b libk3b2-extracodecs
# Suggested packages
k3b-i18n movixmaker-2 normalize-audio sox toolame
# Run k3b
k3b
Thursday, May 07, 2009
Debugging with gdb
If I want to debug some program I miss some handfull guide. Here is one:
Commands
gdb name-of-executable
gdb -e name-of-executable -c name-of-core-file
gdb name-of-executable -pid process-id
(Use ps -auxw to list process id's.)
Resources
Software
cgdb - curses based gdb ide
ddd - gdb ide for x window
Other Linux Debugging techniques
Linux Applications Debugging Techniques
Linux Applications Debugging Techniques/The debugger
Linux Applications Debugging Techniques/Heap corruption
Linux Applications Debugging Techniques/Stack corruption
Linux Applications Debugging Techniques/Leaks
Valgrind usage
valgrind --leak-check=full \
--show-leak-kinds=all \
--track-origins=yes \
--verbose \
--log-file=valgrind-out.txt \
./executable exampleParam1
GCC compile/link options:
-fsanitize=address
XORs with:
-fsanitize=thread
Oracle OFFSET LIMIT
ROWNUM psuedocolumn or the ROW_NUMBER()
A:
Q: offset limit https://stackoverflow.com/questions/2912144/alternatives-to-limit-and-offset-for-paging-in-oracle
A: subselect: https://stackoverflow.com/q/2912144
A2: Oracle 12g: https://stackoverflow.com/a/25600033
A3: Oracle 10g: https://stackoverflow.com/a/5221509
Subscribe to:
Posts (Atom)