php: how to tell shell_exec to be done in background, and execute the next line
◷
تاریخ انتشار: 1395/2/24 | ساعت: 0:23
Vote count: 0 I have sample.php file as follows. <?php shell_exec('export DISPLAY=:0.0 && xterm -hold -e "ls -al"'); <? When i open it (localhost/~user/sample.php) in browser xterm opens and shows the ls -al command output. but until i close the xterm the browser keep showing the loading thing rotat...
Does trg.search.hibernate work with Hibernate 5?
◷
تاریخ انتشار: 1395/2/23 | ساعت: 23:22
Vote count: 0 My company is in the process of upgrading Hibe ate from 3.6.10 to 5.0.1. We use trg.search.hibe ate. Any unit test that hits our base class for search is retu ing this error: "java.lang.NoSuchMethodError: org.hibe ate.metadata.ClassMetadata.getMappedClass(Lorg/hibe ate/EntityMode;)Ljav...
Changing Sharepoint 2013 blocked file error page
◷
تاریخ انتشار: 1395/2/23 | ساعت: 23:22
Vote count: 0 I'm trying to change the layout of the error page that appears when I try to access a blocked file type in SharePoint. I thought that it was the same was the error page. I've changed that layout but still got the SharePoint layout everytime I access a blocked file. Anyone knows how can...
example project for Keil RTOS thread usage on ARM STM32F4xx
◷
تاریخ انتشار: 1395/2/23 | ساعت: 23:22
Vote count: 0 I need to port some ARM source code from GCC toolchain with FreeRTOS over to Keil toochain (IDE and debugger) and Keil's RTOS. I'm looking for a simple example Keil uVision5 project that has simple thread examples. asked 1 min agoDoug Null Let's block ads! (Why?)
API Google Maps doesn't return enough of step
◷
تاریخ انتشار: 1395/2/23 | ساعت: 21:32
Vote count: 0 I'm making an app with Xamarin.Forms.Maps and then, I need to get all of the steps between two "place id" to make my own polyline. However, when I'm making my request, I get about only thirty five steps. 35 steps.. Between Le Mans (France) and Paris (France).. About 200km but only 35 s...
Trying to write the delta-O-18 sign in Python
◷
تاریخ انتشار: 1395/2/23 | ساعت: 21:32
Vote count: 0 I am new to python and It seems like a small issue, but I was unable to find the answer for it on the web. I want to write the delta O 18 sign, the one from the famous isotope ratio expression, but with no luck so far: Basically, I need to make the "18" in the following expression to "...
Azure App Service Web App access to VM
◷
تاریخ انتشار: 1395/2/23 | ساعت: 21:32
Vote count: 0 I am ru ing a .NET website web app (App Service) and a separate windows Azure VM ru ing onprem AD Domain controller.There is no co ection between onprem AD with Azure AD.I want to access windows VM Active directory (Azure VM) objects under my WebApp/website. Is this possible to access ...
RegEx Parse Error by Parsley Python
◷
تاریخ انتشار: 1395/2/23 | ساعت: 20:22
Vote count: 0 I have made a simple parser for simple queries, to fetch data from a datastore. The operands I have used are <,<=,>,>=,==,!= The Parser works fine for every operand except for < I am a bit surprised with the behavior since the regex for each operand are almost identical. I am unable to...
CGpoint is not provide correct location of search control in tableview in iphone 4s (ios 7.1).
◷
تاریخ انتشار: 1395/2/23 | ساعت: 20:22
Vote count: 0 i am using the Cgpoint for get the location of the control in tableview , with indexpath. which is working fine with iphone 5 , iphone 6 and iphone 6s . but its not giving proper cordinate with iphone 4s , please provide solution where i am wrong i am using following code below written...
Split panel into subpanels
◷
تاریخ انتشار: 1395/2/23 | ساعت: 20:22
Vote count: 0 I have a panel data set in Stata, which has industry and year dimensions and 7 other variables. I want to split this panel into subpanels by industry-year combination and then use them to calculate new variables using the mahascore from mahapick.ado package. Here is the structure of da...
How to make webpack-dev-server apply my changes?
◷
تاریخ انتشار: 1395/2/23 | ساعت: 18:50
Vote count: 0 Trying to use WP dev server. My config file is the folowing: var path = require('path'); module.exports = { entry: './frontend/app.js', output: { path: __di ame + '/build', filename: 'bundle.js' }, watch: false, watchOptions: { aggregateTimeout: 100 }, module: { loaders: [ { test: /.js...
C# calculate combinations of words from an arbitrary number of columns
◷
تاریخ انتشار: 1395/2/23 | ساعت: 18:50
Vote count: 0 There are a lot of combo solutions for single arrays or vectors of arrays where you need every possible permutation, but I need slightly different solution. Ive tried hacking pieces together but can no longer see the wood for the trees. I need a solution that will take a csv file which...
Scala - TrieMap vs Vector
◷
تاریخ انتشار: 1395/2/23 | ساعت: 18:50
Vote count: 0 I read that TrieMap in scala is based on has array mapped trie, whike Vector reads bit mapped vector trie. Are both darastructures backed by the same idea of a hash trie or is there a difference between these? asked 3 mins agoBober02 Let's block ads! (Why?)
I18n not loading translations with apartment gem rails
◷
تاریخ انتشار: 1395/2/23 | ساعت: 17:13
Vote count: 0 I am making a multi tenancy app using the apartment gem. I have it all set up and everything works as expected. I'm also using Rails Inte ationalization (I18n) with active record backend to store translations. My current setup Translation Table class CreateTranslations < ActiveRecord::...
FFT of a complex signal
◷
تاریخ انتشار: 1395/2/23 | ساعت: 17:13
Vote count: 0 I try to compute the FFT of the signal : x(t)*exp(I*angle(t)) where I = sqrt(-1) . So far I rewrite this signal as : realPart = x(t)*cos(angle(t)) ; imagPart = x(t)*sin(angle(t)) . I use the following structure for my code: reading the file in which I have time, realPart, imagPart; sav...
Java link extracting Jsoup
◷
تاریخ انتشار: 1395/2/23 | ساعت: 17:13
Vote count: 0 I am parsing a web page: http://www.dn.se/nyhetsdygnet/ , at the bottom of each list of news there is a button to load more news article. When I press it the URL is changed to something like this http://www.dn.se/nyhetsdygnet/#getMoreArticles/2016-05-09/80 , and it loads more links(art...
dojo datagrid event attach issue
◷
تاریخ انتشار: 1395/2/23 | ساعت: 16:09
Vote count: 0 I am working with IBM Content Navigator 2.0.3, that uses DOJO 1.8 for the GUI development. I am new in gojo, and I have to enhance one of the forms: add an event handler to the dataGrid so when the row of the grid is selected one of the buttons become enabled. dataGrid described in htm...
C# Speech to text without word correction
◷
تاریخ انتشار: 1395/2/23 | ساعت: 16:09
Vote count: 0 i need to convert speech to text but, the input speech is not English. is there an API that for example if i say something that is not in English dictionary it gives me the text form of it (for example i say "salam"(hello in persian) and it gives me "salam" even though it is not in Eng...
Upload file to remote folder from local folder
◷
تاریخ انتشار: 1395/2/23 | ساعت: 16:09
Vote count: 0 Am trying to upload file to remote folder from local folder.But am getting an error, I don't know where I made a mistake. I hope someone helps to find the solution. Thanks. The code given below: public static void main(String[] args) { String server = "www.xyz.com"; int port = 22; Stri...
Are ES6 classes the same as the constructor function basically?
◷
تاریخ انتشار: 1395/2/23 | ساعت: 14:53
Vote count: 0 So I'm lea ing es6.. and im not super advanced ni JS... But as i understand it.. es6 classes are basically function constructors right ? and of course with the benefit of not having to write stuff like this: myFunction.prototype.myInheritablemethod= "someMethod"; Is this right ? Im ask...