Thursday, November 21, 2013

Sirius

Sirius is an Eclipse project which allows you to easily create your own graphical modeling workbench by leveraging the Eclipse Modeling technologies, including EMF and GMF.

Friday, October 18, 2013

Saturday, September 14, 2013

ANTLR 4 grammars

https://github.com/antlr/grammars-v4

Monday, September 9, 2013

Friday, August 30, 2013

Typography tutorial

http://www.creativebloq.com/graphic-design-tips/typography-tutorials-1232719

http://www.linotypefilm.com/

http://typedia.com/learn/only/anatomy-of-a-typeface/
http://www.typeissexy.com/

http://bonfx.com/the-big-book-of-font-combinations/?cmp=39

Notes Taking (tagging)

http://cintanotes.com/

JSpinner

http://stackoverflow.com/questions/16632104/jspinner-with-display-format-numbers-only-and-manual-edit
http://www.jroller.com/dpmihai/entry/documentfilter


To access the buttons:

jSpinner1.setUI(new MyUI());

class MyUI extends javax.swing.plaf.basic.BasicSpinnerUI {

        protected Component createNextButton() {
            JButton btnUp = (JButton) super.createNextButton();
            btnUp.addActionListener(new ActionListener() {
                public void actionPerformed(ActionEvent ae) {
                   
                    System.out.println("Going up");
                }
            });
            return btnUp;
        }

        protected Component createPreviousButton() {
            JButton btnDown = (JButton) super.createPreviousButton();
            btnDown.addActionListener(new ActionListener() {
                public void actionPerformed(ActionEvent ae) {
                    System.out.println("Going down");
                }
            });
            return btnDown;
        }
    }

Thursday, August 8, 2013

UNetbootin

http://sourceforge.net/projects/unetbootin/?source=dlp

Java EditorKit

http://java-sl.com/articles.html

http://java-sl.com/docx_editor_kit.html

Wednesday, July 17, 2013

Listbox for JSP/Servlet


In servlet, use HttpServletRequest#getParameterValues()
http://stackoverflow.com/questions/4184299/how-to-pass-the-value-of-listbox-from-jsp-to-servlet
http://stackoverflow.com/questions/2407945/how-to-get-multiple-selected-values-from-select-box-in-jsp

E.g. in javascript

var x = document.getElementById("user_list");
for (var i = 0; i < x.options.length; i++) {
     if(x.options[i].selected ==true){
         alert(i + ": " +  x.options[i].selected + ": " + x.options[i].value + ": " + x.options[i].text);
      }
  }

Monday, July 1, 2013

SQL: Sequence

http://stackoverflow.com/questions/10210273/how-to-retrieve-the-current-value-of-an-oracle-sequence-without-increment-it

JavaFX: Open Source Nautical Software

https://github.com/terre-virtuelle/navisu http://blog.navisu.org/?lang=en

Websocket JEE 7

http://apex.oracle.com/pls/apex/f?p=44785:24:0::::P24_CONTENT_ID,P24_PREV_PAGE:7699,1

Swing Validation

https://kenai.com/projects/simplevalidation/pages/Home

Sunday, June 30, 2013

SQL: Insert a degree character

alt+248 or alt+0186 for typing the symbol https://forums.oracle.com/thread/635893

Wednesday, June 26, 2013

Memory Limit for Windows OS

http://msdn.microsoft.com/en-us/library/windows/desktop/aa366778(v=vs.85).aspx

MIME type for Microsoft Office documents

http://technet.microsoft.com/en-us/library/ee309278%28office.12%29.aspx

Tuesday, June 25, 2013

Excel file from Servlet

http://www.java-forums.org/blogs/servlet/668-how-write-servlet-sends-file-user-download.html http://www.mkyong.com/servlet/servlet-code-to-download-text-file-from-website-java/ http://stackoverflow.com/questions/1442893/implementing-a-simple-file-download-servlet http://todayguesswhat.blogspot.sg/2012/07/file-download-java-servlet-example-2gb.html http://stackoverflow.com/questions/11226603/create-an-excel-file-for-users-to-download-using-apache-poi-jsp http://nomanabbasi.wordpress.com/2011/09/13/jexcel-create-excel-file-using-outputstream/ http://www.roseindia.net/jsp/poi/Createexcel.shtml http://stackoverflow.com/questions/4112686/how-to-use-servlets-and-ajax http://stackoverflow.com/questions/1900711/handling-servlet-output-in-ajax http://courses.coreservlets.com/Course-Materials/ajax-basics.html

Sunday, June 23, 2013

Recommendation System in R

http://blog.yhathq.com/posts/recommender-system-in-r.html

Large datasets

http://snap.stanford.edu/index.html

Friday, June 21, 2013

Swing validation

http://www.java2s.com/Code/Java/Swing-Components/ValidatingPresentationModelExample.htm http://jnb.ociweb.com/jnb/jnbJul2007.html

Thursday, June 20, 2013

ORA-01000: maximum open cursors exceeded

http://neeraj-dba.blogspot.sg/2011/10/ora-01000-maximum-open-cursors-exceeded.html http://chenguangblog.wordpress.com/2011/03/07/analysis-of-ora-01000-maximum-open-cursors-exceeded/ http://www.dba-oracle.com/sf_ora_01000_maximum_open_cursors_exceeded.htm

Monday, June 17, 2013

XML related conference

http://balisage.net/

GUI for MongoDB

https://github.com/agirbal/umongo

Transfer Contacts: iPhone to Android

http://www.androidauthority.com/transferring-contacts-between-iphones-and-android-phones-37928/

Thursday, June 13, 2013

Java Servlet

http://www.mkyong.com/servlet/a-simple-servlet-example-write-deploy-run/

Wednesday, June 12, 2013

Emotion Analytics

http://www.beyondverbal.com/home-page/

Learn like a child

SIMULTANEOUS LOCALISATION AND MAPPING AT THE LEVEL OF OBJECTS http://www.doc.ic.ac.uk/~rfs09/slampp.html

Saturday, June 8, 2013

Java Enterprise Design Patterns

http://www.mindspring.com/~mgrand/pattern_synopses3.htm#Mailbox

Friday, June 7, 2013

HTML to Excel (Formatting cells)

http://niallodoherty.com/post.cfm/basic-html-to-excel-formatting http://www.agoric.com/sources/software/htmltoExcel http://stackoverflow.com/questions/4619909/format-html-table-cell-so-that-excel-formats-as-text

Saturday, June 1, 2013

XQuery Design Patterns

http://www.balisage.net/Proceedings/vol5/html/Candillon01/BalisageVol5-Candillon01.html http://docs.marklogic.com/guide/cpf/modules http://www.slideshare.net/wcandillon/xquery-rocks http://www.xquery.com/tutorials/xqj_tutorial/ http://www.zorba-xquery.com/

Wednesday, May 15, 2013

Extra readings on JVM


http://www.javaworld.com/javaworld/jw-08-2012/120821-jvm-performance-optimization-overview.html?source=IFWNLE_jw_2012-08-21
http://www.javaworld.com/community/?q=node/8437&source=IFWNLE_jw_2012-08-21
http://www.javaworld.com/javaworld/jw-08-2012/120816-oracle-has-been-good-for-java.html?source=IFWNLE_jw_2012-08-21
http://www.javaworld.com/javaworld/jw-08-2012/120810-influence-not-control-in-open-source.html?source=IFWNLE_jw_2012-08-21
http://www.nytimes.com/2012/08/22/business/a-test-of-smart-cars-gets-under-way.html?_r=1
http://www.networkworld.com/news/2012/082012-wearable-computers-261509.html?t51hb
http://www.newscientist.com/article/mg21528774.900-augmented-reality-kitchens-keep-novice-chefs-on-track.html
http://tech.fortune.cnn.com/2012/08/20/the-big-apples-big-data-advantage/

Tuesday, April 30, 2013

Wednesday, April 17, 2013

Swing: modify table cell on tab


Override this method in JTable (Source: https://forums.oracle.com/forums/thread.jspa?threadID=1353305)


@Override
    public void changeSelection(
            int row, int column, boolean toggle, boolean extend) {      
        super.changeSelection(row, column, toggle, extend);
        //  Place cell in edit mode when it 'gains focus'

        if (editCellAt(row, column)) {
            Component editor = getEditorComponent();
            editor.requestFocusInWindow();
            ((JFormattedTextField)editor).selectAll();
        }
    }


Ref
http://stackoverflow.com/questions/14206083/jtable-edit-on-keypress
http://stackoverflow.com/questions/9091208/jtable-enter-key/9095442#9095442
http://www.java2s.com/Tutorial/Java/0260__Swing-Event/MaketheENTERkeyactliketheTABkey.htm
http://www.java2s.com/Tutorial/Java/0260__Swing-Event/SettingFocusTraversalKeysinaComponent.htm
http://www.java2s.com/Tutorial/Java/0260__Swing-Event/KeyListenerandKeyEvent.htm


Thursday, March 28, 2013

Problem with Windows Task Scheduler

http://social.technet.microsoft.com/Forums/en-US/winservergen/thread/29a37921-3e27-4c88-b387-3dd394302298/

http://msdn.microsoft.com/en-us/library/windows/desktop/aa383614(v=vs.85).aspx

http://support.microsoft.com/kb/2461249

http://social.technet.microsoft.com/Forums/en-US/winservergen/thread/6b6453e7-acbc-451c-b821-96980ac597e9/

Wednesday, March 27, 2013

Java in iOS

http://www.javaworld.com/javaworld/jw-03-2013/130327-open-source-java-iphone-tools-compared.html?source=IFWNLE_nlt_jw_2013-03-26

Friday, March 22, 2013

AWS AMI Setup

http://www.excelsior-usa.com/articles/tomcat-amazon-ec2-basic.html
http://coenraets.org/blog/2011/11/set-up-an-amazon-ec2-instance-with-tomcat-and-mysql-5-minutes-tutorial/
http://blog.halcyon-solutions.com/2011/01/minimalist-no-6-deploy-your-tomcat.html (tomcat location: /var/lib/tomcat/)

sudo chmod -R 777 /var/lib/tomcat6/webapps

http://www.javacodegeeks.com/2012/05/complete-guide-to-deploy-java-web.html



http://www.cyberciti.biz/faq/mysql-change-root-password/ (IMPORTANT!!! flush privileges)
http://dev.mysql.com/doc/refman/5.0/en/creating-database.html
http://dev.mysql.com/doc/refman/5.5/en//adding-users.html
http://www.debuntu.org/how-to-create-a-mysql-database-and-set-privileges-to-a-user/

Tuesday, March 19, 2013

Web Design

http://www.developerdrive.com/2013/03/15-online-resources-for-learning-web-design/

Tuesday, March 12, 2013

Windows Service for Java Application

http://commons.apache.org/proper/commons-daemon//procrun.html

Thursday, February 28, 2013

Obfusticating DoXA

http://netbeans.dzone.com/obfuscating-netbeans-platform
http://proguard.sourceforge.net/index.html#downloads.html

Build NB Platform App


http://platform.netbeans.org/tutorials/nbm-ant.html


In platform.properties

nbplatform.active=default
nbplatform.active.dir=d:\\EucharistTech\\TestBuild\\DCollabro
harness.dir=${nbplatform.active.dir}/harness

ant clean
ant build
ant run
ant build-zip

Also, to specify jdk, use --jdkhome "C:\Program Files (x86)\Java\jdk1.7.0_15".
Add it to platform.properties in run.args.extra=

Ref:
http://netbeans.dzone.com/netbeans-platform-build-system-1
http://netbeans-org.1045718.n5.nabble.com/How-exactly-does-netbeans-invoke-ant-td3327317.html
http://blogs.kiyut.com/tonny/2008/02/18/netbeans-platform-ant-based-build-system-trick/#.US9GdjDk-So
http://stackoverflow.com/questions/845137/capture-ant-output
http://forums.netbeans.org/ptopic31326.html

Wednesday, February 27, 2013

Web Dev Framework

http://groundwork.sidereel.com/?url=home

Monday, February 25, 2013

Installer Tool

http://izpack.org/
http://nsis.sourceforge.net/Main_Page

Thursday, February 21, 2013

User Defined Windows Service

http://support.microsoft.com/kb/137890
http://www.mssqltips.com/sqlservertip/2600/troubleshooting-windows-remote-desktop-connections/
http://www.ehow.com/how_5949640_determine-server-under-remote-desktop_.html

http://www.windowsbbs.com/windows-server-system/74596-keeping-windows-server-logged.html

Monday, February 18, 2013

Wireshark

http://www.wireshark.org/

http://www.fiddler2.com/fiddler2/

Game Tech

http://www.demonbuddy.com/
http://www.blizzhackers.cc/
http://www.thebuddyforum.com/demonbuddy-forum/plugins/trinity/

Wednesday, February 13, 2013

Removing McAfee and Norton

http://www.makeuseof.com/tag/completely-remove-norton-mcafee-computer/


http://www.makeuseof.com/tag/ten-best-antivirus-programs/

Tuesday, February 12, 2013

Mobile Redirect



https://developers.google.com/webmasters/smartphone-sites/redirects

http://www.seomoz.org/blog/the-real-impact-of-the-google-smartphone-crawler-part-2-generating-mobile-redirects-properly

http://www.mobilemoxie.com/marketing-tools/redirection-script-generator/

Sunday, January 27, 2013

Tuesday, January 22, 2013

iOS Controls

cocoacontrols.com

Wednesday, January 16, 2013

JFormatterField magic

http://www.ibm.com/developerworks/library/j-mer0625/index.html

http://docs.oracle.com/javase/1.4.2/docs/api/javax/swing/text/NavigationFilter.html

Monday, January 7, 2013

Mobile Scanners

http://scanners.fcpa.fujitsu.com/scansnap11/

doxie


19 Generations of Computer Programmers

http://www.infoworld.com/d/application-development/developer-divide-19-generations-of-computer-programmers-209971