Skip to main content

Posts

Unregister Windows Service

Go to command prompt with adminstrator privileges ("Run as administrator") Execute the below command sc delete <service name>
Recent posts

OracleJet Grunt Build Fails with Could not resolve com.android.tools.build:gradle:2.1.0.

While doing a grunt build of a oraclejet project in NetBeans, I was getting the below error. To resolve this, added systemProp.https.proxyHost=<proxy host=""> systemProp.https.proxyPort=<proxy host="" port=""> to gradle.properties in <user home="">/.gradle/ directory "D:\Program Files\nodejs\grunt.cmd" "oraclejet-build" Running "oraclejet-build" task Oracle JET Grunt plugin Processing Grunt command... [Warning] Missing platform. Default to android. Theme Name:Platform - alta:android Theme Version - 2.1.0 cleaning staging path..... copy files to staging directory..... copy finished... compiling sass.... sass compile skipped... running theme copy task..... theme copy finished... running theme injection task..... indexHtml theme path injection finished.. injecting index.html with cordova script... running injection task..... mainJs paths injection

XMPP Client

Download SMACK apis from http://www.igniterealtime.org/downloads/download-landing.jsp?file=smack/smack_4_1_3.zip Download XML Pull Parser from http://www.extreme.indiana.edu/xgws/xsoap/xpp/mxp1/ Useful links http://java.jasks.org/how_to_effectively_use_persistent_xmpp_with_android

Generate SSH keys for Windows 7 and BitBucket

Start Git Bash Check files in the .ssh folder (ls -al ~/.ssh) Generate Keys (ssh-keygen -t rsa -b 4096 -C "your_email@example.com") When prompted to "Enter file in which to save the key" specify the filename. Do not include the full path. (Unable to resolve open c/Users/userid/.ssh/<filename> failed: No such file or directory) The files get saved in the c/Users/userid directory. Copy them to the c/Users/userid/.ssh/ directory Ensure ssh-agent is enabled : eval $(ssh-agent -s) Add your SSH key to the ssh-agent: ssh-add ~/.ssh/<filename> Login to BitBucket and goto Manage Account Click on SSH Keys in the left menu. Copy the SSH key to your clipboard: clip < ~/.ssh/<filename>.pub (Git Bash) In BitBucket->SSH Keys, click on Add Key Specify a label and paste the copied key contents in the textbox for key Test Connection (ssh -T git@github.com) http://stackoverflow.com/questions/7144811/git

jax-rs jaxb and json

The urls below have a good tutorial for achieving the same. https://docs.oracle.com/javaee/6/tutorial/doc/gkoib.html https://docs.oracle.com/cd/E24329_01/web.1211/e24983/configure.htm#RESTF187 https://docs.oracle.com/cd/E21764_01/web.1111/e13734/rest.htm#WSADV553 http://howtodoinjava.com/restful-web-service/ http://www.theserverlabs.com/blog/2009/01/12/rest-web-services-with-jaxb-jax-rs-and-sun-jersey/ http://blog.bdoughan.com/2010/08/creating-restful-web-service-part-15.html

Tools

Editor (with Live Preview) - Brackets -  http://brackets.io/ Lightweight Editor - Notepad++ - http://notepad-plus-plus.org/ CAM XML Editor tool with XML+JSON+SQL Open-XDX - camprocessor - http://sourceforge.net/projects/camprocessor/