Lucifer

1

votes
0

answer
220

views

How to use asp identity with mysql?

I'm trying to figure out how to do a login in my asp net project. I have a mysql database and I've read Identity is good for this. The tutorials I have seen online seem to create a new project with the option individual user accounts and it creates the identity files. I'm using visual studio for mac...
lucifer
1

votes
0

answer
655

views

How to set a2dp sink as a default (android 7.1)

We made a custom board which has Android 7.1 operating system as a our custom board must act to a reciver with bluetooth(while a2dp sink profile in bluetooth can do this), but we have do many works over weeks on it , but it still not work, so i'd like to ask somebody who know or had...
lucifer
1

votes
0

answer
148

views

Camel Split - parallelprocessing = true

I have question, apache camel I am using . I thought this will do 'n' number of operation at single instance. But problem I am facing is it working on first 10 job and once those completed only next is getting process. Can anyone point me correct direction, where I am lagging. Thanks Edit-1 file://{...
Lucifer
1

votes
0

answer
42

views

In R, how to add additional axises when plotting multiple 3D surface in plotly?

Just like the example data: https://plot.ly/r/3d-surface-plots/ I want to make each surface has its own axises, and still be in the same plot. I have ps the plot that example generates to show what I mean, the upper one is what I have, the bottom one is what I want: this is what I got: this is what...
Lucifer
1

votes
0

answer
513

views

has no exported member 'SubscriptionLike'

I have this code: import { SubscriptionLike } from 'rxjs'; After importing this, I get the error node_modules/rxjs/Rx'' has no exported member 'SubscriptionLike'.
Lucifer
1

votes
1

answer
783

views

ng generate @angular/material:material-nav --name=main-nav is not working

I do have angular 6, even though ng generate @angular/material:material-nav --name home isn't working got the errors like Collection '@angular/material' cannot be resolved. Error: Collection '@angular/material' cannot be resolved. at NodeModulesEngineHost._resolveCollectionPath (/Users/mac/angular/r...
Lucifer
1

votes
0

answer
136

views

504 Gateway timeout for ELB

I have AWS Elastic load balancer which has two healthy instances. If I make a POST request, it gets accepted. But consequent requests throw 504 gateway timeout error. After 5-10 minutes, it accepts 2-4 requests, and then start throwing 504 error. I try to reach is Spring Boot Application hosted on t...
lucifer
1

votes
1

answer
139

views

How do I exclude a url in keycloak 4.6?

keycloak: enabled: true public-client: true auth-server-url: http://localhost:8180/auth realm: realm resource: test securityConstraints: - authRoles: - test securityCollections: - name: test patterns: - /test/demo/* this config can include /test/demo/*. but i want exclude /test/info and include /te...
Lucifer
1

votes
0

answer
28

views

What is the meaning of python interpreter (by conda) in pycharm project which creates virtual environment

I once created an anaconda environment. Now I have just started using pycharm. Whenever I create a new project it automatically creates a new virtual environment. Then it asks for python interpreter. It shows the option to select from the environments I created on conda. I wanted to know whether py...
Lucifer
1

votes
0

answer
13

views

Add migration error package manager vs 2017

I have a problem with add-migration I am using entity framework and trying to add a migration to my project which is on windows 10 and its a discord.net bot I am using migrations for a database. Here is my code for my SQL Database on configuring override namespace bot.Core.DataBase { public class S...
lucifer 935
0

votes
0

answer
3

views

Get Image name and date taken - nativescript-imagepicker

I am new to NativeScript-Vue. In my app I have a feature to upload images I'm using nativescript-imagepicker to do that. In iOS, How can I get the image name and when it was taken. Below is the code I'm using. context .authorize() .then(function() { return context.present(); }) .then(selection => {...
Lucifer
1

votes
3

answer
136

views

Java-ME Application in Freeze Mode

I am developing a Java-ME Based Mobile Application. Now My Requirements are like whenever I am updating one of my RMS, I want my application to be stay in a Freeze kind of mode; which means no other action like clicking button or anything else should happen. My Method is already 'Synchronized'. Kin...
Lucifer
1

votes
1

answer
1.9k

views

List of Lists item selection not working properly?

in reference to my earlier question Binding List of Lists in XAML? i am facing a small issue. The above window has a ListView control where its each ListViewItem itself is another ListView. So the parent ListView consists of 8 (ListView)items, where each child item ListView consists of 1,1,1,2,1,2,...
Lucifer
1

votes
1

answer
137

views

How to Display All The RecordStore available in Device

I am Developing a Java ME Application. Here I want to list all the RecordStore available. How can I get the names of all the RecordStore exists ?
Lucifer
1

votes
1

answer
316

views

GPS Co-Ordinates fails during cloudy weather

I am trying to Fetch GPS continuously every minute using Android Code. When it clean sky its works very fine. But sometimes when there are lots of clouds i am not able to get the latitude & longitude. in such case how should I get GPS Co-Ordinates ?
Lucifer
1

votes
1

answer
175

views

How to Set Video Frameset using Android Code

I am developing an Android Application for Video Recording. Here I my Android Device has 15FPS for video recording. so My Question is can I decrease the FPS using Android code ?
Lucifer
1

votes
2

answer
595

views

uml to java code conversion convention

Please neglect any other arrow excluding the single simple arrow on which 1..1 or anything like that is written at the end I have refered to many websites and many books giving introductions to UML 2.0 and i came across two conventions used when two classes are connected by a single line without arr...
lucifer
1

votes
1

answer
1.4k

views

How to host a WinForms user control in a wpf user control?

i have created a winforms user control and am able to successfully host it in a wpf window using the WindowsFormsHost control. However when i try doing the same in a wpf user contol, the winforms control won't show up. Following is the code i am using to host the windows form control using WindowsFo...
Lucifer
1

votes
1

answer
6k

views

refresh the contents of frame in real time [duplicate]

Possible Duplicate: When does one need to call revalidate() on a swing component to make it refresh, and when not? i am making a Explorer program in Java it works as follows i input the path from the user, a textbox after the user presses enter the path is set and the list is computed of the folde...
lucifer
1

votes
1

answer
3k

views

Split a large zip file in small chunks using php script

I am using below script for spliting a large zip file in small chucks. $filename = 'pro.zip'; $targetfolder = '/tmp'; // File size in Mb per piece/split. // For a 200Mb file if piecesize=10 it will create twenty 10Mb files $piecesize = 10; // splitted file size in MB $buffer = 1024; $piece = 10...
Lucifer
0

votes
0

answer
11

views

GridLayout in ScrollView - NativeScript

I am new to NativeScript. I have 4 images in my page and I want to achieve this. Except I want my cover image to be of full-height of the screen. This is the code I'm trying. If I didn't give height='100%' to StackLayout it's not even loading the images. If I do give it then there is no scroll. Her...
Lucifer
1

votes
1

answer
1.4k

views

Resolve conflicts with imported types

I have a class MyClass under the namespace Phoenix in two different assemblies ClassLibrary1 and ClassLibrary2. ClassLibrary2 is reference in ClassLibrary1. Now in my ClassLibrary1 wherever I have made use of the MyClass type it gives me a warning of conflicts with imported types. How can I resolve...
Lucifer
1

votes
1

answer
3.4k

views

How to return an json Object and catch in in Ajax call in HTML

I have a simple tree structure of information in my D3 code. The D3 script is calling json from the script d3.json() function and the resulting json is giving the tree structure data.Now I have a couple of information that will come from database and hit the Servlet. I have to make the json dynamic...
lucifer
1

votes
1

answer
489

views

How to send a value from D3 node to Servlet

I have an application where i am populating a tree like structure with D3.js.Each node in this tree represents a name.I am able to catch the nodes name in a java script alert when i am clicking on the node .But my requirement is that i should send the name, which is coming with an alert to a Servlet...
lucifer
1

votes
1

answer
85

views

I got problems in making partiontioned table in Oracle

i have to make a table in oracle that represents a local retailer and who have stores in several states. Suppose he want to partition his stores into specific regions based on their location within each state, Region Name Location South Florida Miami, Orlando North Florida Jacksonville, P...
lucifer
1

votes
1

answer
2.1k

views

select , distinct is not working in sailsjs

I was working in sailsjs a few day ago. I just can't figure it out why my sailsjs app doesn't support select or distinct it says that this is not defind . Am I missing something? Please someone help me to figure this out. I try this Blog.find().select('keyfield').sort('createdAt DESC').done(funct...
Lucifer
1

votes
1

answer
1.5k

views

Dynamically changing WPF ListView ItemsPanel & ItemsContainerStyle

I have a ListView in XAML which displays its source collection in a GridView (with columns) fashion. However I intend to use the same ListView to display the source collection may be in a grid of images, or some card view. I want the ListView to change itself based on a ComboBox selection. So say f...
Lucifer
1

votes
2

answer
2.1k

views

Flask - getting the size of each file in a request?

I am having uploads on a site, and using flask as the back-end. The files are all sent in one POST request from the client to the server, and I'm handling them individually by using the getlist() method of request, and iterating through with a for loop: if request.method == 'POST': files = request....
Lucifer N.
1

votes
1

answer
244

views

Kickstart Price slider in front page

Can any one say that how i show my kickstart price slider in front page. I read many reference but still at no where . I use the multiblock module but the block produced is only shows in the search page. Then I also try through view . I create another facet block using facet api but there is no opti...
Lucifer
1

votes
1

answer
855

views

How to use regular expressions to deal with Chinese punctuation symbols in C++

I want to achieve such a result: Before: 有人可能会问:“那情绪、欲望、冲动、强迫症有什么区别呢?” After: 有人可能会问 那情绪 欲望 冲动 强迫症有什么区别呢 To space replace Chinese punctuation symbols. I tried to use replace and replace_if functi...
Lucifer
1

votes
3

answer
702

views

Xcode - how to dismiss modal UIImageView?

Very new to iOS development. I'm trying to make an thing that will let me select a photo from the photo library, and display it. I'm using a storyboard with a navigation controller. I'm able to select and display the image just fine, but I can't figure out how to dismiss the imageview and return bac...
Lucifer N.
1

votes
1

answer
356

views

How to replace 0 or 0.0 in jsp page with blank space using jstl

i am uploding an excel with some values so now my functionality is that there are three tables one contains inserted list,one updated list and one missing fields list.now my functionality is working well but in the missing list the missing fields are taking their default values .So i want to replace...
lucifer
1

votes
1

answer
6k

views

How to convert java Object list to JSON and show them via AJAX

I have a list Of java object which is coming from the database as a ArrayList of object.That i have to show in a jsp page via ajax.I know how to show the arrayList of String via ajax in jsp page but i have to do the same for list of object.Here what i have done for list of String.. List UnUsedStpCod...
lucifer
1

votes
1

answer
2.2k

views

How to add an image header in word using Apache POI

I am generating a word document using Apache POI now what i need, i need to attach an image header to that document how i can do that.This is what i have done. public class SimpleDocument { public static void main(String[] args) throws Exception { XWPFDocument doc = new XWPFDocument(); XWPFParagra...
lucifer
1

votes
2

answer
34

views

Action Bar Color not changing no matter what?

I have tried every thing on stackoverflow to change my action bar color please help @style/MyActionBar #b20e0f
Lucifer
1

votes
1

answer
680

views

ListView not updated on publish results using searchview

I have been writing an android app that uses SearchView to search through my db, I am able to search the notes, when I do a Log.e() on the results arraylist then i see proper results, but the listview which should change to display the search results doesn't get affected. I am using a custom Adapter...
lucifer
1

votes
1

answer
248

views

Linq-to-Sqlite : Unable to map a TEXT type sqlite column against a System.Double type of model property?

I have a Sqlite database table named Movie whose columns basically store data simply in TEXT or INTEGER type (of course, Sqlite basically stores everything as just string the columns only have an affinity towards the type, if i am not wrong). I am using Linq-to-Sqlite ORM to query my table data agai...
Lucifer
1

votes
1

answer
771

views

EntityFramework : Mapping existing one-to-many relationship to Model

I am using the Linq-to-Sqlite ORM using the Entity Framework. Since Linq-to-Sqlite cannot itself create tables based on a model using code first approach, I am forced to reuse my existing table schema to build the entity model design. Below is my expected model design: public class Movie { public in...
Lucifer
1

votes
1

answer
44

views

Why i am getting multiple iteration of each values in the List [duplicate]

This question already has an answer here: Getting java.sql.SQLException: Operation not allowed after ResultSet closed 2 answers I have an application where i am doing some database opearation.And on the basis of the values i am doing some calculations also.But i am getting multiple iteration of eac...
lucifer
1

votes
1

answer
62

views

How to override delete of jQuery calendar so that i can also delete my database data

I am using jquery calendar to show some information.So on click of the events in the date i am am getting the delete pop up i wan to do a delete using that .How i can do it?? This is my calerdar code which i am using here $('#calendar').fullCalendar('renderEvent', { events:[ { title: val.title, st...
lucifer

View additional