Skip to content

Instantly share code, notes, and snippets.

@THUFIR
THUFIR / javac.txt
Created October 4, 2014 01:30
ant -v for jdom error for rome build
thufir@freegeek:~/NetBeansProjects/RomeClient$
thufir@freegeek:~/NetBeansProjects/RomeClient$
thufir@freegeek:~/NetBeansProjects/RomeClient$
thufir@freegeek:~/NetBeansProjects/RomeClient$
thufir@freegeek:~/NetBeansProjects/RomeClient$
thufir@freegeek:~/NetBeansProjects/RomeClient$
thufir@freegeek:~/NetBeansProjects/RomeClient$
thufir@freegeek:~/NetBeansProjects/RomeClient$ ant -v jar
Apache Ant(TM) version 1.8.2 compiled on December 3 2011
Trying the default build file: build.xml
@THUFIR
THUFIR / glassfish.txt
Created October 3, 2014 17:15
glassfish log
INFO: visiting unvisited references
INFO: visiting unvisited references
INFO: visiting unvisited references
INFO: visiting unvisited references
SEVERE: Exception while invoking class org.glassfish.persistence.jpa.JPADeployer prepare method
SEVERE: Exception while invoking class org.glassfish.javaee.full.deployment.EarDeployer prepare method
SEVERE: org.glassfish.deployment.common.DeploymentException: Invalid resource : jdbc/legacy__pm
at org.glassfish.javaee.full.deployment.EarDeployer.prepare(EarDeployer.java:182)
at com.sun.enterprise.v3.server.ApplicationLifecycle.prepareModule(ApplicationLifecycle.java:925)
at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:434)
@THUFIR
THUFIR / ant.txt
Created October 3, 2014 17:14
ant run, enterprise
Adding reference: ant.PropertyHelper
Detected Java version: 1.7 in: /usr/lib/jvm/java-7-openjdk-i386/jre
Detected OS: Linux
Adding reference: ant.ComponentHelper
Trying to override old definition of task java
+Datatype java org.apache.tools.ant.module.bridge.impl.ForkedJavaOverride
Trying to override old definition of task input
+Datatype input org.apache.tools.ant.module.bridge.impl.InputOverride
parsing buildfile jar:file:/home/thufir/netbeans-8.0.1/java/ant/nblib/org-netbeans-modules-ant-browsetask.jar!/org/netbeans/modules/ant/browsetask/antlib.xml with URI = jar:file:/home/thufir/netbeans-8.0.1/java/ant/nblib/org-netbeans-modules-ant-browsetask.jar!/org/netbeans/modules/ant/browsetask/antlib.xml from a zip file
parsing buildfile jar:file:/home/thufir/netbeans-8.0.1/extide/ant/lib/ant.jar!/org/apache/tools/ant/antlib.xml with URI = jar:file:/home/thufir/netbeans-8.0.1/extide/ant/lib/ant.jar!/org/apache/tools/ant/antlib.xml from a zip file
@THUFIR
THUFIR / host changes folder list
Created December 23, 2013 19:07
why does the list of folders change? Shouldn't it be using the .newsrc file, which hasn't moved or changed?
thufir@dur:~/NetBeansProjects/NNTPmail$
thufir@dur:~/NetBeansProjects/NNTPmail$
thufir@dur:~/NetBeansProjects/NNTPmail$ cat /home/thufir/.newsrc
gmane.linux.ubuntu.user: 1-10
gmane.discuss: 1-10
thufir@dur:~/NetBeansProjects/NNTPmail$
thufir@dur:~/NetBeansProjects/NNTPmail$ cat src/nntp.properties
mail.nntp.newsrc.file=/home/thufir/.newsrc
nntp.host=nntp://news.gmane.org/
thufir@dur:~/NetBeansProjects/NNTPmail$
@THUFIR
THUFIR / github
Created December 13, 2013 07:49
wrong ssh or gpg password?
thufir@dur:~/NetBeansProjects/AirHockey$
thufir@dur:~/NetBeansProjects/AirHockey$ git log
commit e6a44b2041faf1c34f4fb72514f3e2a457c99787
Author: thufir <thufir@dur.bounceme.net>
Date: Thu Dec 12 19:31:30 2013 -0800
air hockey. three balls, two bound by goal. third bounces around.
thufir@dur:~/NetBeansProjects/AirHockey$
thufir@dur:~/NetBeansProjects/AirHockey$ git status
# On branch master
@THUFIR
THUFIR / gist:6569817
Last active December 23, 2015 02:49
fast forward error?
thufir@dur:~/NetBeansProjects/MudSocketClient$
thufir@dur:~/NetBeansProjects/MudSocketClient$ git init
Initialized empty Git repository in /home/thufir/NetBeansProjects/MudSocketClient/.git/
thufir@dur:~/NetBeansProjects/MudSocketClient$
thufir@dur:~/NetBeansProjects/MudSocketClient$
thufir@dur:~/NetBeansProjects/MudSocketClient$ ll
total 28
drwxrwxr-x 5 thufir thufir 4096 Dec 11 16:12 ./
drwxrwxr-x 12 thufir thufir 4096 Dec 11 16:09 ../
-rw-rw-r-- 1 thufir thufir 3657 Dec 11 16:09 build.xml
thufir@dur:~/NetBeansProjects/TelnetConsole$
thufir@dur:~/NetBeansProjects/TelnetConsole$ git init
Initialized empty Git repository in /home/thufir/NetBeansProjects/TelnetConsole/.git/
thufir@dur:~/NetBeansProjects/TelnetConsole$
thufir@dur:~/NetBeansProjects/TelnetConsole$
thufir@dur:~/NetBeansProjects/TelnetConsole$ ll
total 28
drwxrwxr-x 5 thufir thufir 4096 Sep 1 17:03 ./
drwxrwxr-x 5 thufir thufir 4096 Sep 1 17:01 ../
-rw-rw-r-- 1 thufir thufir 3651 Sep 1 17:01 build.xml
@THUFIR
THUFIR / build.xml
Last active December 15, 2015 06:49
build.xml
<?xml version="1.0" encoding="UTF-8"?><!--
*** GENERATED FROM project.xml - DO NOT EDIT ***
*** EDIT ../build.xml INSTEAD ***
For the purpose of easier reading the script
is divided into following sections:
- initialization
- compilation
- jar
@THUFIR
THUFIR / git.txt
Last active December 15, 2015 05:48
git commands
thufir@dur:~/NetBeansProjects/gnumail-providers$ git push -u origin master
Counting objects: 3, done.
Compressing objects: 100% (2/2), done.
Writing objects: 100% (2/2), 227 bytes, done.
Total 2 (delta 1), reused 0 (delta 0)
To git@github.com:THUFIR/gnumail-providers.git
6733603..cb76e82 master -> master
Branch master set up to track remote branch master from origin.
thufir@dur:~/NetBeansProjects/gnumail-providers$
@THUFIR
THUFIR / run.txt
Created February 21, 2013 02:29
output. last two lines are; headers, then body.
run:
200 Leafnode NNTP Daemon, version 1.11.8 running at localhost (my fqdn: dur.bounceme.net)
GROUP comp.lang.java.programmer
211 9 3 11 comp.lang.java.programmer group selected
HEAD 11
221 11 <51255E60.9030003@telia.com> article retrieved - head follows
BODY 11
222 11 <51255E60.9030003@telia.com> article retrieved - body follows
Path: thufir.eternal-september.org!!eternal-september.org!mx05.eternal-september.org!feeder.eternal-september.org!feeder.erje.net!eu.feeder.erje.net!news.albasani.net!.POSTED!not-for-mailMessage-ID: <51255E60.9030003@telia.com>From: Lars Enderin <lars.enderin@telia.com>Newsgroups: comp.lang.java.programmerSubject: Re: Where is JDK 1.7_15 going on MacDate: Thu, 21 Feb 2013 00:38:08 +0100References: <kg0pdb$eir$1@news.albasani.net> <kg0rip$pbb$1@dont-email.me> <0982caa7-0e0a-421d-8343-b04203e47a4b@googlegroups.com> <kg2052$1u5$2@news.albasani.net> <3fCdnfgxVZJoFrnMnZ2dnUVZ7vadnZ2d@bt.com> <kg22gv$7bq$1@news.albasani.net> <ef98fb9a-59d0-4464-9063-e1b22d77c16a@googlegroups.com> <kg2uoh$