only one tag shows in jquery autocomplete
◷
تاریخ انتشار: 1395/4/13 | ساعت: 22:27
Vote count: 0 I have implemented jquery autocomplete with double sources like below var selectedItemUrl = ""; $(function() { var source = [{ value: "YA", url: 'http://www.yahoo.com' }]; and this var selectedItemUrl1 = ""; $(function() { var source1 = [{ value: "Go", url: 'http://www.google.com' }]; ...
dead code warning java
◷
تاریخ انتشار: 1395/4/13 | ساعت: 22:27
Vote count: 0 I have the following part of code: public void deepSearch(File fileToLook,ArrayList<File> fileStorage,DefaultComboBoxModel<String> mod){ if(fileToLook.isDirectory()) { for(File f:fileToLook.listFiles()) deepSearch(f,fileStorage,mod); } else if(fileToLook != null){ fileStorage.add(fileT...
Angular controller lifetime and event handling
◷
تاریخ انتشار: 1395/4/13 | ساعت: 22:27
Vote count: 0 How to handle events (like $rootScope or socket events) in an Angular controller correctly? I'm facing the problem that my controllers aren't destroyed, which cause some problems when it comes to listening to specific events. To make it clear what I mean here's a plunker: http://plnkr....
GoLang with GoDaddy certificate not configured correctly
◷
تاریخ انتشار: 1395/4/13 | ساعت: 21:23
Vote count: 0 in general I got 3 files from GoDaddy: main Certificate file Server Private Key Bundle file in configured all these files in my Go server in the following way: pem, err := ioutil.ReadFile("cert/sf_bundle-g2-g1.crt") if err != nil { log.Fatalf("Failed to read client certificate authorit...
Cheking if a built in method in JS is called
◷
تاریخ انتشار: 1395/4/13 | ساعت: 21:23
Vote count: 0 I'm trying to check if Object.assign is called on my object, and if that is falsy I do some further work on the object. How do I do this? My code looks like this: if (Object.assign) {... } asked 13 secs agoEven André Stensberg Let's block ads! (Why?)
perfomance issue on asp.net identity long bearer token in mvc web api (effect on network speed)
◷
تاریخ انتشار: 1395/4/13 | ساعت: 21:23
Vote count: 0 I want to use asp.net identity as my web api authentication provider and authorization server, but there is only one thing that make me skeptical and hesitate more about using it, which is it's long token (512 bit), I also Implemented ISecureDate interface and customize my token genera...
RXTX java to arduino - not all input is read by java
◷
تاریخ انتشار: 1395/4/13 | ساعت: 20:13
Vote count: 0 I'm using example code from arduino site to serial co ect to arduino from Java. Code below. I facing an issue like - no all data from arduino are being read by java at the moment when they are send. Let me give You an example. Im sending 2 messages from arduino like: start message end ...
Hookcheck (CHECK HASHES)
◷
تاریخ انتشار: 1395/4/13 | ساعت: 20:13
Vote count: 0 So a game made a new check called hookcheck and i want to bypass it but it wont work so what the game is checking is this void Memcheck_Disable() { ImageSectionInfo* Text = GetSegmentInformation(GetModuleHandle("proccesname.exe"), ".text"); DWORD Address = (DWORD)Text->SectionAddress; ...
Maxwell xid in the json written to the massage queue
◷
تاریخ انتشار: 1395/4/13 | ساعت: 20:13
Vote count: 0 I can see in the json below we get a xid in all jasons written to the kafka. {"database":"TEST","table":"MAXWELL","type":"insert","ts":1465806121,"xid":2009527,"commit":true,"data":{"id":5,"name":"FIVE"}} {"database":"TEST","table":"MAXWELL","type":"insert","ts":1465806201,"xid":200970...
configuring new repositories in artifactory via rest api
◷
تاریخ انتشار: 1395/4/13 | ساعت: 18:54
Vote count: 0 I'm trying to support multi-branch builds in my CI process.For this goal, I need to create per-branch repositories in Artifactory, in order to store the build artifacts and yet avoid mixing artifacts and to keep things clean and maintainable.I've looked into the artifactory rest api, a...
Skipping first column with LOAD DATA INFILE
◷
تاریخ انتشار: 1395/4/13 | ساعت: 18:54
Vote count: 0 I have got such table: mysql> show create table finalG; *************************** 1. row *************************** Table: final Create Table: CREATE TABLE `final` ( `id` int(4) NOT NULL AUTO_INCREMENT, `cdatetime` varchar(255) NOT NULL, `address` varchar(255) NOT NULL, `district` v...
angular-xeditable how i retrieve value from form and send to c# mvc controller
◷
تاریخ انتشار: 1395/4/13 | ساعت: 18:54
Vote count: 0 I have loaded values from db in my form using list.When I click the edit button then in my edit form ,I changed some value after that i clicked save button nothing send. can you correct my code. thankyou. I a using asp.net mvc. I want to send data to my mvc controller. In my app.js cod...
Django-cms text plugin after page edit gives a browser redirection error
◷
تاریخ انتشار: 1395/4/13 | ساعت: 17:47
Vote count: 0 With a page in edit mode, double-clicing a text plugin (CKEditor) and then saving it gives me a browser redirection error and site lock down from that browser, no message from the messages app is displayed. Removing only the 'messages' cookie makes the site accessible again. Changes ar...
C++ outputting the average tries to solve something from all the times the file is opened
◷
تاریخ انتشار: 1395/4/13 | ساعت: 17:47
Vote count: 0 The title may sound a bit confusing but basically what I'm trying to do is I have a file like this int a = 0, j = 0; int b = rand(); while(a != b) { cin >> a; ++j; } So when b is found the amount of tries it took is stored in j and I want to use that to calculate and output the average...
change password input from bullet points to squares
◷
تاریخ انتشار: 1395/4/13 | ساعت: 17:47
Vote count: 0 I'm creating a simple login form on my site. Most of the login page has a very "square" look to it, except for the password input which uses little circles. I would like to continue on the "square" look into the password input, however, there doesn't seem to be any solutions I can find...
How to implement multi-level routing in Angularjs 2?
◷
تاریخ انتشار: 1395/4/13 | ساعت: 16:20
Vote count: 0 I'm working on a little project of mine in order to lea something more about AngularJS 2, but I really ca ot figure out how to implement a multi-leveled routing. I've read the documentation about the new release of the Router Component and also some other topics on StackOverlfow (first...
How to change Entity Framework EDMX Connection String Dynamicly
◷
تاریخ انتشار: 1395/4/13 | ساعت: 16:20
Vote count: 0 I want to read the co ection string from a txt file that I created before. I tried giving co ection string variable to DbContext constructor as a string variable that I created manually but it failed. asked 28 secs agoEren Yatkin Let's block ads! (Why?)
Django Admin Stacked Inline
◷
تاریخ انتشار: 1395/4/13 | ساعت: 16:20
Vote count: 0 I've 3 models:- class Category(models.Model): name = models.CharField(max_length=60) class CategoryQuestions(models.Model): # Questions related to category. question_text = models.CharField(max_length=255) category = models.ForeignKey(Category) class CategoryQuestionsOptions(models.Mod...
FullCalendar and Variables - Json
◷
تاریخ انتشار: 1395/4/13 | ساعت: 14:45
Vote count: 0 I have a HTML section that builds a variable containing this: <div id='calendar'></div> <script> var mevent = "{id: 1,title: 'Jan',start: '2016-07-10T10:45',end: '2016-07-10T11:15'},{id: 2,title: 'Gert',start: '2016-07-26T06:00',end: '2016-07-26T22:00'},{id: 7,title: 'Piet',start: '201...
java garbage collection finalize method not executing
◷
تاریخ انتشار: 1395/4/13 | ساعت: 14:45
Vote count: 0 the following code should print hello world as per the concept of garbage collection in java but doesn't import java.util.*; public class Final{ protected void finalize(){ System.out.println("hello world"); } public static void main(String args[]){ Final myfinal=new Final(); myfinal=nu...