Skip to content

Instantly share code, notes, and snippets.

public class Test {
public static void main(final String[] args) {
}
}
@blastura
blastura / gist:23129
Created November 8, 2008 20:26
my-java.el
;; Java
;; Time-stamp: "2008-11-08 14:24:39 anton
(defun my-ant-find-build-file (dir)
"Find the next Ant build file upwards in the directory tree from DIR.
Returns nil if it cannot find a project file in DIR or an
ascendant directory. The parameter dir should be an empty string
if check should be performed on current dir.
TODO - name build.xml is hardcoded"
(let ((file (find "build.xml" (directory-files dir) :test 'string=)))
(if file
;; Anton Johansson
;; Time-stamp: "2008-11-08 18:34:02 anton"
;; Load paths
(add-to-list 'load-path (expand-file-name "~/.emacs.d"))
(add-to-list 'load-path (expand-file-name "~/.emacs.d/lisp"))
(add-to-list 'load-path (expand-file-name "~/.emacs.d/lisp-personal"))
(add-to-list 'load-path (expand-file-name "~/.emacs.d/lisp/yasnippet"))
(add-to-list 'load-path (expand-file-name "~/.emacs.d/lisp/color-theme-6.6.0"))
(add-to-list 'load-path (expand-file-name "~/.emacs.d/lisp/org-mode/lisp"))
<%@ include file="/includes/head.jsp" %>
<%@page import="se.umu.cs.edu.jap.highscoreservice.HighScoreServiceClient"%>
<%@page import="se.umu.cs.edu.jap.highscoreservice.Entry"%>
<%@page import="java.net.URL"%>
<%@page import="java.net.MalformedURLException"%>
<h1>HighScoreService</h1>
<%
try {
String urlString = "http://localhost:8081/axis2/services/HighScoreService";
;; Which is correct
;;;###autoload
(add-to-list 'auto-mode-alist '("\\.sass$" . sass-mode))
;; or
;;;###autoload (add-to-list 'auto-mode-alist '("\\.sass$" . sass-mode))
sass style.scss style.css
Syntax error: Invalid CSS after " white-space": expected ";", was ": pre;"
on line 195 of style.scss
Use --trace for backtrace.