Sunday, December 27, 2015

Sunday, November 22, 2015

Mail MIME standard: RFC 2231

http://www.faqs.org/rfcs/rfc2231.html

https://jira.atlassian.com/browse/JRA-12534
http://www.dovecot.org/list/dovecot/2011-September/131279.html

Monday, November 2, 2015

Accounting Database

http://www.databaseanswers.org/data_models/accounting_systems/index.htm

http://www.erpdb.info/accounts-receivable-accounts-payable-conceptual-design/

http://www.experts-exchange.com/Database/Contact_Management/Q_22628303.html

http://dba.stackexchange.com/questions/33706/coding-an-accounting-database-from-scratch


ref
http://www.databaseanswers.org/data_models/


Books

Accounting Information Systems 

 By Ulric Gelinas, Richard Dull, Patrick Wheeler

Wednesday, October 28, 2015

open source Javascript framework for detecting the Adobe Flash Player plugin and embedding Flash

http://blog.deconcept.com/swfobject/
https://github.com/swfobject/swfobject

Thursday, October 22, 2015

michael-wolf-predicts-what-will-happen-in-the-tech-industry-in-2016

http://www.businessinsider.sg/michael-wolf-predicts-what-will-happen-in-the-tech-industry-in-2016-2015-10

Nice tech site

http://www.labnol.org/

Visual location tracer

http://www.yougetsignal.com/tools/visual-tracert/

Create Photography Website in minutes

http://siftr.co/

JTable Pagination

http://www.java2s.com/Code/Java/Swing-JFC/PagingorpagableJTableTableModelforlargedataset.htm

http://www.coderanch.com/t/345383/GUI/java/JTable-Paging

http://stackoverflow.com/questions/17414109/populate-jtable-with-large-number-of-rows

http://stackoverflow.com/questions/13913988/dynamically-loading-large-amount-of-data-in-jtable

Monday, October 12, 2015

SAP FI

https://sapfidocz.wordpress.com/2013/04/30/sap-document-types/

https://www.youtube.com/watch?v=A8iRL79vXEw

Thursday, October 8, 2015

Accelerated Mobile Pages (AMP)

https://www.ampproject.org/how-it-works/

Talks Links

https://stevesouders.com/talks.php

Tuesday, September 22, 2015

Microservices Security

http://www.infoworld.com/article/2903144/application-development/how-to-succeed-with-microservices-architecture.html

http://www.grahamlea.com/2015/07/microservices-security-questions/

Monday, September 7, 2015

Human Computation: passwords

http://www.heidelberg-laureate-forum.org/blog/video/lecture-monday-august-24-2015-manuel-blum/

http://arxiv.org/pdf/1404.0024.pdf

From:
http://www.networkworld.com/article/2978312/tired-of-memorizing-passwords-a-turing-award-winner-came-up-with-this-algorithmic-trick.html

Wednesday, August 19, 2015

Sliding Panels

http://stackoverflow.com/questions/23785804/java-sliding-jpanels

http://stackoverflow.com/questions/11307884/trigger-jxcollapsiblepane-with-mouse-over


Swing Animation

http://www.aurelienribon.com/blog/projects/universal-tween-engine/
https://github.com/AurelienRibon/sliding-layout

Tuesday, July 14, 2015

Printable Swing as PDF

http://jexp.ru/index.php/Java/2D_Graphics_GUI/Print

Monday, July 13, 2015

Steve Jobs

http://www.businessinsider.sg/the-14-most-inspiring-steve-jobs-quotes-2015-7

URLEncoding

http://www.w3schools.com/html/html_urlencode.asp
http://www.w3schools.com/tags/ref_urlencode.asp

http://docs.oracle.com/javase/7/docs/api/java/net/URLEncoder.html

http://blog.lunatech.com/2009/02/03/what-every-web-developer-must-know-about-url-encoding

XMLBeans set content in complex type

http://stackoverflow.com/questions/736913/xmlbeans-set-content-of-a-complex-type

Sunday, July 12, 2015

Hadoop options

https://spark.apache.org/
http://www.cascading.org/
https://flink.apache.org/
http://hortonworks.com/hadoop/tez/
https://storm.apache.org/

http://hadoopecosystemtable.github.io/

Sunday, July 5, 2015

Complex Event Processing

http://www.espertech.com/products/

http://www.omg.org/news/meetings/workshops/Real-time_WS_Final_Presentations_2008/Tutorials/00-T6_Vincent.pdf

http://www.informit.com/articles/article.aspx?p=2140992&seqNum=2

https://technet.microsoft.com/en-us/library/hh393532(v=sql.110).aspx

Thursday, July 2, 2015

LDAP in Java

https://opends.java.net/

http://www.openldap.org/jldap/

http://directory.apache.org/apacheds/

http://opendj.forgerock.org/

Wednesday, July 1, 2015

Root android vm

http://forum.xda-developers.com/showthread.php?t=2390619

Tuesday, June 30, 2015

Rotate screen virtualbox for android

https://4sysops.com/archives/change-the-screen-resolution-of-an-android-virtualbox-vm/

Sunday, April 12, 2015

Oracle SQL

Change system password

Source:
https://community.oracle.com/thread/631553


SQL> connect / as sysdba

SQL> alter user  identified by ;

Thursday, April 2, 2015

Apache POI: XWPF

Full ooxml-schemas
http://search.maven.org/#artifactdetails|org.apache.poi|ooxml-schemas|1.1|jar

Tuesday, March 31, 2015

Loading custom image lib in Netbeans Platform

http://forums.netbeans.org/ptopic34742.html

ImageIO.scanForPlugins();

CMYK Image

https://pbrajkumar.wordpress.com/2013/01/09/read-cmyk-image-in-java/

Monday, March 23, 2015

Apache POI: Microsoft Word

Source:
http://stackoverflow.com/questions/13507424/how-to-create-a-word-document-using-apache-poi

Ref
http://svn.apache.org/repos/asf/poi/trunk/src/scratchpad/testcases/org/apache/poi/hwpf/
http://poi.apache.org/apidocs/org/apache/poi/hwpf/HWPFDocument.html
http://poi.apache.org/apidocs/org/apache/poi/hwpf/usermodel/package-summary.html

XWPF
http://tkgospodinov.com/writing-microsoft-word-documents-in-java-with-apache-poi/

Thursday, February 26, 2015

Netbeans Update Center


1) Create a update.xml file

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE module_updates PUBLIC "-//NetBeans//DTD Autoupdate Catalog 2.6//EN" "http://plugins.netbeans.org/data/catalogue/autoupdate-catalog-2_6.dtd">
<module_updates timestamp="31/55/00/07/02/2015">

<module codenamebase="org.abc" distribution="http://abc.com/abcupdate/files/nbms/org-abc.nbm" downloadsize="21272" homepage="http://abc.com" license="8B813426" moduleauthor="Peter" needsrestart="true" releasedate="2015/02/24">
    <manifest AutoUpdate-Show-In-Client="true" OpenIDE-Module="org.abc" OpenIDE-Module-Display-Category="Editing" OpenIDE-Module-Implementation-Version="110324" OpenIDE-Module-Java-Dependencies="Java > 1.6" OpenIDE-Module-Long-Description="Shows the line endings of the currently edited file in the statuc bar, and allows to change them," OpenIDE-Module-Module-Dependencies="org.netbeans.modules.editor/3 > 1.50.1.3.10.2, org.netbeans.modules.editor.lib/2-3 > 2.10.1.10.2, org.netbeans.modules.editor.lib2/1 > 1.28.1.2, org.openide.awt > 7.23.1, org.openide.filesystems > 7.38.1, org.openide.loaders > 7.16.1, org.openide.nodes > 7.16.1, org.openide.text > 6.30.1, org.openide.util > 8.6.1, org.openide.util.lookup > 8.3.1" OpenIDE-Module-Name="Show and change line endings" OpenIDE-Module-Requires="org.openide.modules.ModuleFormat1" OpenIDE-Module-Short-Description="Shows the line endings of the currently edited file in the statuc bar, and allows to change them," OpenIDE-Module-Specification-Version="1.2"/>
 
</module>

<module codenamebase="org.abc.def.db" distribution="http://abc.com/abcupdate/files/nbms/org-abc-def-db.nbm" downloadsize="41272" homepage="http://abc.com" license="8B813424" moduleauthor="Peter" needsrestart="true" releasedate="2015/02/24">
    <manifest AutoUpdate-Show-In-Client="true" OpenIDE-Module="org.abc.def.db" OpenIDE-Module-Display-Category="Editing" OpenIDE-Module-Implementation-Version="110324" OpenIDE-Module-Java-Dependencies="Java > 1.3" OpenIDE-Module-Long-Description="Shows the line endings of the currently edited file in the statuc bar, and allows to change them," OpenIDE-Module-Module-Dependencies="org.netbeans.modules.editor/3 > 1.50.1.3.10.2, org.netbeans.modules.editor.lib/2-3 > 2.10.1.10.2, org.netbeans.modules.editor.lib2/1 > 1.28.1.2, org.openide.awt > 7.23.1, org.openide.filesystems > 7.38.1, org.openide.loaders > 7.16.1, org.openide.nodes > 7.16.1, org.openide.text > 6.30.1, org.openide.util > 8.6.1, org.openide.util.lookup > 8.3.1" OpenIDE-Module-Name="Show and change line endings" OpenIDE-Module-Requires="org.openide.modules.ModuleFormat1" OpenIDE-Module-Short-Description="Shows the line endings of the currently edited file in the statuc bar, and allows to change them," OpenIDE-Module-Specification-Version="1.2"/>
 
</module>

<license name="8B813426" url="http://abc.com/abcupdate/licenses/8B813426.license"/>
<license name="8B813424" url="http://abc.com/abcupdate/licenses/8B813424.license"/>
</module_updates>

Refer:
http://updates.netbeans.org/netbeans/updates/7.1.2/uc/final/distribution/catalog.xml.gz
(need to unzip file to get catalog.xml)

2) Create the nbm files for the respective modules
3) Place the nbm files in the respective folders specified above on the server
4) Define the Update Center in layer.xml and add code in Installer.java


layer.xml
...
        <folder name="AutoupdateType">
            <file name="org_doxa_update_center.instance">
                <attr name="SystemFileSystem.localizingBundle" stringvalue="org.doxa.Bundle"/>
                <attr name="enabled" boolvalue="true"/>
                <attr name="instanceCreate" methodvalue="org.netbeans.modules.autoupdate.updateprovider.AutoupdateCatalogFactory.createUpdateProvider"/>
                <attr name="instanceOf" stringvalue="org.netbeans.spi.autoupdate.UpdateProvider"/>
                <attr name="url_key" stringvalue="org_doxa_update_center"/>
            </file>
        </folder>
</folder>

....



Set interval


-J-Dplugin.manager.check.interval=EVERY_STARTUP



http://wiki.netbeans.org/FaqPluginManagerCustomization#To_customize_Interval_of_Automatically_Check_for_Updates_.28since_NB6.1.29

Ref:
http://wiki.netbeans.org/FaqPluginManagerCustomization
https://blogs.oracle.com/rechtacek/entry/how_to_update_netbeans_platform


https://gist.github.com/alanhamlett/2a57ffb51f0850272d0d
http://bits.netbeans.org/dev/javadoc/org-netbeans-modules-autoupdate-services/overview-summary.html


Tuesday, February 17, 2015

Open Source Network Monitoring tool


Source:
http://www.infoworld.com/article/2884203/network-monitoring/best-open-source-monitoring-tools.html


http://www.zabbix.com/
http://www.observium.org/
https://www.icinga.org/
http://www.cacti.net/

Monday, February 9, 2015

Set property for DocumentBuilderFactory


Source
http://lostinheapspace.blogspot.sg/2008/12/specify-documentbuilderfactory-with.html


System.setProperty("javax.xml.parsers.DocumentBuilderFactory", "com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderFactoryImpl");
DocumentBuilderFactory domFactory = DocumentBuilderFactory.newInstance();

Netbeans Platform : WIndows Mode

https://ui.netbeans.org/docs/ui/ws/ws_spec-netbeans_ide.html
https://platform.netbeans.org/tutorials/nbm-quick-start.html#window
http://wiki.netbeans.org/DevFaqWindowsMode
http://wiki.netbeans.org/DevFaqWindowsTopComponent
http://wiki.netbeans.org/DevFaqWindowsInternals
http://bits.netbeans.org/dev/javadoc/org-openide-windows/org/openide/windows/doc-files/api.html#find
http://bits.netbeans.org/dev/javadoc/org-openide-windows/org/openide/windows/Mode.html

http://netbeans.dzone.com/news/secrets-netbeans-window-system

https://blogs.oracle.com/geertjan/entry/window_system_in_7_1

https://java.net/projects/nb-api-samples/sources/api-samples/show/versions/8.0/tutorials/WordProcessor

App Privacy

http://www.appprivacy.net/

Thursday, February 5, 2015

Raspberry Pi Model B+ pins

http://pi4j.com/pins/model-b-plus.html

Wednesday, February 4, 2015

GPIO over Internet (Raspberry Pi)

http://www.instructables.com/id/Web-Control-of-Raspberry-Pi-GPIO/
http://forums.connectedly.com/raspberry-pi-f179/how-controlling-gpio-pins-via-internet-2884/

http://www.raspberrypi.org/documentation/remote-access/web-server/apache.md
http://www.raspipress.com/2012/09/tutorial-install-apache-php-and-mysql-on-raspberry-pi/
http://www.wikihow.com/Make-a-Raspberry-Pi-Web-Server

Tomcat
http://www.element14.com/community/community/raspberry-pi/raspberrypi_projects/blog/2014/05/02/tomcat-on-my-pi
https://heirloomcomputing.zendesk.com/entries/21669897-Running-a-Web-Application-on-Raspberry-Pi
https://alextheedom.wordpress.com/raspberry-pi/installing-java-7-and-tomcat-7/


https://code.google.com/p/webiopi/
http://raspberrywebserver.com/gpio/


http://computers.tutsplus.com/tutorials/take-control-of-your-raspberry-pi-using-your-mac-pc-ipad-or-phone--mac-54603

Debugging Drools

http://planet.jboss.org/post/debugging_drools_rules
http://stackoverflow.com/questions/19951880/drools-how-to-find-out-which-all-rules-were-matched
http://blog.lunatech.com/2011/09/02/logging-debug-drools

http://docs.jboss.org/drools/release/5.2.0.Final/drools-expert-docs/html/ch05.html#d0e3080

http://blog.athico.com/2011/10/cookbook-how-to-test-rules-using-xunit.html

https://thomassundberg.wordpress.com/2012/10/11/jboss-drools-a-hello-world-example/

Java on Raspberry Pi

http://bluej.org/
http://www.bluej.org/raspberrypi/
http://pi4j.com/

Monday, February 2, 2015

Netbeans Classloaders

http://www.java-tips.org/other-api-tips/netbeans/what-classloaders-are-created-by-the-module-s.html

http://bits.netbeans.org/dev/javadoc/org-openide-modules/org/openide/modules/doc-files/classpath.html

Wednesday, January 28, 2015

Handling Linkage Error


java.lang.LinkageError: loader constraint violation in interface itable initialization


http://frankkieviet.blogspot.sg/2009/03/javalanglinkageerror-loader-constraint.html

https://developer.jboss.org/message/530886?_sscc=t#530886

https://access.redhat.com/documentation/en-US/JBoss_Enterprise_Application_Platform/4.3/html/Server_Configuration_Guide/Class_Loading_and_Types_in_Java-LinkageErrors___Making_Sure_You_Are_Who_You_Say_You_Are.html