WAMP "You don't have permission to access /Health_1st/> on this server."
◷
تاریخ انتشار: 1395/2/26 | ساعت: 14:48
Vote count: 0 I have a PHP file. In this I have created a button. when this button is pressed it directs to a PHP block where I have only inserted an ECHO statement. But when I pressed the button I get below error. Quote--- Forbidden You don't have permission to access /Health_1st/> on this server. ...
Can I integrate Siri into my iPhone app?
◷
تاریخ انتشار: 1395/2/26 | ساعت: 14:48
Vote count: 0 I want to create app which uses feature like speech to text conversion. Is there any inbuilt library from apple which converts speech to text. I really don't know how to achieve this. Please help me if anyone knows about this. asked 1 min agoVyas Kishan Let's block ads! (Why?)
Java reading txt file into tree data structure
◷
تاریخ انتشار: 1395/2/26 | ساعت: 14:48
Vote count: 0 I need help in implementing tree structure, I created the add child function that adds data to tree but there seems to be a problem while adding the child. example txt file: Date,Time,Location 20160101,12:00,Here 20160101,12:00,There 20160102,13:00,Here 20160102,13:00,There 20160103,12...
ckeditor.js:219 Uncaught TypeError: Cannot set property 'dir' of undefined
◷
تاریخ انتشار: 1395/2/26 | ساعت: 13:23
Vote count: 0 i installed logical Uploader for ckeditor in my project and it Was installed without problems. i have following controller : public class Default1Controller : Controller { // // GET: /Default1/ Context _db = new Context(); [HttpGet] public ActionResult Index() { retu View(); } [HttpPos...
How to get tab click event in activity in TabLayout android
◷
تاریخ انتشار: 1395/2/26 | ساعت: 13:23
Vote count: 0 This is implementation of onCreate function in my activity. I need to create the tabs dynamically. Here for simplicity i made 2 tabs. public class ActivityProductList extends AppCompatActivity { private android.support.v7.widget.SearchView searchView = null; private RecyclerView recycl...
rotate an image in java changes its color? [JAVA]
◷
تاریخ انتشار: 1395/2/26 | ساعت: 13:23
Vote count: 0 I am doing the following transformation of an image (initially as a String in base64): StringBuffer --> decode --> BufferedImage --> rotate --> encode --> StringBuffer Even though the resulting image is rotated, the color has been transformed and I don't know which could be the reason....
Fseek does'nt do what should he do in c
◷
تاریخ انتشار: 1395/2/26 | ساعت: 11:13
Vote count: 0 I made a code to read .csv files. Every new line is after 'n' and every next element is after ','.the whole code is working fine to me, I get place(col and line) and I trying to change the value in this place by reading the whole file to array and than search the place with 'i' and try...
How to POST with XML payload in node-red
◷
تاریخ انتشار: 1395/2/26 | ساعت: 11:13
Vote count: 0 Just starting to work with node-red and having trouble getting XML loaded into a javascript object msg.payload that node-red needs for sending a post request to my server. My API is looking for the following: <?xml version="1.0" encoding="UTF-8"?> <userRequest> <authentication> <use am...
How to auto populate other field based on the selection from dropdown
◷
تاریخ انتشار: 1395/2/26 | ساعت: 11:13
Vote count: 0 I have created this page to fetch data from my database based on the selection of drop down which is also derived from the database. Please help me in this regard as I am stuck with no luck. Here is my code: <head> <meta content="text/html; charset=utf-8" http-equiv="Content-Type" /> <...
Simple TypeScript Testing with Chutzpah not Working
◷
تاریخ انتشار: 1395/2/26 | ساعت: 10:11
Vote count: 0 I'm trying to run the most basic of TypeScript tests using Jasmine and Chutzpah and I just can't get it to work. Here is the source file: class Simple { public easyTest() { retu 5; } } Here is the spec: /// <reference path="../../../scripts/typings/jasmine/jasmine.d.ts" /> /// <referen...
How to store all siblings in a dynamic local storage array?
◷
تاریخ انتشار: 1395/2/26 | ساعت: 10:11
Vote count: 0 I have 2 files - first.html & second.html first.html - here the user will input a few fields: Name, Organization, JobTitle,... second.html - this will output only the fields that were typed by the user using a textarea field Purposer: My purpose is to (1) dynamically store all siblings...
Ansible password setup in user module. It didn't set properly
◷
تاریخ انتشار: 1395/2/26 | ساعت: 10:11
Vote count: 0 I'm new in ansible, I'm setting up my new instance in digitalocean for configuring new user. Basically, I have the playbook for setting up it and everythings okay when I run the playbook but when I tried to check if my password is working it didn't work. I did the sudo apt-get update t...
Replacing a Range of Column Values in R
◷
تاریخ انتشار: 1395/2/26 | ساعت: 8:30
Vote count: 0 I have a column in a dataset filled with dates, and I'd like to replace them with week values. Is there a way to set a specific span of dates (January 1, 2016 to January 7th, 2016, for example) and each time any date within that range appears to replace it with another value (Week 1, f...
net::ERR_EMPTY_RESPONSE with an async function
◷
تاریخ انتشار: 1395/2/26 | ساعت: 8:30
Vote count: 0 I've been scratching my head for two days on this and it makes no sense to me! I'm trying to do a very simple operation using two servers ru ing on my local machine. API is on port 5000 and front-end (react) is requesting from 8080. ROUTER router.post('/api/entry', function(req, res) {...
how to delete nested json element by variable
◷
تاریخ انتشار: 1395/2/26 | ساعت: 8:30
Vote count: 0 how to delete a particular json element by variable:i.e. I want to delete obj.a.b, but it is passed by a variable.Is there a simple way to implement this? var t = 'obj.a.b'; var obj = {a: {b: 'b', b2: 'b2'}}; delete t; console.log(JSON.stringify(obj)); ; console.log(JSON.stringify(obj)...
Switch onclick Event onclick
◷
تاریخ انتشار: 1395/2/26 | ساعت: 6:44
Vote count: 0 I have a function written to open / close a div using a placeholder for a hyperlink. <a class="button" onclick="show('click-drop')">Open</a> The onclick event then opens the div. I have this onclick to close it: <a class="button" onclick="hide('click-drop')">Close</a> What I would like...
mysql alter table rename (to a new database)
◷
تاریخ انتشار: 1395/2/26 | ساعت: 6:44
Vote count: 0 I want to move a table ('bar') from my active database 'foo' to an archive database 'foo_archive'. I'm doing this: $co = new mysqli($serve ame, $use ame, $password, foo); then: $co ->query("alter table `foo`.`$bar` RENAME `foo_archive`.`$bar`") Strangely, it works, but I get this error...
Accessing drop down menu using jquery
◷
تاریخ انتشار: 1395/2/26 | ساعت: 6:44
Vote count: 0 My HTML code is <div class="nav-collapse collapse"> <ul class="nav nav-pills ddmenu"> <li class="dropdown "><a href="index.html">Home</a></li> <li class="dropdown"><a href="about.html">About</a></li> <li class="dropdown active"><a href="features.html">Features</a> <ul class="dropdown-m...
How to create square data frame (or matrix) in R
◷
تاریخ انتشار: 1395/2/26 | ساعت: 5:28
Vote count: 0 Let's say I have some IDs 1,3 and 5, how would I create data frame (or matrix) which has those ID's as column/row names, so looking like this: IDs IDS 1 3 5 1 NA NA NA 3 NA NA NA 5 NA NA NA Just a note, those IDs could be any large number, I just took that as example. Here below is ano...
IPython console can't locate "backports.shutil_get_terminal_size" and won't load
◷
تاریخ انتشار: 1395/2/26 | ساعت: 5:28
Vote count: 0 I'm ru ing Python2.7 on windows 10 doing env and most pkg management with Anaconda. After upgrading a number of packages, my ipython console now fails to start in any IDE or at the console. When I attempt to run it at the console I get this error: Traceback (most recent call last): Fil...