Sourav Das

1

votes
0

answer
272

views

Implement OAuth 2.0 in ColdFusion API

We have a coldfusion API which we want to be accessible with OAuth2.0 Access Token Functionality with ADFS. I am unable to find any library related to OAuth Access Token Validation against a certificate or expiry status.
Sourav Das
1

votes
0

answer
433

views

Use SAML SSO in IONIC App

I have already implemented OAuth for ionic app using ADFS 4.0 as the service provider. Now, there are some internal web sites which are added as links inside the app which are registered via ADFS SAML. I have the following parameters from ADFS Registration Authentication protocol: SAML Relying part...
Sourav Das
1

votes
1

answer
188

views

Get rid of LLVM's Unconditional Branch

Consider this IR: label0: ret i32 0 br label %1 How do I get rid of the unconditional branch instruction? I have type casted it to BranchInst class and used removeFromParent() or eraseFromParent() but I'm getting this error. BranchInst *BI = dyn_cast(i); if(BI->isUnconditional()) BI->removeFromP...
Sourav Das
1

votes
1

answer
127

views

Reading Data from $.getJSON Method

I am trying to consume a REST API for which i am using the $.getJSON method. I am getting the required JSON Output, but not in the method's output(in result variable) to process. Also the alert message is not coming. Its just blank output. Please find the attached code and image(Containing the respo...
Sourav Das
1

votes
1

answer
1.5k

views

AWS ECS container exiting without specific reason

ECS service is exiting after running for a couple of seconds. In case we make a container out of the image manually it is running fine, command: sudo docker run -i -p 9100:9100 -p 9110:9110 -p 9120:9120 -p 9130:9130 847782638323.dkr.ecr.us-east-1.amazonaws.com/bytemark/cap ECS logs are as follows: 2...
Sourav Das
1

votes
1

answer
51

views

How to Log User Experience in Angular/Ionic Mobile App with SQL Server

I am developing an Ionic Application and i want to know which users logged in, which views they went and what errors they faced. I implemented the same in the .NET Application using NLog. Is there any way in Javascript to post entries in SQL Server or what are the alternatives. PS: Tried Google Anal...
Sourav Das
1

votes
2

answer
55

views

SQLite aggregation query

I have one table of mobile phones with columns id brand_name model_name condition Sample table: id brand_name model_name condition sell_status 1 Apple 6s New unsold 2 Apple 6s Used unsold 3 Apple 6s New unsold 4 Apple...
Sourav Das
1

votes
1

answer
317

views

Firebase Auth/Notification Realtime Database and Data Storage

We're planning to implement FireBaseAuth and Notifications. In the Free Package, it is mentioned that simultaneous connections with RealTime Database can be up to 100 and File Storage is around 5 GB. What's the difference between RealTime Database simultaneous connection and File Storage(Uploaded /...
Sourav Das
1

votes
2

answer
1.3k

views

DVSC connector with GitHub done but not able to create branch from Jira

I have been able to create the DVSC connector with GitHub and my repositories have got synced in Jira following the link: https://confluence.atlassian.com/display/BITBUCKET/Linking+Bitbucket+and+GitHub+accounts+to+JIRA . I want to create a branch in one of my repositories in GitHub from Jira. I thin...
Sourav Das
1

votes
1

answer
2.5k

views

passing a list to a role in Ansible

I need to read from a config file which needs to contain a list. The list needs to be passed to a role as argument. --- - name: run command on localhost hosts: localhost tasks: - name: read variables from file shell: cat {{ conf1/TMP.txt }} register: contents - name: role to trigger the run script p...
Sourav Das
1

votes
1

answer
891

views

Confluence giving weird exception “Invalid file name for use with -Xloggc” while running on ubuntu EC2

I have installed atlassian-confluence-5.6.3.tar.gz on my Ubuntu server hosted on Amazon EC2. Whenever I am trying to start confluence after un-tarring the above mentioned file it is showing like: +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ To run Confluence in t...
Sourav Das
3

votes
2

answer
2.3k

views

iOS10.3.1 - <Cordova/CDVViewController.h> file not found - After Upgrade

I was running an ionic app successfully, but when i upgraded to iOS10.3.1 and Xcode 8.3.1 then whenever i create a new project and build it i get the error file not found How to fix this. How to downgrade to lower versions. Cordova CLI: 6.5.0 Ionic CLI Version: 2.2.1 Ionic App Lib Version: 2.2.0 i...
Sourav Das
2

votes
1

answer
2.6k

views

Scrapy not crawling subsequent pages in order

I am writing a crawler to get the names of items from an website. The website has got 25 items per page and multiple pages (200 for some item types). Here is the code: from scrapy.contrib.spiders import CrawlSpider, Rule from scrapy.selector import HtmlXPathSelector from scrapy.contrib.linkextracto...
Sourav Das
2

votes
0

answer
394

views

forwarding_to_node_failed in Selenium and PhantomJS

I am running Selenium Webdriver with PhantomJS. My test cases are written using Geb and Spock using Maven and are meant to run headlessly using PhantomJSDriver running on the Selenium nodes. I have one Selenium hub and three node servers. I have observed almost 50% of the times a few of the tests ar...
Sourav Das
1

votes
3

answer
1.3k

views

Ionic splashscreen not working( Showing the same default icon )

I am trying to add a splashscreen to my ionic app. Here are the steps i followed: $ionic start splashtest blank $ionic platform add android $cordova plugin add cordova-plugin-splashscreen Now, Updated my icon.png and splash.png to /splashtest/resources/ folder where the default icon.png and splash...
Sourav Das
1

votes
4

answer
491

views

Unable to access JSON Element in Javascript via Object.property

I am unable to access a simple JSON Element from a JSON Structure that looks like: { 'ACTION': 'AA', 'MESSAGE': 'Customer: 30xxx Already Approved on 2017/01/01' } I get the data in JSON Format but when i do data.ACTION or data.MESSAGE i get Undefined as the output. By doing case sensitive also, its...
Sourav Das
3

votes
0

answer
324

views

IONIC/Cordova iOS inappbrowser cookies getting cleared on app close

I have an ionic application which opens the browser for a functionality and when user logs in once, the cookie is saved in the inappbrowser till its lifetime. Now, in Android, Cookies are saved properly even when app is closed and restarted. But, in iOS, cookies gets cleared once the app is closed....
Sourav Das
3

votes
2

answer
1.4k

views

Create Form Input with Text Formatting Options giving HTML OUTPUT

I want to create a Form Input in a Web Page and have Custom Text Formatting Options like Bold, Italic and Adding HyperLink. Pretty much similar to how asking a question in StackOverflow. The primary purpose is to get the html output of what user enters in the form. For example, if user selects Bold...
Sourav Das
3

votes
1

answer
3.5k

views

Series Details Not Showing in Angular Chart with Charts.js

I am implementing the Angular Line Chart Functionality in my ionic application as described in the link https://jtblin.github.io/angular-chart.js/ The charts are displayed successfully, but the series details below the chart are not displayed(Meaning which color represents which Line) I am passing t...
Sourav Das
2

votes
1

answer
136

views

Codenameone Plugin not Loaded in Android Studio

I am trying to load the Codenameone Plugin to Android Studio 2.1 but it is giving an error Codenameone Plugin not Loaded(Required Plugin AntSupport is not enabled). But, in the jetbrains site, it is mentioned that it is compatible with Android Studio. https://plugins.jetbrains.com/plugin/7357?pr=and...
Sourav Das
2

votes
0

answer
63

views

Web scrapping using HtmlUnit on an intranet website

I am presently using HtmlUnit to automatically fill forms and click a button on an intranet site. The code is working on internet websites successfully but failing to do so on the intranet website. The intranet website is an asp site, only opens on IE. The code I am using is as follows, final WebCli...
Sourav Das
6

votes
3

answer
779

views

Caching Cookies in inappbrowser iOS 10(clearcache=no;) not working when app restarts - Cordova/Ionic

I am facing an issue in an ionic iOS application where my website is not saving cookies and clear cache and clear session cache are not working. I am using Cordova Inappbrowser plugin. In Android, it is working perfectly. var ref = window.open(url, '_blank','location=no,toolbar=yes,clearcache=no,cle...
Sourav Das
1

votes
6

answer
510

views

Edit Text getText().toString() returns blank

I am doing a simple login app where i need to pass the user id to subsequent screens. But,i am not getting the username field to a variable. public static String user; protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); Ed...
Sourav Das
2

votes
0

answer
354

views

Tawk.to Not working inside an IONIC App but working on deployed browser

I am trying to integrate Tawk.to in my ionic app but the widget is not showing at all in my app. But, when i do ionic serve and run it on browser the widget shows correctly. Is it because ionic app is not allowing an iframe to load? var Tawk_API=Tawk_API||{}, Tawk_LoadStart=new Date(); (function(){...
Sourav Das
2

votes
1

answer
111

views

Pair object to contain 3 values coming from JSONArray

I want to keep 3 values from the JSON Response( Name, Latitude and Longitude) and pass it to the maps activity for marking in the gmaps. But, List Pair(String,String) can take only 2 string arguments. How, to have a list pair with 3 arguments. ///Edited Code after getting the first Answer InputStrea...
Sourav Das
0

votes
1

answer
79

views

Can we remove zesty distribution from our sources.list files in Ubuntu 14.04 LTS

I am running Ubuntu 14.04.5 LTS(trusty) servers. I do patch my servers every month using apt-get update and apt-get dist-upgrade commands. For few days these updates were failing with 404 not found errors. Close look on the /etc/apt/sources.list file and the error message revealed that the following...
Sourav Das
0

votes
1

answer
976

views

How to decode a JWT using C# JWT Package with Signing Certificate

I am calling ADFS for getting an access token using OAuth Authorization Code Grant. I am getting an access token back in the form {'access_token':'eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsIng1dC....' 'token_type':'bearer', 'expires':3600} Now, i am copying the access_token value and pasting it in https:/...
Sourav Das