KrakenJS & Node-Webkit - Sample Project - node-webkit

I want to package a krakenjs app for node-webkit but i can achieve that especially for the "main" key manifest.
Can someone provide me a basic template based on kraken ?
Thanks

Actually it is not the best way to proceed. The file protocol provides you a better alternative. Read this:
https://github.com/rogerwang/node-webkit/wiki/about-node.js-server-side-script-in-node-webkit

Related

React-admin | Easiest way to warn user of a newer available version

I have a react-admin app where we are making frequent changes.
Is there an existing plugin or a way to detect a new version of app and provide user with a toast to refresh the application so that they are working with latest version?
If not with react-admin, is anyone familiar with a way to do this easily with react?
I have found some manual way to do this in following places but I am asking here in case there is an existing package or a more elegant solution that I can leverage directly.
How to force update Single Page Application (SPA) pages?
https://medium.com/#kellyrmilligan/create-react-app-let-your-users-know-when-the-app-has-been-updated-with-a-notification-21335d85481c
Any help is appreciated even if its, nothing exist and I should just hand-roll.
Thanks for reading.
This is not the responsibility of React Admin to handle this kind of issue.
You can think of RA as a simple React component that helps you define an admin.
Hence, RA doesn't provide any helper to manage code update or something similar.
You have to implement this refresh system by hand, and your links are a good start for that.
With the serviceWorker you can do that :
https://github.com/marmelab/react-admin/blob/master/examples/tutorial/src/registerServiceWorker.js
But i don't know why in the demo the service worker is not used ?
https://github.com/marmelab/react-admin/tree/master/examples/demo/src

GCMRegistrar vs GoogleCloudMessaging which to use?

Another one of my stupid questions probably.
I am confused on which to use GCMRegistrar or GoogleCloudMessaging, i know that GCMRegistrar is deprecated and i want to use GoogleCloudMessaging API but the problem is i can't find the jar files for it. so if you could help me by giving me jar file for the new GoogleCloudMessaging API it would help me a lot.
Thanks in advance!!!
That's because GCM before was a library, now it's part of the Google Play Services. So to use it you will need to follow this tutorial and download and include the Google Play services on your project using this page
You are welcome :)
Yes gcm.jar is deprecated. But I didn't find good explanation "why"! GCMRegistrar was good helper class. When you look at its sources you'll find that it's almost the same as example code of (now preferred) GoogleCloudMessaging API. So Google wants everyone to write (or copy) again and again the same code into all projects using GCM? Or shall every developer create his/her own helper class, a GCMRegistrar alike?
On the other hand when I use Google Play Services library, I use a library with a lot of ballast I don't need, I need just GCM, I'm not interested in other services.
Why don't they create a library for each service? GCM, Maps, Ads, Wallet, ... so every developer can include only what he needs.
Google's approach is far from optimization. I want to create as small and fast apps as possible. Google obviously doesn't. :-(
gcm.jar is deprecated.
Use GoogleCloudMessaging. comes with GooglePlayServices Library.
SDK Manager > Extras > Google Play Services.
then import google play services library PROJECT : Right Click > Properties >Android > Add...
and the project is in C:...\sdk\extras\google\google_play_services\libproject\google-play-services_lib
UNCHECK "Is Library"

Can we implement this Captcha in siebel

Hi I would like to try Captcha in Siebel Application.
Is there any 3rd party appliaction for thyese Captcha so tha i can integrate it with siebel.
If any such a site is there please share it.
Thanks.
This is an old question! But since this could be useful for someone in future, I am answering it..
I would suggest you to invoke external dll..
Set objTime = CreateObject("SAMPLE_PRJ_NAME.SAMPLE_CLASS_NAME")
objTime.METHOD_NAME
You can find sample VB code from here:
http://www.vbforums.com/showthread.php?645886-Captcha-Generator

Upload Progress in Wicket for MultiFileUploadField

Wickets UploadProgressBar does only work for 'FileUploadField'. This is insufficient for my needs as I need to transfer multiple files which will be added by the User (Just like it can be done with 'MultipleUploadField').
So I'd like to implement an UploadProgressBar which also works for the MultipleUploadField but don't know what would be the best approach to do this. I recognized the classes UploadInfo and UploadStatusResource which might be useful here.
Does anyone have a suggestion what would be the best way to solve this problem?
Have a look at Uploadify at www.uploadify.com, which uses Flash to upload multiple files. You can integrate its Javascript callbacks nicely into Wicket, using Wicket's JS features.
It brings a nice progress bar for each single file upload.
Or you can wait for HTML 5.
Meanwhile you can also check for a better Javscript library for multiple file uploads and again integrate it in Wicket.

Getting started with Firefox API

I'm working on an university project where I need to write a program that can access Firefox internal data & events to create stats about user actions. What I would like to have access to is:
have access to HTTP and HTML data
be able to listen to HTTP + HTML + Client side scripting events
I've already done a bit a research and found few interesting things (XPCom, Mozilla ActiveX, MozRepl, directly putting Javscript files into Firefox software folder...) but my concern is to start working on this project whilst having missed something and ending up using the wrong tool.
Can you provide me with the name of the tools you know with a brief description of what they do, and what their pros and cons are?
Hopefully with enough replies we'll be able to consolidate all the useful info given into 1 authoritative edit/post/comment on this matter.
Thanks.
I believe the best way to do so will be writing your own Firefox extension. This tutorial is the best one I found to get one started with extension developement.