MDL Slider example not working on iPhone (IOS)
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
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
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
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
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
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
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 ...
when button is selected, there should be a new view loaded
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
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
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...
c# Clear DataTable from memory
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...
javax,servlet can not be resolved into a type; Ant; Weblogic
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
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
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...
augeas in puppet does noet change file
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
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...