evadnoob.wordpress.com
tidy xml | Evadnoob
https://evadnoob.wordpress.com/2008/06/24/tidy-xml
Emacs, Unix, Programming. I found myself needing a simple way to format some xml. The xml I had was all shoved onto one line which is pretty impossible to read. I thought, nxml-mode should be able to do this, but checking the function names provided with nxml didn’tyield anything useful as far as I could tell. So I thought tidy should be able to do this. For example, given this input xml, from a maven pom.xml where I purposefully de-formatted the xml:. I ran tidy like this:. June 24, 2008 / 11:23 pm.
evadnoob.wordpress.com
ansi colors | Evadnoob
https://evadnoob.wordpress.com/2007/08/31/14
Emacs, Unix, Programming. I really like colored terminal output, like that of ls –color. Makes using a terminal just a little more interesting. I mis that feature in emacs shell mode, so I thought I’d require ansi-color and enable it with :. Autoload 'ansi-color-for-comint-mode-on "ansi-color" nil t)(add-hook 'shell-mode-hook 'ansi-color-for-comint-mode-on). But at first it looks like. I wasn’t very happy with that, so I decided to fiddle with the attributes, and came up with :. August 31, 2007 / 7:09 pm.
evadnoob.wordpress.com
pom-parser | Evadnoob
https://evadnoob.wordpress.com/2008/03/15/pom-parser
Emacs, Unix, Programming. I’ve been trying to use pom-parser.el with maven 2.0.8. It seems that the maven.dep.cpFile property isn’t working. I checked the docs for the plugin, and it says that parameter is deprecated, replaced with outputFile. Http:/ maven.apache.org/plugins/maven-dependency-plugin/build-classpath-mojo.html#cpFile. So I tried the outputFile and that didn’t work either, for me output always goes to stdout, never to the file. GNU Emacs 23.0.60.1, and maven 2.0.8. March 15, 2008 / 1:34 am.
evadnoob.wordpress.com
Building Qt 4.7.1 with -qt-sql-oci | Evadnoob
https://evadnoob.wordpress.com/2010/11/26/building-qt-4-7-1-with-qt-sql-oci
Emacs, Unix, Programming. Building Qt 4.7.1 with -qt-sql-oci. I’ve been attempting to build Qt 4.7.1 for the last hour. I spent a few hours earlier getting Oracle 10.2.0.4 installed on my Mac (Snow Leopard 10.6). Qt ‘configure’ failed when attempting to test compile an oci.cpp file:. OCI auto-detection. (). G -c -pipe -O2 -Wall -W -I./././mkspecs/macx-g -I. -I././././oracle/instantclient 10 2/sdk/include -o oci.o oci.cpp. Ld: library not found for -lclntsh. Collect2: ld returned 1 exit status. Rwxr-xr-x@...
evadnoob.wordpress.com
edebug, why you rule | Evadnoob
https://evadnoob.wordpress.com/2008/02/03/edebug-why-you-rule
Emacs, Unix, Programming. Edebug, why you rule. Edebug is really easy to use. The emacswiki has a description of how to use SourceLevelDebugging. The info doc has an extensive description on how to use edebug too. I’ve been using the gud-jdb debugger for java. I’d like to see the gud-jdb behavior be more like edebug, where typing interacts with the debugger rather than modifying the source buffer. Here’s a screenshot of debugging a simple defun:. 8220;add the current buffers directory ”. Please log in us...
evadnoob.wordpress.com
Determine java version of oracle jvm | Evadnoob
https://evadnoob.wordpress.com/2010/08/02/determine-java-version-of-oracle-jvm
Emacs, Unix, Programming. Determine java version of oracle jvm. 15:13:29 dw:/ localhost/orcl select dbms java.GET OJVM PROPERTY('java.version') from dual;. DBMS JAVA.GET OJVM PROPERTY('JAVA.VERSION'). You’re currently reading “Determine java version of oracle jvm,” an entry on Evadnoob. August 2, 2010 / 7:17 pm. Jump to comment form. Leave a Reply Cancel reply. Enter your comment here. Please log in using one of these methods to post your comment:. Address never made public). Run sql-oracle as sysdba.
evadnoob.wordpress.com
Run sql-oracle as sysdba | Evadnoob
https://evadnoob.wordpress.com/2010/08/02/run-sql-oracle-as-sysdba
Emacs, Unix, Programming. Run sql-oracle as sysdba. Defadvice sql-oracle (around sql-oracle (&optional n) activate compile). Redefined the behavior of sql-oracle, run as sysdba". Setq sql-oracle-options (list "as sysdba") ). You’re currently reading “Run sql-oracle as sysdba,” an entry on Evadnoob. August 2, 2010 / 4:36 pm. Jump to comment form. Leave a Reply Cancel reply. Enter your comment here. Please log in using one of these methods to post your comment:. Address never made public).
evadnoob.wordpress.com
Emacs and JDEE tip | Evadnoob
https://evadnoob.wordpress.com/2008/03/20/emacs-and-jdee-tip
Emacs, Unix, Programming. Emacs and JDEE tip. As you can tell from my earlier posts I use JDEE. For Java development. My configuration has grown very organically, I’ve added a little here and there. One of my configuration changes was to hide the prj.el file. The prj.el file isn’t important to see when browsing directories with dired or from bash. I customized the name of the prj.el file:. Custom-set-variables '(jde-project-file-name .jde.project). March 20, 2008 / 2:05 am. Jump to comment form. Emacs an...
evadnoob.wordpress.com
New pictures | Evadnoob
https://evadnoob.wordpress.com/2007/06/12/11
Emacs, Unix, Programming. Been a while since my last post. Not too much has changed, except of course the kids. They are one years old now. Here’s some photos from their birthday. You’re currently reading “New pictures,” an entry on Evadnoob. June 12, 2007 / 11:46 pm. Jump to comment form. Leave a Reply Cancel reply. Enter your comment here. Please log in using one of these methods to post your comment:. Address never made public). You are commenting using your WordPress.com account. ( Log Out.