Friday, December 29, 2017

Install ipa to iPad

https://stackoverflow.com/questions/20160285/install-ipa-to-ipad-with-or-without-itunes

From XCode, Windows, Devices, drop ipa over

Wednesday, December 27, 2017

Alternative to Evernote and OneNote

http://paperwork.rocks/

https://github.com/Laverna/laverna

Debug for Android device on Windows

https://software.intel.com/en-us/xdk/docs/configuring-your-windows-usb-android-debug-connection-for-the-intel-xdk

chrome://inspect

Friday, December 22, 2017

Setup Domain names in EC2

https://forums.aws.amazon.com/message.jspa?messageID=319837


http://docs.aws.amazon.com/Route53/latest/DeveloperGuide/CreatingNewSubdomain.html
http://docs.aws.amazon.com/Route53/latest/DeveloperGuide/MigratingSubdomain.html

http://docs.aws.amazon.com/Route53/latest/DeveloperGuide/routing-to-ec2-instance.html


https://aws.amazon.com/getting-started/tutorials/get-a-domain/

To allow Cordova (iOS) to connect to HTTPS with a self signed certificate

https://gist.github.com/jamesmbeams/5155230

@implementation NSURLRequest (ServiceClient)
+ (BOOL) allowsAnyHTTPSCertificateForHost:(NSString *) host
{
return YES;
}
@end

Wednesday, December 20, 2017

Create ipa

https://developer.apple.com/library/content/documentation/IDEs/Conceptual/AppDistributionGuide/DistributingEnterpriseProgramApps/DistributingEnterpriseProgramApps.html
[Exporting your app in house]

 - Create an archive: Product > Archive.
- Create an ipa: 
  1. In the Archives organizer, select the archive.

Wireless Option
http://help.apple.com/deployment/ios/#/apda0e3426d7

https://bitbar.com/how-to-create-ipa-and-xctest-package-for-ios-testing


Additional Ref:
https://forums.developer.apple.com/thread/28666

Friday, October 20, 2017

ActiveMQ Publish and Subscribe

https://www.codenotfound.com/2014/11/jms-publish-subscribe-messaging-example-activemq-maven.html

Thursday, October 19, 2017

Spark IM

https://github.com/igniterealtime/Spark

Rocket Chat

https://github.com/RocketChat/Rocket.Chat

https://hub.docker.com/_/rocket.chat/

Tuesday, October 10, 2017

Cordova HTTPS for iOS for own certificate

https://gist.github.com/jamesmbeams/5155230

Sunday, October 8, 2017

Push Notification for iOS App using Firebase

Update Cordova to >7.0.0
Update iOs to > 4.4.0

Remove Platform
Add Platform
Add Plugin (phonegap-plugin-push)
Build

[Issue with cordova-media-with-compression: remove plugin and add again. build. ok]



https://github.com/phonegap/phonegap-plugin-push/blob/master/docs/INSTALLATION.md#ios-details




Wednesday, October 4, 2017

Java: Firebase Console (Google)

https://github.com/minskybelieve/Pushraven
https://github.com/minskybelieve/java-firebase-fcm-client
https://github.com/minskybelieve/Java-fcm

Wednesday, September 27, 2017

JTable: hide and show table column

https://tips4java.wordpress.com/2011/05/08/table-column-manager/

Thursday, September 21, 2017

More references on Tensorflow

https://github.com/jtoy/awesome-tensorflow

https://arxiv.org/abs/1701.06538
https://arxiv.org/abs/1503.02531

Thursday, August 31, 2017

Deep Learning

https://www.h2o.ai/
https://caffe2.ai/
https://spark.apache.org/docs/latest/ml-guide.html

Monday, August 21, 2017

Blockchain Basics

http://blockchain-basics.com/

Wednesday, August 16, 2017

Stats for Wearables

https://www.statista.com/chart/10692/emerging-tech-sales-in-the-us

Saturday, August 12, 2017

Tensorflow

https://www.datacamp.com/community/tutorials/tensorflow-tutorial?imm_mid=0f5740&cmp=em-prog-na-na-newsltr_20170812_split_oreilly_link#gs.uCmd84s

Friday, August 11, 2017

Blockchain

http://www.drdobbs.com/cpp/the-byzantine-generals-problem/206904396
https://medium.com/@DebrajG/how-the-byzantine-general-sacked-the-castle-a-look-into-blockchain-370fe637502c

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

https://www.ibm.com/linuxone/solutions/blockchain-technology

https://www.ethereum.org/


https://en.wikipedia.org/wiki/Two_Generals%27_Problem
http://www.michaelnielsen.org/ddi/how-the-bitcoin-protocol-actually-works/

Wednesday, August 9, 2017

Bots

https://www.mobilescout.com/software/news/n72278/all-you-need-to-know-about-chatbots-guide.html

https://chatbotslife.com/ultimate-guide-to-leveraging-nlp-machine-learning-for-you-chatbot-531ff2dd870c

https://botwiki.org/

https://github.com/BotLibre/BotLibre

Tuesday, August 1, 2017

Change image of Update Centre dialog (after restart)

https://github.com/GeertjanWielenga/updatersplash-sample/blob/master/build.xml

Secure Netbeans update centre

https://dzone.com/articles/secure-update-center-nb

Friday, July 28, 2017

Redux


http://redux.js.org/
http://redux.js.org/docs/introduction/Examples.html#todos-with-undo

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

Tuesday, July 18, 2017

OpenStack User Survey

https://www.openstack.org/assets/survey/April2017SurveyReport.pdf

Folder Synchronization Tool

http://synkron.sourceforge.net/

http://www.thewindowsclub.com/file-folder-synchronization-freeware

Automation Language for Cloud

ansible
https://www.ansible.com/

Software Defined Storage

https://www.redhat.com/en/technologies/storage/ceph

http://ceph.com/planet/testing-ceph-bluestore-with-the-kraken-release/

Protocol to manage filesystems

https://en.wikipedia.org/wiki/ISCSI
https://en.wikipedia.org/wiki/Network_File_System

https://hadoop.apache.org/docs/r2.4.1/hadoop-project-dist/hadoop-hdfs/HdfsNfsGateway.html

Application Performance Monitoring: dynatrace

https://www.dynatrace.com/

Thursday, July 13, 2017

Kubernetes

http://www.javaworld.com/article/3208066/cloud-computing/how-to-get-started-with-kubernetes.html

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

Application of Augmented Reality



http://www.futureoffirstresponse.net/


https://www.fastcompany.com/40438095/self-driving-ambulances-and-augmented-reality-crime-scenes-welcome-to-the-future-of-first-response

Wednesday, July 5, 2017

Java Swing: please wait dialog

https://stackoverflow.com/questions/25418694/opening-jdialog-with-swingworker
https://stackoverflow.com/questions/20269083/make-a-swing-thread-that-show-a-please-wait-jdialog

Tensorflow: usage

https://github.com/jtoy/awesome-tensorflow

Friday, June 9, 2017

Kotlin

https://kotlinlang.org/

Building for Billions: Best practices from Google

https://developers.google.com/billions/

Thursday, June 8, 2017

Tensorflow: Stanford

http://web.stanford.edu/class/cs20si/syllabus.html?utm_source=Mailing+list&utm_campaign=f8372bb95e-Kaggle_Newsletter_06-06-2017&utm_medium=email&utm_term=0_f42f9df1e1-f8372bb95e-400298953

Wednesday, June 7, 2017

Netbeans App with Revision and Build Numbers from SVN

https://dragly.org/2009/10/11/revision-and-build-numbers-for-your-netbeans-apps/

Monday, June 5, 2017

File Sync Utilities

https://www.freefilesync.org/

Saturday, May 27, 2017

Silent Install of JRE

http://docs.oracle.com/javase/7/docs/webnotes/install/windows/jre-installer-options.html

Sunday, May 21, 2017

Javamail: listen to new messages via IMAP idle()

https://community.oracle.com/thread/1590508



http://stackoverflow.com/questions/4155412/javamail-keeping-imapfolder-idle-alive

https://codereview.stackexchange.com/questions/56403/wait-for-messages-in-imap-gmail-mailbox

Sunday, April 30, 2017

Jackrabbit examples

https://wiki.apache.org/jackrabbit/FrontPage

http://jackrabbit.apache.org/jcr/jackrabbit-configuration.html

https://wiki.apache.org/jackrabbit/PersistenceManagerFAQ

https://wiki.apache.org/jackrabbit/CacheManager

https://github.com/nabils/jackrabbit/blob/master/jackrabbit-core/src/test/java/org/apache/jackrabbit/core/config/RepositoryConfigTest.java

https://jackrabbit.apache.org/api/2.8/org/apache/jackrabbit/core/config/RepositoryConfig.html

Wednesday, April 26, 2017

Shutdown icon

https://icons8.com/web-app/43869/shutdown

Tuesday, April 25, 2017

JSplitPane: Programmatically hide/show

http://stackoverflow.com/questions/4934499/how-to-set-jsplitpane-divider-collapse-expand-state/5127898#5127898
http://stackoverflow.com/questions/9177182/how-can-you-programmatically-set-the-jsplitpane-to-hide-the-right-bottom-compone


Sample Code
jSplitPane3.getRightComponent().setMinimumSize(new Dimension());
        jSplitPane3.addAncestorListener(new AncestorListener() {
            @Override
            public void ancestorAdded(AncestorEvent event) {
                try {

                    jSplitPane3.setDividerLocation(1.0); // Divider is positioned
                    Field m = BasicSplitPaneUI.class.getDeclaredField("keepHidden");
                    m.setAccessible(true);
                    m.set(jSplitPane3.getUI(), true); //sp.removeAncestorListener(this); // Uncomment for a one-shot event
                    jSplitPane3.removeAncestorListener(this); // Uncomment for a one-shot event
                } catch (NoSuchFieldException ex) {
                    logger.error("", ex);
                } catch (SecurityException ex) {
                    logger.error("", ex);
                } catch (IllegalArgumentException ex) {
                    logger.error("", ex);
                } catch (IllegalAccessException ex) {
                    logger.error("", ex);
                }
            }

            @Override
            public void ancestorRemoved(AncestorEvent event) {
            }

            @Override
            public void ancestorMoved(AncestorEvent event) {
            }
        });



Another

if (jSplitPane3.getDividerLocation() > jSplitPane3.getMaximumDividerLocation()) {
}


Monday, April 17, 2017

Saturday, April 15, 2017

About encoding use in Java


http://javarevisited.blogspot.sg/2012/01/get-set-default-character-encoding.html
http://stackoverflow.com/questions/361975/setting-the-default-java-character-encoding

http://stackoverflow.com/questions/28484064/windows-1252-to-utf-8
http://stackoverflow.com/questions/2766780/utf-8-character-encoding-in-java

https://blog.eogn.com/2014/07/28/remove-text-formatting-when-copying-and-pasting/
http://kb.mailchimp.com/campaigns/design/prevent-formatting-problems-with-paste-from-rich-text

http://www.cp1252.com/

Wednesday, April 12, 2017

How to create SSL Certificates

http://www.akadia.com/services/ssh_test_certificate.html

Thursday, April 6, 2017

Dealing with encoding

http://stackoverflow.com/questions/15545720/how-to-fix-invalid-byte-1-of-1-byte-utf-8-sequence
https://www.mkyong.com/java/sax-error-malformedbytesequenceexception-invalid-byte-1-of-1-byte-utf-8-sequence/

https://www.joelonsoftware.com/2003/10/08/the-absolute-minimum-every-software-developer-absolutely-positively-must-know-about-unicode-and-character-sets-no-excuses/

Excel: check if cell contains only alphanumeric

https://www.techonthenet.com/excel/formulas/alphanumeric.php


http://stackoverflow.com/questions/29149916/formula-to-eliminate-all-but-alpha-characters


http://stackoverflow.com/questions/15723672/how-to-remove-all-non-alphanumeric-characters-from-a-string-except-period-and-sp

Tuesday, March 28, 2017

Mail Server

https://mailinabox.email/
http://www.postfix.org/


http://aurellem.org/free/html/email.html
https://arstechnica.com/information-technology/2014/02/how-to-run-your-own-e-mail-server-with-your-own-domain-part-1/
https://www.digitalocean.com/community/tutorials/how-to-run-your-own-mail-server-with-mail-in-a-box-on-ubuntu-14-04

Wednesday, March 15, 2017

Happier Team

https://www.heytaco.chat/
https://www.growbot.io/

Wednesday, March 1, 2017

Active Directory Federation Service and SAML

https://msdn.microsoft.com/en-us/library/bb897402.aspx
http://jeftek.com/222/using-java-code-with-active-directory/
https://wiki.shibboleth.net/confluence/display/OS30/Home
http://nzpcmad.blogspot.sg/2013/06/saml-saml-connectivity-toolkit.html
https://msdn.microsoft.com/en-us/library/ff359101.aspx

http://shibboleth.net/products/service-provider.html

https://idp.ssocircle.com/sso/toolbox/samlDecode.jsp

https://blogs.technet.microsoft.com/askpfeplat/2014/11/02/adfs-deep-dive-comparing-ws-fed-saml-and-oauth/

https://blogs.technet.microsoft.com/askpfeplat/2014/11/23/adfs-deep-dive-planning-and-design-considerations/


https://tnegri.com/2015/10/28/active-directory-authentication-in-java/
https://docs.oracle.com/javase/tutorial/jndi/ldap/authentication.html

Tuesday, February 28, 2017

eXist Exception


Ref: https://sourceforge.net/p/exist/mailman/message/26727507/

Quote
The XMLRPC server will cache query results for max. 3 minutes and free
them afterwards. This timeout is set to avoid memory issues if the
client fails to explicitly release query results. The timeout is not
configurable, but if you really need to extend it, you can change the
constant TIMEOUT in org.exist.xmlrpc.QueryResultCache.

Ref: http://exist-db.org/exist/apps/doc/devguide_xmldb.xml
Free resource
 if(res != null) {
                try { ((EXistResource)res).freeResources(); } catch(XMLDBExcepti
on xe) {xe.printStackTrace();}
            }
            
            if(col != null) {
                try { col.close(); } catch(XMLDBException xe) {xe.printStackTrac
e();}
            }
        }


org.xmldb.api.base.XMLDBException: Failed to invoke method retrieveFirstChunk in class org.exist.xmlrpc.RpcConnection: result set unknown or timed out: 220
at org.exist.xmldb.AbstractRemoteResource.getRemoteContentIntoLocalFile(AbstractRemoteResource.java:374)
at org.exist.xmldb.AbstractRemoteResource.getStreamContentInternal(AbstractRemoteResource.java:497)
at org.exist.xmldb.RemoteXMLResource.getStreamContent(RemoteXMLResource.java:466)
at org.exist.xmldb.RemoteXMLResource.getContentAsDOM(RemoteXMLResource.java:161)

Monday, February 20, 2017

Tomcat tunning

https://docs.oracle.com/cd/E40520_01/integrator.311/integrator_install/src/cli_ldi_server_config.html

https://javamaster.wordpress.com/2013/03/13/apache-tomcat-tuning-guide/

https://www.mulesoft.com/tcat/tomcat-configuration
http://www.tomcatexpert.com/blog/2011/11/22/performance-tuning-jvm-running-tomcat

Monday, February 13, 2017

Full webpage screenshots

Check out "Take Webpage Screenshots Entirely - FireShot": https://chrome.google.com/webstore/detail/take-webpage-screenshots/mcbpblocgmgfnpjjppndjkmgjaogfceg?utm_source=gmail

Tuesday, February 7, 2017

WSO IoT Server start up issue

wso2server.bat -Diot.analytics.host="localhost" -Diot.analytics.https.port="9445" -Dmqtt.broker.host="localhost" -Dmqtt.broker.port="1886" -Diot.core.host="localhost" -Diot.core.https.port="9443" -Diot.keymanager.host="localhost" -Diot.keymanager.https.port="9443" -Diot.gateway.host="localhost" -Diot.gateway.https.port="8243" -Diot.gateway.http.port="8280"


http://stackoverflow.com/questions/41960899/wso2-iot-server-3-0-0-device-management-console-not-working

Open Source (some free and some not) MDM

https://github.com/micromdm/micromdm
https://github.com/multunus/onemdm-server
https://github.com/multunus/onemdm-client/blob/master/README.md

http://wso2.com/products/iot-server/

https://developer.android.com/reference/android/app/admin/DevicePolicyManager.html
https://github.com/oddmouse/cordova-plugin-locktask

https://www.miradore.com/miradore-online-for-mobile-device-management/
https://www.codeproof.com/
https://meraki.cisco.com/products/systems-manager
https://www.apptec360.com/solutions/mobile-device-management/
https://www.hexnode.com/mobile-device-management/
https://dm.comodo.com/

Tuesday, January 31, 2017

Deep Learning: MXnet

https://github.com/dmlc/mxnet

https://www.youtube.com/watch?v=AyOAjFNPAbA&feature=youtu.be&t=1h13m22s

Trump and the people connected to him

http://trump.kimalbrecht.com/network/

Wednesday, January 18, 2017

Create self-signed Android APK file

http://stackoverflow.com/questions/26449512/how-to-create-signed-apk-file-using-cordova-command-line-interface

https://examples.javacodegeeks.com/android/core/build-android-application-package-file-apk-using-eclipse-ide/

SSL Certificate Authorities

https://www.thawte.com/ssl/#

https://www.symantec.com/en/sg/ssl-certificates/

https://ssl.comodo.com

Tuesday, January 3, 2017

Tomcat SSL

https://www.mulesoft.com/tcat/tomcat-ssl

http://tomcat.apache.org/tomcat-8.0-doc/ssl-howto.html