service (sid) | user | pwd |
---|---|---|
prod | owner app | god |
dev | dbo | love |
uat | dba | secret |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
find ~/projects/ \( -name pom.xml -print \) | \ | |
sed 's/pom.xml//' | sort | \ | |
awk 'BEGIN {P="doh"} {if (index($0, P)==0){P=$0; print P "pom.xml"}}' | \ | |
xargs -P1 -n1 \ | |
$M2_HOME/bin/mvn install jdee:jdee -DskipTests=true -q -f |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(load "jde-autoload") | |
(setq jde-check-version-flag nil) | |
(setq jde-compile-option-directory | |
(concat user-emacs-directory "tmp")) | |
(require 'gud) | |
(defun java-my-minor () | |
(progn | |
(gtags-mode t) | |
(glasses-mode t) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(require 'jde-help) | |
;; w3 fail to load local file, so skip this feature | |
(defmethod jde-jdhelper-show-url ((this jde-jdhelper) url) | |
(let ((doc-url (jde-url-name url))) | |
(message "Displaying %s from %s" | |
(oref url :class) | |
(oref (oref url :docset) :description)) | |
(jde-jdhelper-show-document this doc-url))) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(require 'auto-complete-config) | |
(ac-config-default) | |
(add-to-list 'ac-dictionary-directories "~/.emacs.d/site-lisp/auto-complete/ac-dict") | |
(add-to-list 'ac-modes 'jde-mode) | |
(setq ac-ignore-case 'smart) | |
(setq ac-use-menu-map t) | |
(define-key ac-menu-map "\C-n" 'ac-next) | |
(define-key ac-menu-map "\C-p" 'ac-previous) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(require 'jdb-sourcepath) | |
(add-hook | |
'jdb-mode-hook | |
(lambda () | |
(set 'gud-jdb-sourcepath (jdb-sourcepath-from-rc)))) | |
(run-at-time "1:00am" (* 60 60 24) 'jdb-setup) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0"?> | |
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" | |
xmlns:f="http://foo.bar/features"> | |
<xsl:strip-space elements="*"/> | |
<xsl:output method="xml" indent="yes"/> | |
<xsl:template match="@*|node()"> | |
<xsl:copy> | |
<xsl:apply-templates select="@*|node()" /> | |
</xsl:copy> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
begin | |
refresh_mviews; | |
end; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Solr Results to Domain Object Transformation. | |
Allows to map results to different object classes using distinguisher | |
tags: Solr, Springframework, Common Collections | |
*/ | |
@Component | |
public class SearchDaoImpl { | |
@Autowired |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | |
<modelVersion>4.0.0</modelVersion> | |
<groupId>dev-tools</groupId> | |
<artifactId>solr-run</artifactId> | |
<version>1</version> | |
<name>Launching Solr Server</name> | |
<packaging>war</packaging> |
OlderNewer