Vinoth Vinoth

0

votes
4

answer
23

views

Add string at the end position of particular text in a string

I need to append a text at the end position of the search term. $baseStr = 'www.abc.com/cdf/?x=10'; $searchStr = 'www.abc.com/'; $insertStr = 'xxx/'; I need to insert $insertStr after 'www.abc.com/' in $baseStr. I get only the start position using strpos. Expected result: $resultStr = 'www.abc.com/x...
Vinoth S
1

votes
0

answer
123

views

How to handle wp_editor with out echoing

I would like to know how to pass the wp_editor into variables with out directly echoing. Right now am using function fed_get_wp_editor( $content = '', $id, array $options = array() ) { ob_start(); wp_editor( $content, $id, $options ); $temp = ob_get_clean(); $temp .= \_WP_Editors::enqueue_scripts(...
Vinoth Kumar
1

votes
0

answer
27

views

Printing red value of the image

import cv2 import glob import numpy as np print('Dude Test me \n') sample_folder=input('Enter the image containg folder you want to test : ') sample_image=input('Enter image name(number) : ') print(str(sample_image)+'.png') for i in glob.glob('E:\dataset\TRAINING DATA\small\a\str(sample_image)+'.pn...
Vinoth Viru
1

votes
1

answer
1.1k

views

I am not able to install nodejs 8 on ubuntu

I have nodejs version v4.2.6 on my ubuntu machine. If I try to upgrade to v8 or try to remove and install v8, then still v4.2.6 is installed on my machine. I removed the older version. sudo apt-get remove nodejs sudo apt-get remove npm sudo rm -rf /usr/local/bin/npm /usr/local/share/man/man1/node*...
vinoth
1

votes
0

answer
125

views

I am developing bookstore in spring boot app when i run my application it shows http status 404 found and it shows following exception i

it is not working as expects i have configured correct properties in application.properties file server.port: 8041 server.contextPath: /BookStore spring.thymeleaf.cache=true spring.boot.static-path-pattern=/resources/static/** spring.thymeleaf.prefix=classpath:/templates/ spring.thymeleaf.suffix=.h...
Vinoth
1

votes
0

answer
25

views

Get data by Popularity/Rating using Elasticsearcch

I am trying to do a get request using elasticsearch which needs to get the data with respect to its Popularity/ rating. So I followed this Link . I set the rating of my item by using the below one, #1 http://localhost:9200/cars/car/_rank_eval above is the Api which is used to create _rank_eval usi...
Beckham_Vinoth
1

votes
1

answer
43

views

git checkout branch without checking files

I have huge size of git repo in my local system with 10 different branches, In those 10 branch the master repository is around 2 GB. when i switch from any branch1 to master branch, Git is trying to checkout all files in local system itself, how to reduce the time here. [[email protected]_001 myrepo]$ tim...
vinoth
1

votes
1

answer
187

views

BizTalk WCF-Custom adapter throws time out in BizTalk server 2016

I am generating an CUSCAR EDI file from the data available in the SQL db using a WCF-Custom request response port. The volume of data retrived from the db is huge when the response is archived in a physical folder it extends upto 40 MB. I am frequently getting time out issue, when I request DB for t...
vinoth
1

votes
1

answer
2.1k

views

Prism 7.0 Registering Modules Using a Configuration File

Im trying a hello world program in Prism.Wpf 7.0. Im trying to load a module from app.config file. Which is not working. Im using PrismApplication since UnityBootstrapper is Obsolete in Prism.Wpf 7.0. My app.config as.. My app.xaml.cs as.. internal partial class App : PrismApplication { //ShellView...
Vinoth Ezhilan M
1

votes
0

answer
156

views

Warning: Failed prop type: Invalid prop `opacity` of type `object` supplied to `Image`, expected `number`

While running jest I am getting this strange warning stating console.error node_modules/fbjs/lib/warning.js:33 Warning: Failed prop type: Invalid prop `opacity` of type `object` supplied to `Image`, expected `number`. Bad object: { 'position': 'absolute', 'top': 40, 'right': 24, 'opacity': { '_chil...
Vinoth Kumar
1

votes
1

answer
55

views

Stopping the multiple postbacks of ASP.NET linkbutton

The problem is when the user has clicked on a Link Button that is causing the browser to post to the server, it will take some time for doing the operation in the server side (assume during post back, it will insert some records into database). So, in the mean time, the user has clicked the link but...
vinoth
1

votes
0

answer
74

views

How to generta MDX query from cube? How to call using olap4j?

Iam developing java spring batch. one task i need to call and execute SSAS cube process. How to generate MDX query from cube? and how to call mdx query using OLAP4j? Thanks
Vinoth KRM
1

votes
1

answer
157

views

Azure Log analytics to query based on dates

I want to query a table in log analytics , to fetch count of records in last hour for today's date and to compare the count that fetched on same hour on the previous week (7 days before) on the same day. I am not sure that below query helps me. Please help me in this. Table1 | where TimeGenerated >...
vinoth
1

votes
1

answer
12

views

How to bind multiple textboxes in MVC and store it in database?

I have five textboxes as of companyName,year,empname,email,phoneno. for these textboxes i ve created a table with the same fields. now i want to bind (empname,email,phone) with (companyname and year)... Consider in a same company, some three employees are there.i want to store like Company Ye...
Vinoth Raja
1

votes
1

answer
237

views

Expand TextField height based on content upto certain lines

I'm trying to make a TextField multi-lined only when the content is more than one line. Similar to WhatsApp chat TextField which is expanded to a maximum of 6 lines only when the content is ateast 6 lines. I've tried maxLines property of TextField, but it makes it 6 lines of height whether or not th...
Vinoth Kumar
1

votes
1

answer
27

views

Skip password or pattern screen and directly open app

I'm trying to skip lock screen when i make call from my own Call app. When the user locks the phone for the first time it will turn off the screen by default. Then if the user presses the unlock the phone it should not go to password or pattern screen. I've searched using several keywords. But not a...
Vinoth Kumar
1

votes
0

answer
90

views

Can we extract particular PDF data to Excel

I have one Pdf file. I need to extract the particular data in PDF to Excel using c#. Is it possible? I have written below code for extract pdf private void ExportPDFToExcel(string fileName) { fileName = HttpContext.Current.Server.MapPath('~/Models/10310.pdf'); StringBuilder text = new StringBuilder...
Vinoth.S
1

votes
1

answer
819

views

How to check remote GIT repository permission without commit/add any files or modify any files

I'm trying to find remote GIT repository permission without any file changes. I have tried below command, 'git push --dry-run' its shows, everything-up-to-date. The problem is I have cloned my remote repository after that I removed all my permission in remote git repository I want to know the remote...
vinoth
1

votes
0

answer
36

views

TestNG: Tests which are part of multiple groups are being excluded

I have few tests which are part of just one group (Smoke OR Regression) and few other tests which are part of multiple groups (Smoke AND Regression). When I try to execute one group 'Smoke' or 'Regression', tests that are only part of either of those groups alone be executed and any tests that are p...
Vinoth
1

votes
0

answer
16

views

How do i correct my DP solution for the Cherry Pickup problem

My approach seems to be correct , the issue is whether multiple trips are allowed. My solution seems to exceed the correct answer. The Question: In a N x N grid representing a field of cherries, each cell is one of three possible integers. 0 means the cell is empty, so you can pass through; 1 means...
vinoth rajagopalan
1

votes
0

answer
45

views

ImageEditor.cropImage issue with React Native in Android

I want to crop image in react native and using the below code, var cropData = { offset: {x: 0, y: 20}, size: {width: 20, height: 20}, displaySize: {width: 20, height: 20}, resizeMode: 'contain', }; ImageEditor.cropImage( uripath, cropData, (croppedImageURI) => { console.log('succes', croppedImageURI...
Vinoth K
1

votes
0

answer
53

views

Coded UI Test Builder - “Last mouse action was not recorded” and it fails to record the action

I'm using codedUI test Builder, initially it was worked fine and after the windows update i faced an issue like, it was hanged while doing a record, literally its not taking any mouse action always showed message Last mouse action was not recorded. I looked on the below link, https://developercomm...
AR Vinoth
1

votes
2

answer
2.3k

views

Android change timezone, time and date

I want to programtically set date, time and timezone in android. Is it possible. There are conflicting answers where some say is it possible and others say it is not possible.
Vinoth
1

votes
2

answer
2.7k

views

Blueprint CSS : showgrid not working

I just started out with Blueprint css . I am trying to use showgrid class , but it is not showing me any grid in the screen . Below is the code . Please let me know if I am missing something . Book Haven
Vinoth Kumar C M
1

votes
1

answer
878

views

AR on iphone using ZXing

Has anyone attempted to use ZXing with an iphone AR toolkit like ARToolKit? Trying to use a QR code as a marker to display my models on an iphone. Is the ZXing project sufficient to get the dimensions of the QR code to feed to the ARToolkit?
Vinoth Gopi
1

votes
1

answer
880

views

How to downgrade IE version?

I am developing a web application and it needs to be tested in Internet Explorer 7. I have IE 8 installed in my computer. When I try to install IE 7 , the setup breaks, giving 'Setup cannot continue. A more recent version of IE is found in your computer'. How do I install IE 7?
1

votes
1

answer
679

views

Accessing javascript arraylist in struts <s:select>

I am trying to create a dropdown list using struts. I want to load the option values in the select element from a javascript arraylist (say. a separate javascript file). How can I do so? I have seen an example that it can be done in plain javascript. How can I do so in struts select element? Thank y...
Vinoth
1

votes
4

answer
976

views

Concurrency while reading files from file system

We have an application that reads files from a particular folder, processes them and copies(some business logic) it to another folder. The problem here is when there are very large number of files to be processed, running a single instance of an application or a single thread is no longer enough to...
Vinoth Kumar C M
1

votes
2

answer
729

views

Scroll bar showing up in Options Menu

I have created a simple options menu. For some odd reason the scroll bar shows up as below How can I get rid of this ? The size of the icons are 48*48. If I decrease the size to 44*44 it solves the problem. But I want a 48*48 icon because it shows up big and is easy to see. Code for building menu @O...
Vinoth
1

votes
1

answer
1.3k

views

Uninstall the Add-on setup before uninstall the main setup using Inno setup

My requirement is below; I have read the Add-on Product Id from registry and uninstall the setup using that product ID before uninstall the Main setup. I have used the below code [code] const RegProductLocation = 'SOFTWARE\My Company\My Product\Sample\ {#Version}'; var SamplesProductId : string; fun...
Vinoth
1

votes
1

answer
1.6k

views

How to get the remote host in a JSF app with SSO login

My web app is deployed in a network which uses Oracle Access Manager 10g Single sign On(SSO) for identity management. FacesContext context = FacesContext.getCurrentInstance(); HttpServletRequest request = (HttpServletRequest) context .getExternalContext().getRequest(); String remoteHost = request.ge...
Vinoth
1

votes
6

answer
12.5k

views

IsPostback always false when i click button or any other

Am using asp.net for above 5 years. But now am facing a weird problem. When i try to send emails from form created by me which contains asp:button, asp:textbox, etc., in code page it always telling IsPostBack false. Even when i click the Send mail button(asp.net button). I cant understand what is pr...
Vinoth Kannan
1

votes
2

answer
389

views

Serving static files from a CDN with Catalyst

I'm trying to serve all static files (js, css, images) from a CDN instead of the /static folder. I started writing my own sub to rewrite image URLs: sub uri_for_image { my ( $c, $path, @args ) = @_; my $uri = $c->uri_for($path, @args); if (MyApp->config->{use_cdn}) { my $cdn = MyApp->config->{cdn_...
Vinoth Gopi
1

votes
1

answer
933

views

Querying Map Key, values with Morphia

I have my mongoDB structure like this. { id : id, userid : userid, map :{ key1 : [value1, value2,value3], key2 : [value1, value2,value3], key3 : [value1, value2,value3], ....... } } I like to query the id if the key2 and value3 matches with my argument. I am little clueless about how to do this. Hel...
vinoth
1

votes
1

answer
302

views

Design suggestions for executing tasks that will be triggered based on configuration

In my web application, there is a web page displaying certain fields and its value. The values can be edited by the users. Once the values are edited, they are persisted into the database. Now comes the problem where i need suggestions. Once the values are updated into DB, i need to run few modules...
Vinoth
1

votes
3

answer
1.6k

views

Convert Byte[64] array to minimum length string

I have try to generate unlock key like XXXX-XXXX-XXXX or simply small length string or Hexstring. I am using RSA algorithm to encrypt and decrypt the Key. I got some long string like Q65g2+uiytyEUW5SFsiI/c5z9NSxyuU2CM1SEly6cAVv9PdTpH81XaWS8lITcaTZ4IjdmINwhHBosvt5kdg== when I convert the byte array...
Vinoth
1

votes
1

answer
612

views

Script Error occur in VS 2012 Help Viewer

I am using Sandcastle Help file builder (1.9.4.0), Sandcastle (2.7.0.0) and .NET Framework 4.0 assemblies to generate the Class reference for Visual Studio. I have used Framework version is .NET 4.0.30319 and Help File Format is MSHelpViewer and Presentation Style is vs2005 in Sandcastle Help file...
Vinoth
1

votes
1

answer
4.4k

views

how to add new icon image for newly created Dev express barButtonItem..?

I am currently working C# windows application can any one tell me how to add new icon for the newly created barButtonItem tell me how to add new image for that button. If i select large image Index property then it shows only the old icons that are available Can any one tell me how to add new imag...
Vinoth
1

votes
1

answer
173

views

How to test struts 2.0.x applications

How do we test action classes of Applications written in 2.0.x version? I read through this link and found out that, struts-junit plugin is only available for struts 2.1.1 or later. My application is written using struts 2.0.11 and I don't think upgrading the version is easy in my project. How do we...
Vinoth Kumar C M

View additional