Sunny Sunny

1

votes
2

answer
1.2k

views

google earth vs. google map api: For a specific environment

I am about to start a new project which will be used about 80% through non-mobile devices like desktops and laptops and 20% through mobile devices. And yes, I want to use KML capabilities too, use JQuery for all my JS work and do not want users to download any plugin separately. I have implemented...
Sunny
1

votes
1

answer
39

views

Skew only one side of before & after to get flat-arrow

I've created some dummy breadcrumb-steps. The 1st breadcrumb-step need to have a normal flat border on the left, which is done. And on hover, I need to show the black border for each breadcrumb item. But the only problem is on hover, for the 1st breadcrumb-step, I don't get that flat border on the l...
Sunny
0

votes
0

answer
5

views

extract text from Secured PDF

I want to extract data from secured pdf using vba. The pdf consist of password and after inserting password it shows pdf as secured pdf. I am able to open the password protected pdf but while converting pdf to txt format it does not copy the data from pdf to text due to the secured version
sunny
1

votes
0

answer
285

views

ansible progess of uri task

After reading the docs it seems that ansible does not support do_until for multiple tasks in blocks and also an include_task. My use case is to do a post on a restful url and then get the status of that restful response and continue doing that. The restful response, for the sake of brevity has two a...
sunny
1

votes
2

answer
453

views

Import excel from Azure blob using R

I have the basic setup done following the link below: http://htmlpreview.github.io/?https://github.com/Microsoft/AzureSMR/blob/master/inst/doc/tutorial.html There is a method 'azureGetBlob' which allows you to retrieve objects from the containers. however, it seems to only allow 'raw' and 'text' fo...
Sunny
1

votes
1

answer
53

views

What should be the input to Convolution neural network (CNN) using keras and tensorflow?

I'm trying to create CNN model using keras ad tensorflow as backend. below is code for the same.. Cannot understand what input it is expecting... import cv2,os import glob import numpy as np from sklearn.utils import shuffle from sklearn.cross_validation import train_test_split from keras.utils impo...
SUNNY
1

votes
0

answer
24

views

Export multiple print statements to csv using python 3.5

I have csv file which have two columns and i want to export it into the format i want. SO far i am able to print it into shell, i am struck with exporting that into csv file. Below is the code so far I have tried. import csv with open('file.csv','r') as csv_file: csv_reader = csv.reader(csv_file) ne...
Sunny
1

votes
1

answer
56

views

Bintray upload failing, unable to find class R

I have made an android library by following this. Everything worked perfectly fine and I was able to upload my library to jcenter, also my library internally uses one java jar as dependecy. Now I have made some improvements and wants to update my library but when I run the command gradlew clean bu...
Sunny
1

votes
0

answer
47

views

show filter section after going under subcategory of main category in wordpress

I want show filter section under only subcategory of product. Reference site is below. How can I do? Is there any plugin for that? Reference Site is: https://www.q-railing.com/en-ie/glass-railings/ Please help me.
Anuj Sunny
1

votes
1

answer
35

views

how to create multi line chart with single datatable in vb.net

I am working on vb.net application where i have to create a multi line chart. The table coming from the database using storing procedure is:- TagName On Off Trip P1 0 0 1 P2 0 1 1 P3 0 1 0 Q1 0 1 0 Q2 1 0 1 Q3 2 2 2...
Sunny Sandeep
1

votes
0

answer
67

views

the role of GENERATE_EEK and GET_METADATA in hdfs transparent encryption

I am little unclear on what the ACL for GENERATE_EEK and GET_METADATA allow. From a naive understanding of HDFS transparent encryption it seems that GENERATE_EEK would be a request to generate an EDEK for an encryption zone (EZ). So say suppose Create a key using the keyadmin user called keyforuserA...
sunny
1

votes
1

answer
375

views

Migrating a column of JSON string to a SQL table with just queries

I have a column in a table which contains JSON string in the following format. Click Here for image of JSON column {'uuid':'633ba45145f58a40','model':'HM NOTE 1LTE','platform':'Android','version':'4.4.4','frontCameraAvailable':'true'} Now I wanted to migrate this data to a table with the following...
Nevin Sunny
-1

votes
2

answer
47

views

Vertical bar for each tbody inside a table

I've a dynamic HTML page which has a table with multiple 'tbody' elements. Now, I'm stuck with CSS as I need to show a vertical bar inside each of the 'tbody' as shown in the image attached. How could I get this done? I tried using 'tr::after' and creating a bar, but didn't help. Here's my html: Cou...
Sunny
1

votes
0

answer
220

views

Xcos superblock throws an unusual error

I've been trying to create a set of super blocks using Electrical blocks & even with a very simple circuit, Xcos throws the error 'The number of equations doesn't match the number of variables'. My circuit consists of a 3 phase supply connected to a 3 phase load. In the form below, it works just fin...
Sunny Yates
1

votes
0

answer
102

views

ICS Integration on supplier Creation Business Object from EBS to ORACLE CLOUD facing the issue mention below

I have made an integration in ICS on 'supplier' creation and in the end point service on cloud side i have chosen Business Object: 'supplier service' and operation :'creation' so when i am going to activate the integration it showing this error Integration 'EBS_SUPPLIER_CLOUD_INTG' cannot be activa...
sunny gadae
1

votes
0

answer
247

views

How to create flow chart type drag and drop in C#

I'm new in C# and want to create a drag and drop program for kids to learn program. I have learned about drag and drop in C# but I got stuck in creating conditional and if-else conditions in drag and drop. What I want is that if user drag while button from control and after that if inside while than...
Sunny Bhadana
1

votes
0

answer
50

views

Is there any callback function to handle swipeback from one screen to another?

Is there any callback function to handle swipe back from one screen to another?
1

votes
1

answer
688

views

Bootstrap4 Dropdown menu fill input-group

I have a very simple bootstrap issue that I'd like to solve. According to the guide (https://getbootstrap.com/docs/4.0/components/dropdowns/) the .dropdown-menu class and dropdown-toggle has to be wrapped within .dropdown, or another element that declares position: relative;. But so far, I can only...
Willy_Sunny
1

votes
0

answer
149

views

How to get CSS keyframe rules in JQuery

I have an external CSS file, lets say my.css with content: @keyframes someName { 0% { opacity: 0; width: 100px; } 100% { opacity: 1; width: 200px; } } @keyframes someName2 { 0% { height: 100px; } 100% { height: 200px; } } I want to create an object from t...
Sunny
1

votes
0

answer
184

views

Using NodeJS, How to upload a file into azure container / directory (such as: test-container/folder-test)

I am able to upload file to azure on specific container but I am not able to find any directory reference from azure documentation for Nodejs. While using c# and Java we are able to upload on specific directory of container (sub directories) Nodejs: var BlobService = azure.createBlobService(storage...
Sk Sunny
1

votes
0

answer
231

views

Trying to integrate Tap Payment gateway in codeigniter

I am trying to integrate Tap payment gateway in Codeigniter. I am using https://github.com/iZaL/tap-payment-php api. Because this does't give you any php support or any documentation. So, I was busting my head from last 2 days to get this thing work, and so far I have done this. This is the response...
Sunny Danu
1

votes
0

answer
29

views

Node Js use of fast-csv for reading csv (How to use Database queries inside ondata)

How to Use inner code inside .on('data') NodeJs as it runs fast? This is my code below. csv.fromPath(newpath).on('data', function(data){ connection.query('INSERT INTO users SET phone = ?, name = ?,first_name = ?,last_name = ? ',[phone,full_name,first_name,last_name], function(err,rows,fields) { if(e...
Sunny Kumar
1

votes
1

answer
104

views

list(map) error : TypeError: only integer scalar arrays can be converted to a scalar index

I'm using Python 3.6.3 in Anaconda. And I'm trying: observations = ['red', 'white'] seen = np.array([[0,1,0]]).T list(map(lambda x: observations[x], seen)) then this error occurred : TypeError: only integer scalar arrays can be converted to a scalar index I checked the map: map(lambda x: observatio...
Sunny
1

votes
1

answer
25

views

Getting as.Date to show year only instead of automatically including today's date

When I try to create an XTS object using an existing column with years as characters, my xts object automatically included today's date instead of only the year as I specified it. Is there any way to only include the year? Here's my code: global_totals_ts
Sunny
1

votes
0

answer
22

views

Not able to copy entity in ManyToMany relationship

I have an Entity Class Which has ManyToMany relationship with the other class.I want to create a new entry in the table of this instance by just changing its name property. Employee.java` @Entity @Table(name = 'employee') public class Employee { public Employee() { super(); } public Employee(String...
Sunny
1

votes
0

answer
112

views

WordPress Yoast Focus Keyword not updating

I am trying to update Yoast Focus Keyword field programmatically in WordPress plugin. But unfortunately, I cannot see the desired result on screen. Could you please help me with this? Here is the code I am using $updated_title = update_post_meta($post_id, '_yoast_wpseo_focuskw', $metatitle); Thank Y...
Sunny Kasera
1

votes
0

answer
29

views

Mocha 5.1.1 is not testing all files

I upgraded mocha from ^2.2.5 to 5.1.1 in my Angular JS project. I have 11550 test cases in my application, all of which were successful before the upgrade. However, after upgrading Mocha, I'm getting irregular outputs while running grunt test such as Firefox 60.0.0 (Windows 10.0.0): Executed 6132 of...
Sherin Sunny
1

votes
1

answer
68

views

Apache Ignite - In case of a SQL Select, is there any order by which Apache Ignite return the results?

I would like to know if there is any ordering done by Apache Ignite before returning a result for a select sql. For example: Collection> result = igniteCache.query(new SqlFieldsQuery('SELECT * FROM CACHE_TABLE_1 p1').getAll(); Is there any specific order the SELECT returns the results?
Sunny G
1

votes
2

answer
65

views

MySQL advice and investigation

Intro: I have a Debian 8 VPS with SSD and 512MB RAM (1024MB Burst) and use it only with MySQL. I have turned off all unnecessary services and gave every resources on db and system. I have 5 workstations only. The ping and network are stable. The main problem is that if I do 10 consecutive queries li...
Sunny eXtreme
1

votes
1

answer
2.5k

views

PLS-00306: wrong number or types of arguments in call to a Oracle SP

I'm trying to execute a below SP and it throws be the below error: CREATE OR REPLACE PROCEDURE denodo.CLEAR_INDEX ( INDEX_NAME1 IN VARCHAR2, INDEX_NAME2 IN VARCHAR2, IT_WORKED OUT BOOLEAN ) as BEGIN IT_WORKED := FALSE; EXECUTE IMMEDIATE 'drop index ' || INDEX_NAME1; EXECUTE IMMEDIATE 'drop index...
sunny babau
1

votes
0

answer
89

views

On Submit directly upload attachment to google drive using PHPRunner

I am creating a simple form using PHPRunner in which the attached file should directly be saved to Google Drive. What expression should I put in the Upload Folder section? Also I do want to rename the file when it is being uploaded. After the upload, I need the URL of the file so that I can hyperlin...
Sunny Nanade
1

votes
1

answer
469

views

unable to see kjhtml report when running jasmine tests

I'm using jasmine with karma to unit test angular components. I'm not able to see html report that shows test results for all the components rather i'm seeing html document of each component when it executes that component's unit tests. What is the configuration i need to do to get the unit test res...
Sunny.Wadhwani
1

votes
0

answer
524

views

Unable to connect with local Docker machine from Visual Studio Code

I installed 'Docker(0.0.27)' extension in Visual Studio Code(running locally on laptop) to build docker images without leaving the IDE. But observed following issue when issued 'docker version' command from VS code terminal window.. I even set the DOCKER_HOST environment variable to connect with doc...
Sunny Goel
1

votes
1

answer
87

views

Query REST API with unsigned cert using PowerShell

I've recently switched from using the PowerShell ISE to using Visual Studio Code When I run my PowerShell scripts from within VSC on my office PC (Win 10 64Bit), none of the REST connections that use Invoke-RestMethod over HTTPS will authenticate against servers that use an unsigned SSL cert. When r...
Sunny
1

votes
1

answer
90

views

Inconsistent results when using selenium and when manually clicking

I am trying to automate logging into my salesforce account. When I use my code: from selenium import webdriver from selenium.webdriver.common.keys import Keys browser= webdriver.Firefox() browser.get('https://xxxxx.my.salesforce.com/? SAMLRequest=&startURL=%2Fidp%2Flogin%3Fapp% 3D0sp0g000000Gmhj&u...
Sunny Singh
1

votes
2

answer
62

views

ODOO 10 how to filter delivery orders on the basis of delivery operations line?

i am trying to filter those delivery order whose product contain 'breakfast'. The domain filter which i am using in action is : [('pack_operation_product_ids','=','breakfast')] but, it is returning all the records without filtering it. i want it to filter all records like this, when all transfer men...
sunny saxena
1

votes
2

answer
500

views

Java: Converting Class member variables/values into Map - Reflection

I have an instance of a class for which I would like to create a Map which has Key as each class variable name and its Value as the value in that class variable? I tried to use the following but it doesn't seem to work. It does not go into either the if() or the else if() section. And the maps remai...
Sunny
1

votes
1

answer
30

views

Jmeter script waits for some time after clicking menu button

I am clicking on a Menu Item which takes the user to a different page on the application. After clicking menu item , script waits for few seconds or more than a minute sometimes before moving ahead to the next step. There are no wait/delays etc after click and have verified from logs that it keeps w...
sunny
1

votes
1

answer
59

views

Use different swift file for different target?

There are two target for one project. One is main application project and other is share extension project. I had require to use swift bridge header file in both project I am facing issue for using different file for different target. #ifndef AMESSAGE_EXTENSION #import 'aMessageAction-Swift.h' #else...
Sunny Shah
1

votes
0

answer
23

views

Synchronizing two Redux stores over a network?

I have a Redux store on my server and an identical Redux store on my client. Every time the user performs an action on the client, the state on the client is updated, and the change is described as a JSON object and sent to the server as an AJAX request. The server receives the request and updates i...
mario_sunny

View additional