Ajay

1

votes
1

answer
319

views

How to get offline uploaded file Download url in Firebase

I want to get the Download Url from uploadTask.addOnProgressListener method of Firebase. How can I get the Download Url using following code? UploadTask uploadTask = storageRef.putBytes(data); uploadTask.addOnProgressListener(new OnProgressListener() { @Override public void onProgress(UploadTask.Tas...
ajay dhadhal
1

votes
3

answer
90

views

Why position sticky is not working if followed by position absolute element?

Below is the code snippet and if run it, you can see the header element does not stick. I have looked at the at following questions. “Position: sticky;” not Working CSS and HTML and CSS: 'position: sticky' not working when 'height' is defined among many others but it did not help.. Here is my co...
Ajay Goyal
1

votes
1

answer
63

views

Is MsiViewClose call required even when MsiCloseHandle is there?

I open a MSI database view using MsiDatabaseOpenView followed by a call to MsiViewExecute. Then do I need to call MsiViewClose even if I do make a call to MsiCloseHandle? Will MsiCloseHandle not call MsiViewClose (or do something to close all required handles internally)? The actual reason why I'm...
Ajay
1

votes
0

answer
3

views

Net framework 4.6.2 developer pack

I have created wcf service with .net framework 4.6.2 developer pack in visual studio 2017 on win 10. while deploying using exe to client pc which is having .net framework 4.6.2 sdk only giving problem . in windows log , its showing that 4.6.2 devloper pack is not installed. how can i acheive this.
Ajay Mehta
4

votes
9

answer
122

views

Disappearing button in HTML

I wrote a simple input field with a button in it. Code is as given below. form { width: 50%; } /* Style the search field */ .add-on { position: relative; } .add-on input { width: 100%; border-radius: 0; } .add-on button { position: absolute; border-radius: 0; top: 2px; right: 3px;...
Ajay Kulkarni
1

votes
2

answer
1.1k

views

How to read my csv file in Fortran?

How to read following data in Fortran. I'm not able to read data in this file. I'm getting following error severe (64): input conversion error, unit 18 Image PC Routine Line Source a.out 00000000004734AA Unknown U...
Ajay
-1

votes
1

answer
15

views

How to insert data into 2 database?

I am trying to insert data into 2 tables which are in different database. But I'm not able to connect to the second database. $con1 = mysqli_connect('localhost','root','','db1'); $sql_1 = 'insert into enquiry(name,email,phone,subject,message,service_category) values('aa','[email protected]','12344','xxx','d...
Ajay Viswanath
1

votes
2

answer
3.3k

views

Can we bundle a directory inside apk file?

I have a directory which contains some files. I want to bundle this directory inside apk file so that when I install apk file the directory gets copied to a particular location on the android device. Can I bundle a directory inside apk file as I didn't find this information on developer.android.com...
Ajay
1

votes
0

answer
27

views

How to track browser contextmenu delete event in core javascript?

Is there any way we can catch the delete event when we do a right click on selected text(in textarea or textbox element) and choose the 'Delete' option for Firefox, IE and Opera browsers? Right click from the browser's context menu
Ajay
1

votes
1

answer
264

views

How to print SOAP XML response

I am using below system properties: System.setProperty('com.sun.xml.ws.transport.http.client.HttpTransportPipe.dump', 'true'); System.setProperty('com.sun.xml.internal.ws.transport.http.client.HttpTransportPipe.dump', 'true'); System.setProperty('com.sun.xml.ws.transport.http.HttpAdapter.dump', 'tru...
Ajay Sharma
1

votes
0

answer
628

views

Angular wrapped Iframe-resizer(Get Iframe target site height)

I tried to get the content window height to set the iframe height in angular 5, but iam unable to do that because iam using different domain url in my src tag. Im getting exception like 'blocked because of cors'. HTML: HomeComponent.ts resizeIframe(obj) { var height = obj.target.contentDocument.inn...
Ajay
1

votes
2

answer
36

views

Excluding a search from txt file in batch file

I have a batch file Unregister.bat set UNREG='%~1' SET COMUnReg='%~dp0_tools_\bin\regasm.exe' /u SET FILES='%~dp0COMRegisteredNames.txt' FOR /F 'delims= ' %%a IN ('type %FILES%') DO ( FOR /R '%UNREG%' %%f IN (*%%a*) DO ( Echo UnRegistering %%f %COMUnReg% %%f ) ) the txt file contains file names to...
Ajay
1

votes
1

answer
878

views

mat-select not working in mat-expansion-panel

We have to show a form inside mat-expansion-panel. There are multiple fields in the form, for few of them I am using mat-select and for another few I am using mat-input. In expansion panel, matInput is working fine but mat-select is not showing the options for selecting a possible value. Though mat-...
Ajay
1

votes
2

answer
347

views

The value to the property that is set in the spring bean is getting null when using

This is my beans.xml: and this is my application class: import java.io.File; import java.io.FileNotFoundException; import java.util.Calendar; import java.util.Date; import java.util.concurrent.TimeUnit; import org.apache.log4j.Logger; public class ShredFilesUnderTimePeriod { public Logger logger = L...
Sarvasiddhi Ajay
1

votes
0

answer
260

views

Server returned HTTP response code: 500 (Worklight)

I am getting HTTP response code: 500 in logs for wladmin user..because of this I am unable to deploy runtime for worklight console [2/7/18 5:33:39:138 EST] 000000ab ServiceProxy E Received status 500 for GET https://localhost:9444/wladmin/management-apis/1.0/loginAudit java.io.IOException: Server...
Ajay Kotapati
1

votes
0

answer
267

views

Sampling rate is very low with ADS1256 and raspberry pi

I am trying to get data samples from a sensor using a ADS1256 library with a Raspberry Pi High-Precision AD/DA Expansion Board on my RaspberryPi 2B Now as mentioned in their code and datasheet it can take around 30,000 samples per second, but when I am running it, it was taking around 15 samples per...
Ajay Mudhai
1

votes
0

answer
55

views

Generate Entity Framework code for SQL Data

This is weird but is it possible to generate c# EF code from existing database to insert data, Similar to generating data scripts from SQL Server? Instead of raw SQL, I want to generate code which uses EF models to insert data. Something like var testData1 = new TestData { CreatorUserId = 1, Name =...
Ajay Kumar
1

votes
0

answer
284

views

unsupported charset “ISO-8859-1” in nodejs

In my nodejs application I used following line of code to get req.body app.use(bodyParser.urlencoded({ extended: false })); this is working fine but one request to my application which throw following error UnsupportedMediaTypeError: unsupported charset 'ISO-8859-1' at urlencodedParser (/var/www/pa...
Ajay Gawali
1

votes
1

answer
251

views

Override @IBoutlet property with different type of compatible class

I have @IBOutlet var heading of type UILabel in base class, now I subclassed this and in the new class I want to have @IBoutlet heading of type MyLabel (let's say I have a class MyLabel subclassed from UILabel). So the question is: how to override the same property to different compatible class?
Ajay Kumar
1

votes
1

answer
355

views

DeprecattionWarning: 'node --debug' and 'node --debug-brk' are invalid. please use 'node --inspect or 'node --inspect-brk' insted

When I am running node.js app in visual studio I am getting this: DeprecationWarning: 'node --debug' and 'node --debug-brk' are invalid. Please use 'node --inspect or 'node --inspect-brk' instead. in command promt.
ajay kumar
1

votes
2

answer
93

views

Retrofit GSON Parsing dynamic repsonse (key names unknown)

I am trying to parse below json response in retrofit/gson, specifically this json { 'Coincheck':{ 'BTC':[ 'JPY' ] }, 'QuadrigaCX':{ 'ETH':[ 'CAD', 'BTC' ], 'BTC':[ 'USD', 'CAD' ] } // ... more data } I tried using Map< String, Map< String, List< String>> public class ExchangeResp { Map...
Ajay
1

votes
0

answer
97

views

looping over multiple async_generator objects together

I started working out some problems to master python asyncio module. What I wanted to create is a 'clock' which basically just prints out the time after program started in Hour:Minute:Second format. I thought of making three async_generators and looping over those three async_generators using a for...
AJAY AJITH
1

votes
2

answer
174

views

Icelink : video, voice and text chat

I want to implement video audio and text chat in native Android using Icelink. I implement demo provided by Icelink but it makes a conference call. I want to make one to one call using request and answer signalling method. Till now I did with connect server and bind user with it. i use Websync for s...
Ajay Mistry
1

votes
2

answer
46

views

How to download file with progressbar update

I want to download file with updating Progressbar not ProgressDialog.I use AsyncTask for download file.In onProgressUpdate() method i want to update the progressbar progress but not getting success.In Log progress is print but progresbar not update.My code is in Adapter. class DownloadFileFromURL e...
ajay dhadhal
1

votes
0

answer
150

views

How Can I validate byte data before converting it into PDF?

I am using REST WebService which returns stream of byte data. I use this byte data to create a PDF file. Now I am not validating this byte data before converting it to PDF which is shown as security concern in Veracode tool. How Can I make it secure? Below is the code that I am using for converting...
Ajay pal
1

votes
1

answer
65

views

How to pass text from edittext as parameter in XML?

I am calling a SOAP web service without using the wsdl and proxy in Xamarin Android. I want to pass username and password from my edittext as a parameter in the XML file. Here is my code: public void Execute() { HttpWebRequest request = CreateWebRequest(); XmlDocument soapenvelopxml = new XmlDocumen...
K. Ajay
1

votes
0

answer
635

views

postgresql:ERROR: negative substring length not allowed

I receive the error message ERROR: negative substring length not allowed when I run the following query in postgresql: update main as m set filcase_type=subquery.filcase from (SELECT filcase_type , Position('SR' in filcase_type) ,substring(filcase_type,1,position('SR' in filcase_type)-1) as filcase...
Ajay Takur
1

votes
0

answer
33

views

Orient DB difference between load and fetching via select query

I have noticed that when load with id is used the resulting object members(which are arrays of the other objects) are accessible via java. However when I fetch the same objects via a select query, only other members(which are not arrays of other objects) are visible. Pl let me know how to access the...
Ajay
1

votes
2

answer
218

views

AspNetCore NodeServices throws NodeInvocationException

I am using NodeServices to create PDF in AspNetCore app. App works fine on local machine but when deployed on production, on calling the pdf function, I get the following error: Error: spawn D:\home\site\wwwroot\node_modules\phantomjs\lib\phantom\bin\phantomjs ENOENT at _errnoException (util.js:1022...
Ajay Kumar
1

votes
1

answer
67

views

ASP.NET Identity with External Login using OpenIdConnect (O365) - Cannot get claims?

I am using ASP.NET Identity with External Login using OpenIdConnect (O365). I have registered the app at https://apps.dev.microsoft.com/ and delegated permissions. The flow of the app is like this: Unregistered user logs in using OpenId User is prompted to register (Working till here) The Email addr...
Ajay Menon
1

votes
0

answer
1.1k

views

Broadcast Receiver is not registering in android oreo

SmsBroadcastReceiver was not triggering when i received otp in oreo. I have explicitly registered my receiver in fragment instead of not only in manifest. public class MyFragment extends Fragment{ @Override public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceSt...
Ajay Jayendran
1

votes
2

answer
44

views

concat two columns in mysql

SELECT ISS.fdIssuerId as ID ,rpad(concat(ISS.fdIssuerName, '-', ISS.fdType),20,' ') as Symbol ,concat(LPAD('Group-',10,' '), ifnull(GRP.fdgroupName, '')) as groups ,concat(rpad(concat(ISS.fdIssuerName, '-', ISS.fdType),20,' '),concat(LPAD('Group-',10,' '), ifnull(GRP.fdgroupName, ''))) as asdf FROM...
Ajay Nirmal
1

votes
0

answer
34

views

Unable to get instructions in audio format and not able to play audio file after first one

Jarvis should say every instruction comes on screen but here first statement is spoken & none other than that gets audio voice. And while saving the audio only the first statement gets stored as audio file. how to delete the previous audio file after process & save new audio file as instruction.How...
Ajay Soni
1

votes
1

answer
70

views

How to Manage Records in sitefinity Dynamic module

I'm using Sitefinity 10.2.6602.0 and Created Dynamic Module with Module Builder. we have 10 product Records in Module. How to Restrict/Display records as per register user? Ex: if administration login , we can show all the records in module, if product 1 user login, we need to show only Product 1 re...
Ajay
1

votes
0

answer
25

views

Downloading and saving a file from Android app link

I have done a simple web link to a JSP page and trying to download and save a file on click of a button in JSP page. I had given access permission for storage, but I am not getting the file to download and save. Any changes in JSP are also welcome. Any suggestions?
Ajay Jain
1

votes
0

answer
475

views

Cross Database Query in Azure SQL Database Performance

I have installed Sql Server 2012 on my virtual machine. I am looking to migrate SQL Server database to Azure database. I have three database. In that I have multiple table. Suppose I have Database1.table1 ... ,Database2.table1 ... ,Database3.table1 .... and in that I have some tables and stored proc...
Ajay P
1

votes
0

answer
45

views

How to show the label in the address templates in billing and shipping address in Woocommerce emails and invoice pdf

The Woocommerce shows the 'Billing Address' & 'Shipping Address' in email and invoice pdf template as follows: first_name last_name company address_1 address_2 city - postcode state I want to display it as follows: Name: first_name last_name Company Name: company Address: address_1 address_2 city -...
Ajay Katware
1

votes
1

answer
22

views

Getting a traceback while inheriting from imported files

@first.py class first(): def fun1(): print 'first one' @second.py class second(): def fun2(): print 'second one' @third.py import first import second class third (first, second): def fun3(): f= first() s= second() f.fun1() s.fun2() print 'third one' on running the third.py, i'm getting a traceback...
Ajay
1

votes
1

answer
211

views

How to start fileserver on aerokube selenoid docker image

I have followed instructions from the post https://medium.com/@aandryashin/selenium-done-in-60-seconds-176796f8bdc7 to get stated with Selenoid. I was able to get the docker image up and running and connect. 2018/05/07 06:24:15 Loading configuration files... 2018/05/07 06:24:15 Loaded configuration...
Ajay EP
1

votes
0

answer
191

views

Custom IOS transition showing white blank screen while dismissing view controller

I am creating Hero animation like IOS app store click on the app to open detail page , I was able to create presentation animation without any issue but when I tried to dismiss the animation it shows a white background screen for some time, I tried all solution which is listed on stack overflow like...
Ajay Beniwal

View additional