Friday, December 21, 2018

Excel to PDF via VBA Macro

https://social.msdn.microsoft.com/Forums/en-US/27ac7ece-e1af-4155-bf4b-c5cba7a08eb7/macro-to-create-excel-data-to-pdf-file?forum=exceldev

Thursday, December 20, 2018

Wednesday, December 19, 2018

Unstructured Supplementary Service Data

https://en.wikipedia.org/wiki/Unstructured_Supplementary_Service_Data

https://www.weforum.org/agenda/2018/08/how-a-20-year-old-mobile-technology-protocol-is-revolutionizing-africa/

Tuesday, December 18, 2018

ReactJS MongoDB

https://www.mongodb.com/blog/post/the-modern-application-stack-part-5-using-reactjs-es6-and-jsx-to-build-a-ui-the-rise-of-mern


https://www.npmjs.com/package/react-native-local-mongodb

Monday, December 3, 2018

Log4j: JMSAppender

http://activemq.2283324.n4.nabble.com/Log4J-ActiveMQ-JMS-Appender-td2345638.html

https://logging.apache.org/log4j/1.2/apidocs/org/apache/log4j/net/JMSAppender.html

Friday, November 30, 2018

ReactJS References

https://github.com/facebook/create-react-app
https://material-ui.com/
http://recharts.org/en-US/



https://www.creative-tim.com/product/material-dashboard-react?tracking=first-time#
https://github.com/knledg/react-blur-admin
https://github.com/vaclav-zeman/dashboard-react-template
https://github.com/marmelab/admin-on-rest-demo

https://github.com/knledg/react-webpack-skeleton
https://developer.okta.com
https://neutrinojs.org/




https://developer.okta.com/blog/2018/07/10/build-a-basic-crud-app-with-node-and-react
https://github.com/oktadeveloper/okta-react-node-example

Tuesday, November 27, 2018

ReactJS: Form Builders

https://react-bootstrap.github.io/components/forms/
https://github.com/mozilla-services/react-jsonschema-form
https://github.com/blackjk3/react-form-builder
https://github.com/Kinto/formbuilder

https://www.codementor.io/blizzerand/building-forms-using-react-everything-you-need-to-know-iz3eyoq4y
https://medium.com/@sairamkrish/rapid-development-of-data-collection-platform-with-reactjs-and-json-schema-ef147f4c665

Language Babel: Syntax highlighting for JS

https://github.com/gandm/language-babel#installation

Tuesday, November 13, 2018

Disable caching in JSF

https://turbomanage.wordpress.com/2006/08/08/disable-browser-caching-in-jsf/

Thursday, October 25, 2018

Autocomplete for JTextField (multiple)

https://stackabuse.com/example-adding-autocomplete-to-jtextfield/

Friday, October 19, 2018

Script to create a Windows Scheduled task

https://social.technet.microsoft.com/Forums/scriptcenter/en-US/46082bbb-026e-40e5-ac92-d2df42b4c9eb/how-to-set-a-script-to-set-schedule-tasks?forum=ITCG

https://docs.microsoft.com/en-us/previous-versions/windows/it-pro/windows-server-2008-R2-and-2008/cc725744(v=ws.10)



Tuesday, October 9, 2018

Disable NB Autoupdate Popup



-J-Dnetbeans.full.hack=true



http://wiki.netbeans.org/DevFaqDisableAutoupdate
http://wiki.netbeans.org/DevFaqNetBeansFullHack

Wednesday, September 26, 2018

Change Update Center URL

http://wiki.netbeans.org/DevFaqHowToChangeUpdateCenterURL

List updateUnitProviders = UpdateUnitProviderFactory.getDefault().getUpdateUnitProviders(true);
               for (int i = 0; i < updateUnitProviders.size(); i++) {
                   UpdateUnitProvider pr = updateUnitProviders.get(i);
                   String name = pr.getDisplayName();
                   if("MyUpdateCenter".equals(name)){
                           pr.setProviderURL(new URL("http://example.com/updateCenter"));
                           pr.refresh(ProgressHandle.createHandle("UpdateCenter refresh"), true);
                           break;
                   }
               }

Monday, August 27, 2018

Standard list of countries, cities, states

https://www.unece.org/cefact/locode/service/location.html

https://help.salesforce.com/articleView?id=000230216&type=1

https://www.iso.org/iso-3166-country-codes.html



https://en.wikipedia.org/wiki/IATA_airport_code
https://stackoverflow.com/questions/7066825/is-there-an-iso-standard-for-city-identification


Friday, August 17, 2018

Installer Packager for Windows

https://helpdeskgeek.com/free-tools-review/4-tools-to-create-windows-installer-packages/
https://www.techrepublic.com/blog/five-apps/five-apps-for-creating-installation-packages/


http://nsis.sourceforge.net/Main_Page
http://www.jrsoftware.org/isinfo.php


https://www.flexera.com/products/installation/installshield.html
https://www.installaware.com/


Monday, August 13, 2018

hmailserver: message underlivered



https://www.hmailserver.com/forum/viewtopic.php?t=22972
https://www.hmailserver.com/forum/viewtopic.php?t=26087
https://www.hmailserver.com/forum/viewtopic.php?t=25893
https://www.hmailserver.com/forum/viewtopic.php?t=26958
https://www.hmailserver.com/forum/viewtopic.php?t=31514
https://www.hmailserver.com/forum/viewtopic.php?t=30630
https://www.hmailserver.com/forum/viewtopic.php?t=26232
https://www.hmailserver.com/forum/viewtopic.php?t=12990
https://www.hmailserver.com/forum/viewtopic.php?t=17629

Sunday, August 12, 2018

Windows: Track who deleted files

https://www.netwrix.com/how_to_detect_who_deleted_file.html

https://eventlogxp.com/blog/tracking-down-who-removed-files/

Tuesday, August 7, 2018

Standard List of States/Countries

http://www.unece.org/cefact/locode/welcome.html
https://github.com/yosoyadri/GeoNames-XML-Builder/blob/master/continents-countries-statesprovinces.xml
https://github.com/yosoyadri/GeoNames-XML-Builder
http://www.geonames.org/
https://www.sqldumpster.com/databases/geographic/


Source:
https://stackoverflow.com/questions/9627654/where-can-i-get-a-list-of-countries-states-and-cities

Tuesday, July 31, 2018

hmailserver: message undeliverable


https://www.hmailserver.com/forum/viewtopic.php?t=22972
https://www.hmailserver.com/forum/viewtopic.php?t=246
https://www.hmailserver.com/forum/viewtopic.php?t=27158
https://www.hmailserver.com/forum/viewtopic.php?t=716
https://www.hmailserver.com/forum/viewtopic.php?t=24989

https://www.hmailserver.com/documentation/v5.3/?page=userguide_dds

Ethereum: Mining and Gas

https://medium.com/cybermiles/running-a-quick-ethereum-private-network-for-experimentation-and-testing-6b1c23605bce

http://www.ethdocs.org/en/latest/mining.html

https://github.com/ethereum/go-ethereum/wiki/Mining

https://github.com/ethereum/go-ethereum/wiki/Private-network

https://masterthecrypto.com/ethereum-what-is-gas-gas-limit-gas-price/

Exist xml DB:


org.xmldb.api.base.XMLDBException: Failed to invoke method retrieveFirstChunk in class org.exist.xmlrpc.RpcConnection

https://github.com/eXist-db/exist/issues/1863

Friday, July 27, 2018

AWS Metrics for EBS

https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/ebs-metricscollected.html

Tuesday, July 24, 2018

Mining Test Network

https://medium.com/cybermiles/running-a-quick-ethereum-private-network-for-experimentation-and-testing-6b1c23605bce

Monday, July 23, 2018

VisrtualBox Ubuntu Sharedfolder

https://askubuntu.com/questions/161759/how-to-access-a-shared-folder-in-virtualbox

Ethereum: Docker and Wallet

https://github.com/ethereum/go-ethereum/wiki/Running-in-Docker

https://github.com/ethereum/mist/releases

Blockchain Java

https://medium.com/coinmonks/ethereum-blockchain-hello-world-smart-contract-with-java-9b6ae2961ad1

Blockchain Demo

https://anders.com/blockchain/

Wednesday, July 11, 2018

VR Portable

http://www.yankodesign.com/2018/07/10/the-handheld-device-thats-replacing-the-arvr-headset/

http://www.yankodesign.com/2018/07/02/lightform-lets-you-design-in-augmented-reality/

Monday, July 9, 2018

Manage MQ via MBeans

https://dzone.com/articles/managing-activemq-jmx-apis

https://alvinalexander.com/java/jwarehouse/activemq/activemq-core/src/test/java/org/apache/activemq/broker/jmx/MBeanTest.java.shtml


https://sourceforge.net/projects/activemqbrowser/

https://github.com/jmxtrans/jmxtrans/tree/master/jmxtrans-examples/src/main/java/com/googlecode/jmxtrans/example

https://github.com/jmxtrans/jmxtrans/blob/master/jmxtrans-examples/src/main/java/com/googlecode/jmxtrans/example/ActiveMQ.java


https://github.com/jmxtrans/jmxtrans/blob/master/jmxtrans-examples/src/main/java/com/googlecode/jmxtrans/example/ActiveMQ2.java

Friday, June 29, 2018

Protect Image on Website

https://mediatemple.net/community/products/dv/204644230/prevent-hotlinking-with-a-htaccess-file

https://stackoverflow.com/questions/21110130/protect-image-download

Monday, June 18, 2018

Exist XML: Recovery

> Is there a documentation out there for how to recover from corrupt db (not 
> recover from backup)? 

It depends on what kind of issues you have. If it's just index failures: 

* stop the database 
* run a consistency check via the emergency export tool 
(http://exist-db.org/backup.html#d8e750
* remove all .dbx, .lck and .log files except dom.dbx, 
collections.dbx, symbols.dbx; also remove the lucene index dir 
* restart the db 
* trigger a reindex 

If the consistency check reports errors in documents or the collection 
hierarchy, it will be better to do a full restore. 

Source:
http://exist.2174344.n4.nabble.com/Recover-from-corrupt-db-exist-1-4-td3692989.html 

Sunday, June 17, 2018

Tomcat: 403

https://stackoverflow.com/questions/40503771/tomcat-8-5-403-access-denied

https://stackoverflow.com/questions/38551166/403-access-denied-on-tomcat-8-manager-app-without-prompting-for-user-password

Monday, June 11, 2018

Batch script to open ports on Windows

https://helpdeskgeek.com/networking/windows-firewall-command-prompt-netsh/

https://stackoverflow.com/questions/6811372/how-to-code-a-bat-file-to-always-run-as-admin-mode?utm_medium=organic&utm_source=google_rich_qa&utm_campaign=google_rich_qa




runas /user:Administrator openfirewall.bat
netsh advfirewall firewall add rule name="Open Remote Desktop" protocol=TCP dir=in localport=3389 action=allow

Thursday, May 17, 2018

WSO2 API Management

https://docs.wso2.com/display/AM220/Overview

https://github.com/wso2/docker-apim

Microservice Framework

http://sparkjava.com/
https://github.com/perwendel/spark
https://search.maven.org/#search%7Cga%7C1%7Ccom.sparkjava

Friday, May 4, 2018

Distributed Architecture: P2P


Java
https://github.com/minskybelieve/TomP2P
https://github.com/Hive2Hive/Hive2Hive

https://en.wikipedia.org/wiki/Peer-to-peer

Wednesday, May 2, 2018

Updating a mobile app...



Via Code!
http://www.mysamplecode.com/2013/05/android-update-application.html
https://juristr.com/blog/2011/02/coding-update-functionality-for-your/
https://www.telerik.com/forums/android-app-auto-update-programmatically
https://github.com/cordova-misc/cordova-webintent
https://stackoverflow.com/questions/15880866/phonegap-android-app-trigger-update-programmatically
http://cacompadda.com/update-and-install-your-android-app-from-your-own-server-programmatically/


Looks like a good one...
https://stackoverflow.com/questions/15880866/phonegap-android-app-trigger-update-programmatically
Using
https://ionicframework.com/docs/native/file-transfer/
https://ionicframework.com/docs/native/file/
https://ionicframework.com/docs/native/web-intent/
https://github.com/darryncampbell/darryncampbell-cordova-plugin-intent

https://stackoverflow.com/questions/15880866/phonegap-android-app-trigger-update-programmatically
Took from source above... too good not to repost here..
constructor(public navCtrl: NavController, private transfer: FileTransfer, private file: File, private webIntent: WebIntent) {
    const fileTransfer: FileTransferObject = this.transfer.create();
    const url = 'urlApkFile';//Modified this
    fileTransfer.download(url, this.file.externalDataDirectory + 'file.apk').then((entry) => 
    {
        webIntent.startActivity({
            action: (window).plugins.intentShim.ACTION_INSTALL_PACKAGE,
            url: entry.toURL(),
            type: 'application/vnd.android.package-archive'
        }).then(function () {
            //OK
        }, function (e) {
            alert('Error launching app update' + JSON.stringify(e));
        });
    }, (error) => {
        alert("downdload finish" + JSON.stringify(error));
    });
}

Cordova-based
https://github.com/benallfree/cordova-live-update
https://github.com/Panopath/cordova-app-updater
https://github.com/nordnet/cordova-hot-code-push
https://github.com/vaenow/cordova-plugin-app-update


Via Firebase
https://medium.com/@sembozdemir/force-your-users-to-update-your-app-with-using-firebase-33f1e0bcec5a
https://firebase.google.com/docs/android/setup


Tools
https://rollout.io/


DIY
http://simpledeveloper.com/how-to-update-android-apk-outside-the-playstore/
https://stackoverflow.com/questions/22527685/update-android-application-using-ota?utm_medium=organic&utm_source=google_rich_qa&utm_campaign=google_rich_qa
https://github.com/lazydroid/auto-update-apk-client
https://blog.vivekpanyam.com/evolve-seamlessly-deploy-android-apps-to-users/
https://github.com/VivekPanyam/EvolveWrapper

Extras:
Testing
http://appium.io/

Wednesday, April 4, 2018

Arrow Button for ComboBox

https://docs.oracle.com/javase/7/docs/api/javax/swing/plaf/basic/BasicArrowButton.html

https://www.programcreek.com/java-api-examples/index.php?api=javax.swing.plaf.basic.BasicArrowButton

Tuesday, March 20, 2018

JTable Sorting

http://www.codejava.net/java-se/swing/6-techniques-for-sorting-jtable-you-should-know

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

http://grepcode.com/file/repo1.maven.org/maven2/org.swinglabs/swingx/0.9.2/org/jdesktop/swingx/JXTable.java

http://www.docjar.com/html/api/sun/swing/table/DefaultTableCellHeaderRenderer.java.html

http://www.javapractices.com/apps/stocksmonitor/javadoc/src-html/hirondelle/stocks/table/TableSortIndicator.html

http://esus.com/sorting-the-rows-in-a-jtable-by-clicking-on-a-column-header/

Thursday, March 15, 2018

Active MQ: Object Message

http://activemq.apache.org/objectmessage.html

Differences since >= v5.12
Needs to explicit declare safe packages

Monday, March 12, 2018

Chrome Remote Desktop

https://support.google.com/chrome/answer/1649523?co=GENIE.Platform%3DDesktop&hl=en

https://computers.tutsplus.com/tutorials/use-chrome-remote-desktop-to-access-your-computer-anywhere--cms-21227

Tuesday, March 6, 2018

Routing using Postal Code

https://docs.onemap.sg/#introduction

https://github.com/xkjyeah/singapore-postal-codes


Routing
https://github.com/graphhopper/graphhopper (use lat long)
https://github.com/Project-OSRM/osrm-backend
https://wiki.openstreetmap.org/wiki/YOURS


Microsoft
https://msdn.microsoft.com/library/mt750406.aspx

Google
https://developers.google.com/maps/documentation/directions/intro?hl=en

Friday, February 9, 2018

Set Static IP

https://kb.netgear.com/27476/How-to-set-a-static-IP-address-in-Windows

https://www.howtogeek.com/howto/19249/how-to-assign-a-static-ip-address-in-xp-vista-or-windows-7/

Wednesday, February 7, 2018

ActiveMQ Req and Response Sync

http://activemq.apache.org/how-should-i-implement-request-response-with-jms.html

Tuesday, January 30, 2018

Chatbot

https://chatfuel.com/

https://azure.microsoft.com/en-us/services/cognitive-services/qna-maker/
https://cloud.google.com/dialogflow-enterprise/

https://sendbird.com/
https://www.pandadoc.com/

Monday, January 15, 2018

Java Chart



https://github.com/timmolter/xchart
http://www.jzy3d.org/
http://jcharts.sourceforge.net/

https://sourceforge.net/projects/jfreechart/files/

Friday, January 5, 2018

7z Self Extracting Installer




https://stackoverflow.com/questions/27904532/how-do-i-make-a-self-extract-and-running-installer
http://ntsblog.homedev.com.au/index.php/2015/05/14/self-extracting-archive-runs-setup-exe-7zip-sfx-switch/

https://sevenzip.osdn.jp/chm/cmdline/switches/sfx.htm