How to support 100-continue HTTP header response in an openedge socket connection
◷
تاریخ انتشار: 1395/3/11 | ساعت: 3:22
Vote count: 0 Using progress openedge 11.6 I am attempting to post to a REST service using a socket co ection with an 'expect: 100-continue' header but am unable to get any response results. Can this be done with an openedge socket co ection? If so how can the request be configured so that separate ...
Drawing line in SVG
◷
تاریخ انتشار: 1395/3/11 | ساعت: 3:22
Vote count: 0 i'm trying to code Tic Tac Toe game. In this code, everything working fine, but when i want to add two lines as a symbol for cross (in this code only one fo example) it doesn't draw in target svg. It seems that element is added, because if i try to draw 3 crosses in line, code retu s t...
Merge several XMLs and propagate changes
◷
تاریخ انتشار: 1395/3/11 | ساعت: 3:22
Vote count: 0 I have 1000 of XMLs with a similar structure and I want to merge them into a master XML with the elements I need to translate. Once I have this master XML translated I want to propagate the changes back to the individual XMLs, so at the end I will have the 1000 XMLs translated. I am cl...
Building binary file from images in a directory
◷
تاریخ انتشار: 1395/3/11 | ساعت: 2:14
Vote count: 0 I am working to build a binary file containing multiple images with each image having an associated label. The format I need is a slight variation of this (please see The CIFAR-10 dataset > Dataset layout > Binary version). My dir structure is: [main_folder] --- [ant] - img1 - img2 - i...
How to drop softDeletes from a table in a migration
◷
تاریخ انتشار: 1395/3/11 | ساعت: 2:14
Vote count: 0 I'm adding the soft delete columns to my table in a migration: public function up() { Schema::table("users", function ($table) { $table->softDeletes(); }); } But, how can I remove these if I roll back? Is there a method to do this, or do I just manually delete the columns that get adde...
Bootstrap's multiple selectpicker using Ruby on Rails
◷
تاریخ انتشار: 1395/3/11 | ساعت: 2:14
Vote count: 0 I'm new to Ruby on Rails, and I'm trying to implement Silvio Moreto's bootstrap-select plugin in my web-page. I already have everything I need installed, but I don't know how to embed my current .erb code into the syntax needed for the selectpicker multiple class to work. Additionally,...
Firebase or own database for mobile app?
◷
تاریخ انتشار: 1395/3/11 | ساعت: 0:27
Vote count: 0 I'm creating an android app which uses firebase cloud messaging. As a result I have to store the fcm token in a database to send fcm to the device later. And I'm thinking of using firebase as a database to store these tokens. I created an API using nodejs and redis to manage these toke...
Actionbar MenuItem animation
◷
تاریخ انتشار: 1395/3/11 | ساعت: 0:27
Vote count: 0 I'm trying to animate a 'MenuItem' when I add it to the actionbar. The problem is that I have to call 'MenuItem.visible(true)' before I load the animation or nothing happens at all. I have an animation listener and I tried putting it in 'onStartAnimation()' but that doesn't get called ...
How to get row count of a web table each and every time when we click something in table
◷
تاریخ انتشار: 1395/3/11 | ساعت: 0:27
Vote count: 0 I have a table in which 1st column of 1st row having expand (+) button [if we click (+)button some rows will be added to the table] ..When ever i clik the expand button i need the new row count ...Please help asked 40 secs agosajju Let's block ads! (Why?)
Toggling CSS to change background
◷
تاریخ انتشار: 1395/3/10 | ساعت: 22:55
Vote count: 0 In a tic tac toe game, when a game is won, I want the wi ing line's background to go red. I have taken the wi ing line box id's into an array as such- if (cell1.i erText == symbol && cell2.i erText == symbol) { if (cell3.i erText == symbol) { wi ingLine=[cell1.id,cell2.id,cell3.id]; //...
New to jQuery, please explain how selector works in this line
◷
تاریخ انتشار: 1395/3/10 | ساعت: 22:55
Vote count: 0 Reading some testing scripts: $("< iframe>", {src: "https://host/sessionid"}).appendTo("div#sandbox").load(function() { // some code } Is the selector doing some request from a remote host? asked 1 min agoshihanlin9 Let's block ads! (Why?)
Progress Bars update crash javaFX
◷
تاریخ انتشار: 1395/3/10 | ساعت: 22:55
Vote count: 0 I have a pretty nasty bug on JavaFX (jdk 1.8.0_91) occurring in my application in which several progress bars are displayed and update (randomly or at the same time). Sometimes, especially when a progress bar is filled (it had a style class to the progress bar) but sometimes also in th...
Do HaXe have a friendship with XPath?
◷
تاریخ انتشار: 1395/3/10 | ساعت: 21:51
Vote count: 0 I need to get some XML node by it's XPath, how I can do it? I tried to use this library https://github.com/djcsdy/haxe-xpath, but something wrong https://github.com/djcsdy/haxe-xpath/issues/26 for my task xml-fast isn't good solution, because it looks "slightly worse" than XPath, I thi...
Confused with the difference between HTTP entity code and the raw
◷
تاریخ انتشار: 1395/3/10 | ساعت: 21:51
Vote count: 0 Code: <script> function f(input) { retu '<article>' + input + '</article>'; } document.write(f('<script>alert(1)</script>')); //alert 1 document.write(f('<script>alert(1)</script>')); // write normal text </script> In my idea, <script>alert(1)</script> is the same as <scr...
NSData base64Encode return nil swift
◷
تاریخ انتشار: 1395/3/10 | ساعت: 21:51
Vote count: 0 i tryed let contents = results["contents"] as! String! let decodedData = NSData(base64EncodedString: contents, options:NSDataBase64DecodingOptions()) let decodedString = NSString(data: decodedData!, encoding: NSUTF8StringEncoding) let contents = results["contents"] as! String! let deco...
Having issues with a user defined arrays program in C
◷
تاریخ انتشار: 1395/3/10 | ساعت: 19:51
Vote count: 0 I have to write a program that writes a program that uses the heap to store an array. I have a problem where the program will crash after successfully ru ing it... I also have some small aesthetic problems, the element needs to start at 1 and no comma on the last number that is printed...
How to use join in Laravel Elocuent?
◷
تاریخ انتشار: 1395/3/10 | ساعت: 19:51
Vote count: 0 I have following two tables. users - id,name,title posts - id,author where post.author = user.id My Post model as follows. namespace App; use IlluminateDatabaseEloquentModel; class Post extends Model { public function users() { retu $this->belongsTo('AppUser'); } } I use Project::find(...
Conditional Formatting is not working in reports exported to Excel from SSRS report 2008
◷
تاریخ انتشار: 1395/3/10 | ساعت: 19:51
Vote count: 0 I have created a report in ssrs report 2008 R2. This report contains conditional formatting (conditional coloring) for some cells inside a matrix. When I export the report to Excel, it shows most of the cells in black color. The report contains 10 pages. Any help is appreciated. Thanks...
BankExchange timeserias rates
◷
تاریخ انتشار: 1395/3/10 | ساعت: 18:03
Vote count: 0 me trying to fetch exchange rate from http://bank.exchange using CURL How can I fetch time-series (like OpenExchangeRates) which will be grouped by a date? (like http://api.bank.exchange/INR?dates=date1,date2) asked 6 mins agoGeorge Vassilev Let's block ads! (Why?)
How to make auto execution of sql queries
◷
تاریخ انتشار: 1395/3/10 | ساعت: 18:03
Vote count: 0 i have lots of query with select and update. i want to execute it automatically in Oracle SQL developer. I also want to note the execution time of each query. Please suggest way. Thanks in advance. asked 6 mins agouser5783725 Let's block ads! (Why?)