MDL Slider example not working on iPhone (IOS)
◷
تاریخ انتشار: 1395/4/16 | ساعت: 23:16
Vote count: 0 I can't get the example MDL slider component to work on the Material Design Lite home page on my iPhone 6. When I touch the slider bar, the thumb does not move. It just stays at the center of the slider. Dragging does not work very well either. Is there a setting on the iPhone or somet...
Add plugin to provide API in Discuz
◷
تاریخ انتشار: 1395/4/16 | ساعت: 23:16
Vote count: 0 I want to write a plugin of Discuz! ( v3.2 ) to provide some APIs. Is there some document to describe how to do this ? I just find the http://open.discuz.net/?ac=document&page=dev_plugin, but it does not contain those information. asked 17 secs agoThomas.Yu Let's block ads! (Why?)
Wait for callback in nodejs
◷
تاریخ انتشار: 1395/4/16 | ساعت: 21:58
Vote count: 0 I read other questions but none of them seemed to focus my specific problem. I am using the following code to co ect to a database, within other callbacks for other things. Here is an extract of my code: addNew(arg){ checkDatabase(ar,function(rows){ //inside callback var info = rows[0]...
Numeric field null value transformed to Zero Oracle
◷
تاریخ انتشار: 1395/4/16 | ساعت: 21:58
Vote count: 0 I want to insert a row in a table in Oracle. One of the fields in Numeric and I want it to be null but when it is inserted in my database I see a Zero "0". This happends only in few machines not in all. What could be the problem? Thanks. asked 24 secs agoNits_ Let's block ads! (Why?)
validating the origin header in ASP.NET MVC
◷
تاریخ انتشار: 1395/4/16 | ساعت: 21:58
Vote count: 0 In the OWASP CSRF guidelines (https://www.owasp.org/index.php/Cross-Site_Request_Forgery_(CSRF)_Prevention_Cheat_Sheet) their number one "no brainer" recommendation for CSRF protection is to validate that the origin header matches the current request origin. However, I've noticed ASP.N...
.htaccess nice url doesn't work
◷
تاریخ انتشار: 1395/4/16 | ساعت: 20:29
Vote count: 0 have problem, when I use this .htaccess RewriteEngine On RewriteBase / RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^([^/]+)/?$ index.php?stranka=$1 [L,QSA] It's show me no error's but I can't access to variable $_GET['stranka'] it's very interest...
Create Magento category with assigned id using SOAP api
◷
تاریخ انتشار: 1395/4/16 | ساعت: 20:29
Vote count: 0 I am working on a script (which is in Python) for doing some management on our Magento environment.Now I am wondering if I can create categories with assigned ID. I think this might be impossible due to key constraints. But is there a way?Just putting category_id in the parameter list ...
Google Search Console API: How do you implement multiple OR filters?
◷
تاریخ انتشار: 1395/4/16 | ساعت: 20:29
Vote count: 0 After much fiddling, I've finally got the Search Console API working. Unfortunately, I can't figure out how to add multiple OR filters. I presume this is what dimensionFilterGroups[].groupType will eventually be for, but 'or' is not yet an option. Basically, how do you implement a seri...
when button is selected, there should be a new view loaded
◷
تاریخ انتشار: 1395/4/16 | ساعت: 19:10
Vote count: 0 this is my first time in stackoverflow and I'm pretty new to this Objective C language. What would be the best solution in order to load the page in one View Controller? References are welcome and I really new great coder's help :( some say when using IBAction, load a NewViewController...
Java Regex pattern.matcher Understanding
◷
تاریخ انتشار: 1395/4/16 | ساعت: 19:10
Vote count: 0 Consider Following code import java.util.regex.*; class Test { public static void main(String[] args) { String str = "Suneetha N.=9876543210, Pratish Patil=9898989898"; Patte patte = Patte .compile("(\w+)(\s\w+)(=)(\d{10})"); Matcher matcher = patte .matcher(str); String newStr = match...
How to find jar does not have a given string in linux
◷
تاریخ انتشار: 1395/4/16 | ساعت: 19:10
Vote count: 0 I want to get list of jars which are not having a particular string in their classes. I used the following command for getting string "hello" matching jars. find . -iname '*.jar' -printf "unzip -c %p | grep -q 'hello' && echo %pn" | sh. So I tried by putting the following command for n...
php gives "unexpected character input ascii 91" and "unexpected $end" errors
◷
تاریخ انتشار: 1395/4/16 | ساعت: 18:04
Vote count: 0 i have been searching for an answer to this but i couldnt find anything usefull for me. I have a very simple html-php that throws an error here is the code from index.php <!DOCTYPE> <html> <head> <title> title </title> </head> <body> <p>html</p> <?php echo "php"; ?> </body> </html> Now...
c# Clear DataTable from memory
◷
تاریخ انتشار: 1395/4/16 | ساعت: 18:04
Vote count: 0 I have a general question regarding how to securely clear sensitive data from memory when not used any more... I make an SQL query resulting in a DataTable dt.. When I leave the form I call dt.Dispose(); and even gc.Collect(); to be sure... But if I make a memory dump of the process af...
Using VBA to return the Table Name corresponding to a given ActiveCell Selection
◷
تاریخ انتشار: 1395/4/16 | ساعت: 18:04
Vote count: 0 For a given ActiveCell in Excel how can VBA retu the Table Name that appears in the properties grouping that becomes visible when the Table Tools Design tab is activated. So for example in the immediate window: ?ActiveSheet.ListObjects(2) Table3600 but if I select a cell (potentially w...
javax,servlet can not be resolved into a type; Ant; Weblogic
◷
تاریخ انتشار: 1395/4/16 | ساعت: 15:51
Vote count: 0 I am trying to compile jsps using ant buid tool but getting errors like login.jsp:3:1: javax.servlet ca ot be resolved to a type <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> ^-----------------------------------------------------...
Update data sent by php form using ajax
◷
تاریخ انتشار: 1395/4/16 | ساعت: 15:51
Vote count: 0 i cant really figure out this problem , lets say that on the page there is a form with one input in it , if you submit the form then the text that you save will be sent to the database and stored now , i would like to get user location: Longtitude Latitude whenever he submits the form ...
Could not connect to sqoop2 server
◷
تاریخ انتشار: 1395/4/16 | ساعت: 15:51
Vote count: 0 I'm trying to verify my installation following the Sqoop 5 minutes guide. However, I get the following error message: $ sqoop2-shell Sqoop home directory: /home/iidev20/sqoop-1.99.6-bin-hadoop200 Loading resource file .sqoop2rc sqoop:000> set server --host 9.181.139.59 Server is set su...
How to apply time based pagination for facebook marketing api `bulk read lead` edge
◷
تاریخ انتشار: 1395/4/16 | ساعت: 14:38
Vote count: 0 https://developers.facebook.com/docs/marketing-api/guides/lead-ads/leads/v2.6 The output of lead edge is cursor based pagination. Can it be changed to time based pagination so i can apply time based filter. Current bulk read end point does not allow to use any time based modifiers like...
augeas in puppet does noet change file
◷
تاریخ انتشار: 1395/4/16 | ساعت: 14:38
Vote count: 0 I want to manage the contents of the carbon.conf file using Augeas from Puppet. I have used Augeas before in Puppet for managing an xml file and that worked great. However this time when the puppet catalog is applied, nothing happens to the carbon.conf file. There is also no error in t...
Rails, gem choice for roles with scopes
◷
تاریخ انتشار: 1395/4/16 | ساعت: 14:38
Vote count: 0 I am building an app which aims to help shops organise their staff. There are many shops and each shop has many roles for the staff. The only constant position is the manager's one. I would like to enable him/her to create his/her own roles. For example, in shop A, the delivery guy may...