

Just a poor developer
<script type="text/javascript" language="javascript">
// code here
</script>
<script type="text/javascript" language="javascript" src="blah.js" />
<script type="text/javascript" language="javascript" src="blah.js">
</script>
public class SetBlahAction implements Action {
public String execute() {
HttpServletRequest request =
ServletActionContext.getHttpServletRequest();
request.setAttribute("blah", "blah");
return SUCCESS;
}
}
public class SetBlahAction implements Action, ServletRequestAware {
private ServletRequest request;
public void setServletRequest(ServletRequest request) {
this.request = request;
}
public String execute() {
request.setAttribute("blah", "blah");
return SUCCESS;
}
}
workers.tomcat_home=C:/www/Tomcat6
workers.java_home=C:/jdk1.5.0_09
ps=\
# Define worker 'example'
worker.list=example
# Set properties for worker 'example' (ajp13)
worker.example.type=ajp13
worker.example.host=localhost
worker.example.port=8009
worker.example.cachesize=10
worker.example.cache_timeout=600
worker.example.socket_keepalive=1
worker.example.reclycle_timeout=300
LoadModule jk_module modules/mod_jk.so
<IfModule mod_jk.c>
JkWorkersFile conf/workers.properties
JkLogFile logs/mod_jk.log
JkLogLevel error
JkLogStampFormat "[%a %b %d %H:%M:%S %Y] "
JkOptions +ForwardKeySize +ForwardURICompat -ForwardDirectories
JkRequestLogFormat "%w %V %T"
Alias /examples "C:/www/Tomcat6/webapps/examples/"
<Directory "C:/www/Tomcat6/webapps/examples/">
Options Indexes +FollowSymLinks
AllowOverride None
Allow from all
</Directory>
<Location /*/WEB-INF/*>
AllowOverride None
deny from all
</Location>
JkMount /examples/jsp/*.jsp example
JkMount /examples/servlets/* example
</IfModule>
<role rolename="manager"/>
<user username="manager" password="manager" roles="manager"/>
New feature: Supports to generate hardcode arguments
Fixed bug: Need to reset return value of dialog if user click Cancel
Fixed bug: Some minor bugs
* Plugins. Included sources of GWT Studio, JBoss, Geronimo
and GlassFish plugins in the Plugin Development Package.
* Bugfixes and minor improvements.
public String getExtension(File file) {
String osName = System.getProperty("os.name");
if (osName.startsWith("Windows")) {
String filename = file.getName();
int index = filename.lastIndexOf(".");
if (index > 0 && index < filename.length() - 1) {
// extesion in Windows doesn't include the dot
// so we must use (index + 1) to substring
return filename.substring(index + 1).toLowerCase();
} else if (index == filename.length() - 1) {
// the dot is the last character in filename
// so extension is blank
return "";
}
// otherwise, this file doesn't have extension
// so we should return null
}
return null;
}
class TouristGuide {
private ArrayList<Tour> tours = new ArrayList<Tour>();
public ArrayList<Tour> getTours() {
return tours;
}
public void addTour(Tour tour) {
tours.add(tour);
}
...
}
class Order {
private ArrayList<OrderItem> orderItems;
public ArrayList<OrderItem> getOrderItems() {
return orderItems;
}
public void addOrderItem(OrderItem orderItem) {
if (orderItems == null) {
orderItems = new ArrayList<OrderItem>();
}
orderItems.add(orderItem);
}
...
}
* JavaScript. Bundled Inspection-JS plugin.
* Java EE. Bundled JBoss, Geronimo and GlassFish plugins.
* Bugfixes and minor improvements.
* CVS. Offline mode support.
* Intention to create enum constant.
* Bugfixes and minor improvements.
@echo off
if "%2"=="" goto error
java HelloKitty %1 %2
goto end
:error
echo Usage: hello arg1 arg2
:end
* GUI Designer. Better GridBagLayout support (all properties of
GridBagConstraints are now editable).
* JUnit. Intenion to add junit.jar to classpath.
* Bugfixes and minor improvements.
Manifest-Version: 1.0
Main-Class: kr.co.xxx.rfReader2SerialPort.RFReader2SerialPort
java -cp ./lib/converter.jar;./lib/comm.jar
-jar ./RFReader2SerialPort.jar
java -cp ./RFReader2SerialPort.jar;./lib/converter.jar;./lib/comm.jar
kr.co.xxx.rfReader2SerialPort.RFReader2SerialPort
I said hello I think I'm broken
And though I was only jokin'
It took me by surprise when you agreed
I was tryin' to be clever
For the life of me I never
Would have guessed how far the simple truth would lead
You knew all my lines
You knew all my tricks
You knew how to heal that pain
No medicine can fix
And I bless the day I met you
And I thank God that He let you
Lay beside me for a moment that lives on
And the good news is I'm better
For the time we spent together
And the bad news is you're gone
Lookin' back it's still surprisin'
I was sinking you were rising
With a look you caught me in mid-air
Now I know God has His reasons
But sometimes it's hard to see them
When I lie awake and find that you're not there
You found hope in hopeless
You made crazy sane
You became the missing link
That helped me break my chains
And I bless the day I met you
And I thank God that He let you
Lay beside me for a moment that lives on
And the good news is I'm better
For the time we spent together
And the bad news is you're gone
The bad news is you're gone
+ KISS: Keep It Simple Stupid
+ WYSIWYG: What You See Is What You Get
+ DRY: Don't Repeat Yourself
+ LOL: Laughing Out Loud
+ AFAIK: As Far As I Know
+ IMO: In My Opinion
sudo mount -t vfat -o uid=t800t8,gid=users /dev/sda /media/flash
sudo mount -t vfat -o uid=t800t8,gid=users /dev/sda1 /media/flash
sudo umount /media/flash
tar -xjf gyach-install.tar.bz2
cd gyach
sudo ./install
* HTML Preview plugin for previewing Web pages in an embedded Mozilla
browser.
* Bugfixes and minor improvements.
$sudo apt-get install gcc xlibs-dev libxft-dev make cvs
$ cvs -d ':pserver:anonymous@xvnkb.cvs.sf.net:/cvsroot/xvnkb' login
$ cvs -z3 -d ':pserver:anonymous@xvnkb.cvs.sf.net:/cvsroot/xvnkb'
checkout xvnkb
$ cd xvnkb
$ ./autogen.sh
$ ./configure
$ make
$sudo make install
[project-root]
|
|------- \Module1
| |
| |------- \src
| |------- \test
| |------- \javadoc
| |------- \lib
| |------- build.properties
| |------- build.xml
|
|------- \Module2
| |
| |------- \src
| |------- \test
| |------- \javadoc
| |------- \lib
| |------- build.properties
| |------- build.xml
|
|------- \build
| |
| |------- \production
| | |
| | |-------- \Module1
| | |-------- \Module2
| |
| |------- \test
| |
| |-------- \Module1
| |-------- \Module2
|
|------- \dist
| |
| |------- \Module1
| |------- \Module2
sudo apt-get install subversion libapache2-svn
libapache-mod-dav apache2
sudo a2enmod ssl
sudo /etc/init.d/apache2 stop
sudo gedit /etc/apache2/ports.conf
Listen 443
sudo apache2-ssl-certificate
Country Name: <country_code> (example: VN)
State or Province Name: <state_name>
Locality Name: <city_name>
Organization Name: <organization_name>
Organization Unit Name: <organization_unit_name>
Server Name: <server_name>
Email Address: <email_address>
sudo cp /etc/apache2/sites-available/default
/etc/apache2/sites-available/<sitename>
sudo gedit /etc/apache2/sites-available/<sitename>
SSLEngine on
SSLCertificateFile /etc/apache2/ssl/apache.pem
SSLProtocol all
SSLCipherSuite HIGH:MEDIUM
sudo ln -s /etc/apache2/sites-available/<sitename>
/etc/apache2/sites-enabled/<sitename>
sudo svnadmin create /var/lib/svn
sudo chown -R www-data:www-data /var/lib/svn
sudo chmod -R g+ws /var/lib/svn
sudo htpasswd -c -m /var/lib/svn/conf/htpasswds <username>
sudo gedit /etc/apache2/mods-available/dav_svn.conf
DAV svn
SVNPath /var/lib/svn
AuthType Basic
AuthName "Subversion Repository"
AuthUserFile /var/lib/svn/conf/htpasswds
Require valid-user
SSLRequireSSL
#<LimitExcept GET PROPFIND OPTIONS REPORT>
# Require valid-user
#</LimitExcept>
sudo /etc/init.d/apache2 start
public enum Orientation
{
East = 1,
West = East,
South = 2,
North = 3
}
switch (orientation)
{
case Orientation.East:
Console.WriteLine("East");
break;
case Orientation.North:
Console.WriteLine("North");
break;
case Orientation.South:
Console.WriteLine("South");
break;
case Orientation.West:
Console.WriteLine("West");
break;
}
* The configuration annotations are now called @BeforeTest,
@BeforeSuite, etc...
* The reports are now created in their own directory (one per suite)
and a main index file shows a list of all the suites that were
just run. They have also received a series of improvements in
appearance and content.
* It is now possible to specify the suite and test names directly in
the @Test annotations, which allows you to do without a testng.xml.
* expectedExceptions has moved inside @Test.
* TestNG shows you friendly stack traces.
+ Open Firefox
+ Now connect to your external drive (HDD or flash drive)
+ Try to upload from Firefox, you will not find new drive (in
Browse dialog)
+ Restart Fifefox then try to upload again, now you can find new drive
* JSP. Major performance improvements.
* Perforce. Synchronization of changelists between IDEA and Perforce.
* New scope configuration UI.
* CSS. Intention to extract inline style.
* Improved detection of invalid @Nullable/@NotNull annotations.
* Other improvements and bugfixes.
* EJB. Support for EJB 2.1 spec.
* Subversion. New repository browser.
* GWT Studio. Major functionality improvements.
* Updated project roots configuration UI.
* Intentions. Create enum from usage.
* Intentions. When creating method from usage in inner class,
possibility to place created method in outer class.
* GUI Designer. Support for binding button groups to class fields.
* Other improvements and bugfixes.
#parse("File Header.java")
package ${PACKAGE_NAME};
import static org.testng.Assert.*;
import org.testng.annotations.*;
public class ${NAME} {
@Configuration(beforeTestClass = true)
public void setUp() {
// Code to set up the test class comes here
}
@Configuration(afterTestClass = true)
public void tearDown() {
// Code to clean up the test class comes here
}
@Test
public void testSomething() {
// Code to test comes here
}
}
* Ant. New Ant integration plugin included in the distribution.
* GWT Studio plugin included in the distribution.
* New project roots configuration UI.
* Subversion. Import into SVN action.
* Possibility to exclude certain packages from class name completion
and auto-import prompts.
* Emacs like expand word completion (Alt-slash).
* Other improvements and bugfixes.