Amit Verma

1

votes
1

answer
146

views

Check shared Post on Facebook Successfully or discarded

Facebook SDK always call onSuccess(Sharer.Result result) after discarding the post. I am using the share post of the Facebook SDK, but always call onSuccess listener even after the discard or cancel the post. I am using this facebook SDK for share the post implementation 'com.facebook.android:facebo...
Amit Verma
1

votes
2

answer
6.3k

views

How to create a new Process in Java?

We have requirement of creating a new process from Java. I know we can create new sub-processes by using ProcessBuilder and Runtime.exec but our requirement is to create a complete new process. In other words, we do not want to have the spawned process exit when the JVM does. Does anyone have ideas...
Amit Verma
1

votes
2

answer
71

views

Replacing a character string in R

I am trying to remove/replace a certain part in the character strings. Data: b
Amit Verma
1

votes
1

answer
181

views

Implemented Finger Print Authentication in Application with signature

I am getting the issue when running the application below android 6.0 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.M) { KeyguardManager keyguardManager = (KeyguardManager) getSystemService(KEYGUARD_SERVICE); FingerprintManager fingerprintManager = (FingerprintManager) getSystemService(FINGERPRIN...
Amit Verma
1

votes
1

answer
596

views

How to setup auto-renewal for “Let's Encrypt” SSL Certificates in CentOS/Fedora?

Let's Encrypt SSL Certificates keep expiring every 90 days and I have been manually renewing certificates for quite some time now! How to enable auto-renewal of Let's Encrypt Certificates in CentOS/Fedora for multiple websites hosted on Apache?
Amit Verma
2

votes
1

answer
1.7k

views

unable to import OleDbConnection in dotnet core entity framework

unable to import OleDbConnection in dotnetcore entity framework while transferring data from excel to sqlserver
Amit Verma
2

votes
3

answer
326

views

Jmeter reporting higher load time

I am performing baseline performance test on a project. Average load time reported by jmeter is much higher than actual load time in browser(fresh- no cache and cookies). What will be the issue?
Amit Verma
2

votes
1

answer
1.5k

views

Maven eclipse formatter doesn't work as expected

We want to use maven formatter which uses eclipse's formatter.xml file to format java code of our project. We have tried Maven java formatter plugin, Maven eclipse format and maven eclipse plugin. All the plugins are formatting code differently and that formatting is very much different from formatt...
Amit Verma
2

votes
3

answer
1.5k

views
1

votes
1

answer
39

views

Replacing a substring

Hoping to get some guidance as only an occasional analyst and couldn't really understand how to manage an expression with a preceding numeric value. My data below, I am hoping to convert the '4D' and '5D' type of data into '4 Door' and '5 Door'. a
Amit Verma
2

votes
1

answer
140

views

How to enable caching of Javascripts files (e.g. jQuery) and CSS files at client side (Browsers/CLI etc.)?

Is there a way to enforce the caching of JS (say jQuery) and CSS files on browsers for a particular domain (Same way, as we can store cookies at client side for a particular domain)? As we know such files change rarely and their caching at client side browsers will boost page-rendering speed signif...
Amit Verma
2

votes
0

answer
33

views

splitting data frames in R

In spite of reading multiple answers on how to split data frame, I am unable to work out the logic. df
Amit Verma
2

votes
1

answer
55

views

Why does my code for SPOJ GCD2 error on SPOJ?

Following is code for SPOJ GCD2. It's running well on my machine and Ideone, but getting runtime error (SIGFPE) on SPOJ. I have checked all the test cases also available at spojtoolkit.com. I am unable to figure out why this code is showing runtime error (SIGFPE) on spoj. SIGFPE means Erroneous ari...
Amit Verma
2

votes
2

answer
521

views

How to Supporting Multiple Screens dimension

I am using multi support value for dimension , I have given value like this I have attached screen shot dimen folder please check this I have make the value folder like value dimen.xml 1dp and values-sw320dp-hdpi dminen.xml what padding should I give values-sw320dp-xhdpi dminen.xml what padding sh...
Amit Verma
2

votes
2

answer
67

views

How can i resolve 'Cannot set headers after they are sent to the client'

How can I resolve Cannot set headers after they are sent to the client: app.js var express = require('express'); var session = require('express-session'); var mongoose = require('mongoose'); var app = express(); var ejs = require('ejs'); var port = 3000; var bodyParser = require('body-parser'); var...
Amit Verma
2

votes
1

answer
1.9k

views

Error: “System.Net.Sockets.SocketException (0x80004005): An existing connection was forcibly closed by the remote host” on test server

I am facing an issue where my Web API is working fine on local systems but creating issues when deployed on server. I have checked, cross-checked multiple times to see if I have missed anything from the config, but everything is in order. Below is the code I am using. The line throwing this error...
Amit Verma
8

votes
5

answer
10.9k

views

Prepared Statements along with Connection Pooling

I have a question regarding general use of Prepared Statement along with connection pooling. Prepared Statements are generally tied to one connection only.In our application, a PreparedStatement is created at the start up and executed at a later point. If at the time of execution of some specific pr...
Amit Verma
2

votes
0

answer
169

views

The auto-complete box is not showing list on webpage

I have put one textbox on webpage,which is autocomplete box.but when i write something in autocomplete textbox,it doesn't list anything even though it has list.While debugging the code,the list is generated by XML and it is showing on HTML page also,but it doesn't show in AutoComplete Box. var lst_s...
amit Verma
2

votes
0

answer
50

views

How to define NeoWebDirConf in TCL/TK with specific folder path?

How to define NeoWebDirConf in TCL/TK with specific folder path?
Amit Verma
2

votes
2

answer
2k

views

PHP7 connection with MSSQL server with MAMP

I am trying to connect mssql server to php7.0.8 through MAMP. I have tried using freetds. On some blog people are saying to use pdo_dblib.so extension but it's not working. Please guide me through the process of connection.
Amit Verma
0

votes
1

answer
213

views

Backup and recovery of Cassandra cluster

The cassandra cluster has 4 nodes and replication factor is 3.The read and write consitency is set to local_Quoram. Any pointers on backup and restore procedure of cassandra cluster ,As i am very new to it. Any help will be appreciated. Thanks
amit verma