java
multithreading - kill -3 to get java thread dump - Stack Overflow
http://stackoverflow.com/questions/4876274/kill-3-to-get-java-thread-dumpjstack PID > outfile
css
Border-radius: create rounded corners with CSS! - CSS3 . Info
http://www.css3.info/preview/rounded-border/Beautiful! Simple and effective. IE, why can't you conform?!
xterm
Setting up X Term
Trying to get xterm to work appears to be rather simple, even if Apple decided to not include X11 with it's OS anymore. XQuartz was simple enough to set up. I'm not currently using xterm right now, but it's there if I need it. One major bone to pick -- why can't I paste into an xterm window?! I don't have a middle mouse button (Magic Mouse) and I don't know how to overcome this obstacle.
- http://askubuntu.com/questions/237942/how-does-copy-paste-work-with-xterm
- http://forums.macrumors.com/showthread.php?t=299656
- http://osxdaily.com/2012/12/02/x11-mac-os-x-xquartz/
- http://www.x.org/releases/X11R7.7/doc/
- http://www.x.org/wiki/Documentation/
- http://xquartz.macosforge.org/landing/
- http://www.bu.edu/tech/support/desktop/distribution/xwindows/macosx11/
- http://www.macworld.com/article/1134207/leopardx11.html
ssh; xforward
Configuring xhost
The effort to use xhost to use an xterm session to work on remote resources should be relatively easy and straight forward. It's easy, that is, if you have control over the remote to turn the X Forward
option on.
- http://unabletoremember.blogspot.com/2012/02/mac-osx-running-xterm-and-x11-xhost.html
- http://unix.stackexchange.com/questions/12755/how-to-forward-x-over-ssh-from-ubuntu-machine
- https://discussions.apple.com/thread/1865702
- http://www.csci.csusb.edu/dick/samples/remote.html
- http://askubuntu.com/questions/163155/how-do-i-access-my-remote-ubuntu-server-via-x-windows-from-my-mac
- http://www.macworld.com/article/1134207/leopardx11.html
ssh
Speeding up SSH (ControlMaster) - nion's blog
http://nion.modprobe.de/blog/archives/502-Speeding-up-SSH-ControlMaster.htmlNearly two years passed and there are still people out there who don't know 'ControlMaster' which was introduced in OpenSSH 4.0.
http://nion.modprobe.de/blog/archives/502-Speeding-up-SSH-ControlMaster.html
vim - Using Macvim over ssh - Stack Overflow
http://stackoverflow.com/questions/5321594/using-macvim-over-sshSlick; just found out about this option. Open a single file remotely through my Vim client for editing. This works if you have already configured the remote with your ssh key.
:e scp://username@host.com/path/to/file
SSH Can Do That? Productivity Tips for Working with Remote Servers | Smylers [blogs.perl.org]
http://blogs.perl.org/users/smylers/2011/08/ssh-productivity-tips.htmlExtensive resource on how ssh can be used to ease your burdens.
$ mkdir gallery_src $ sshfs dev:projects/gallery/src gallery_src $ cd gallery_src $ ls
Setting up OXSFuse and SSHFS
This is just what I need to use my local editor to edit files on a remote system. I can open multiple files with a single call and I don't need to worry with scp'ing files over once I'm done editing them.
- http://sourceforge.net/projects/osxfuse/files/osxfuse-2.6.1/osxfuse-2.6.1.dmg/download
- https://github.com/osxfuse/osxfuse/wiki/SSHFS
- https://github.com/osxfuse/sshfs/downloads
umount - Unmount the directory which is mounted by sshfs in Mac - Stack Overflow
http://stackoverflow.com/questions/14057830/unmount-the-directory-which-is-mounted-by-sshfs-in-macIf this doesn't work, try using sudo
.
umount -f <absolute pathname to the mount point>
c3p0 debugging/logging
c3p0-v0.9.5-pre5 - JDBC3 Connection and Statement Pooling - Documentation
http://www.mchange.com/projects/c3p0/#configuring_loggingLogging levels.
- OFF
- SEVERE
- WARNING
- INFO
- CONFIG
- FINE
- FINER
- FINEST
- ALL
log4j.properties example
http://www.mkyong.com/logging/log4j-log4j-properties-examples/Basic log4j.properties file. Log to STDOUT and to a file.
# Root logger option log4j.rootLogger=INFO, file, stdout # Direct log messages to a log file log4j.appender.file=org.apache.log4j.RollingFileAppender log4j.appender.file.File=C:\\loging.log log4j.appender.file.MaxFileSize=1MB log4j.appender.file.MaxBackupIndex=1 log4j.appender.file.layout=org.apache.log4j.PatternLayout log4j.appender.file.layout.ConversionPattern=%d{yyyy-MM-dd HH:mm:ss} %-5p %c{1}:%L - %m%n # Direct log messages to stdout log4j.appender.stdout=org.apache.log4j.ConsoleAppender log4j.appender.stdout.Target=System.out log4j.appender.stdout.layout=org.apache.log4j.PatternLayout log4j.appender.stdout.layout.ConversionPattern=%d{yyyy-MM-dd HH:mm:ss} %-5p %c{1}:%L - %m%n
No comments:
Post a Comment