Gulp serve gives no reaction in Yeoman Gulp Angular
◷
تاریخ انتشار: 1395/7/3 | ساعت: 15:33
Vote count: 0 I am new to Yeoman and Gulp. Could someone please suggest a solution to the problem below: enter image description here Tried a lot of searching but none helped. I am using Windows 7 64-bit. If you think that I am using a bad generator, could anyone please suggest the best yeoman gener...
Using tf() function in MATLAB
◷
تاریخ انتشار: 1395/6/31 | ساعت: 15:21
Vote count: 0 I'm trying to input this transfer function in matlab, but I can't figure out how because it has both positive and negative exponents. If I do H = tf([1],[1 1 1 1],0.1,'variable','z^-1') I almost get it, but I can't figure out how to add the positive z to the bottom. I'm trying to use t...
Page/Tool/Extension for testing responsive design of a website on all browsers and devices?
◷
تاریخ انتشار: 1395/6/31 | ساعت: 15:21
Vote count: 0 I'm developing a WordPress theme and looks nice on mobile and tablet but there are some issues when I open it on an iPhone and iPad. I need a page/tool/extension for testing these specific devices, as I've tried Firefox Developer Tools but it doesn't approach to reality. Is there anyth...
WPF WebBrowser Search Filter
◷
تاریخ انتشار: 1395/6/31 | ساعت: 15:21
Vote count: 0 I need to embed a minimalistic file explorer into my WPF UserControl. This control must accept a directory and display each file under that directory along with its associated icon, as well as facilitate user interaction. The WebBrowser serves this purpose quite well, but I can't seem ...
GoogleMaps Marker issue when using the query parameter
◷
تاریخ انتشار: 1395/6/31 | ساعت: 2:09
Vote count: 0 I have a web application with coordinates for a single location, i want to display the map with a marker to this location using a lightbox dialog. Everything was OK regarding the map initialization and displaying in the Lightbox dialog. But when generating a url for google maps locatio...
programming and practice chapter 6
◷
تاریخ انتشار: 1395/6/31 | ساعت: 2:09
Vote count: 0 #include "std_lib_facilities" class Token { public: char kind; // what kind of token double value; // for numbers: a value Token(char ch) // make a Token from a char :kind(ch), value(0) { } Token(char ch, double val) // make a Token from a char and a double :kind(ch), value(val) { } };...
Corrupt Valgrind?
◷
تاریخ انتشار: 1395/6/31 | ساعت: 2:08
Vote count: 0 I have the following simple program: #include <stdio.h> #include <stdlib.h> #include <unistd.h> #include <pthread.h> #include <assert.h> #include <er o.h> #define handle_error_en(en, msg) {do { er o = en; perror(msg); exit(EXIT_FAILURE); } while (0);} #define status_check(stat) ((stat ...
Php pdo select row using database row id
◷
تاریخ انتشار: 1395/6/30 | ساعت: 20:35
Vote count: 0 Previously am using mysql to loop on users data getting the table row by rws[0], now that i change to pdo i still need to use this rws[0] get each row instead of using the row name like this $id = $rws->id; in pdo how can i make this work in pdo? OLD MYSQL <?php include('co .php'); $sq...
re-render when update this.props.location.query.somequery Reactjs
◷
تاریخ انتشار: 1395/6/30 | ساعت: 20:35
Vote count: 0 render() function will fire when this.props.location.query.someQuery updated. But I do not want re-render the component when updated query. The way I updated query is following: this.props.location.query.someQuery = otherValue; hashHistory.replace(this.props.location); asked 31 secs ag...
Group reportviewer and numeration
◷
تاریخ انتشار: 1395/6/30 | ساعت: 20:35
Vote count: 0 I have two drawbacks. The first is to group a few rows in my report. This report design http://i.stack.imgur.com/tiqfc.png And this is the result when I generate the report. http://i.stack.imgur.com/XdMsm.png Here we need to do the way that the two rows are repeated grouping. The other...
Table output to Word-2011 from Rstudio using knit
◷
تاریخ انتشار: 1395/6/30 | ساعت: 13:14
Vote count: 0 Trying to simply generate report ready tables JFT or monthly frequency summary tables in Word-2011 from Rstudio using knit from OSX. The archives suggest various solutions, such as HTML and asis, pandoc ( How to present a nice looking frequency table from R in MS Word), etc. All fail. ...
(PHP) Why is this while loop an infinite loop?
◷
تاریخ انتشار: 1395/6/30 | ساعت: 13:14
Vote count: 0 Can you please help me understand why this while loop repeats at 1 infinitely? What I'm trying to do it make a function that calls itself and prints out every number that is passed into is via the parameter. <?php function least($num) { echo $num . '<br>'; $num -= 1; while ($num > 0) {...
Writing a batch file to uninstall "psiphon"
◷
تاریخ انتشار: 1395/6/30 | ساعت: 13:14
Vote count: 0 There is a program that I am currently trying to write a batch uninstaller for. In this case I would normally uninstall using WMIC, however the program is not listed under "wmic product get name | sort". I can tell that it is making registry entries, so I know if the program is on the ...
Kubernetes + MySQL : Creating custom database and user in a Kubernetes container
◷
تاریخ انتشار: 1395/6/29 | ساعت: 11:33
Vote count: 0 I am trying to create a Django + MySQL app using Google Container Engine and Kube etes. Following the docs from official MySQL docker image and Kube etes docs for creating MySQL container I have created the following replication controller apiVersion: v1 kind: ReplicationController met...
Need a marquee tag replacement allowing display of multiple images
◷
تاریخ انتشار: 1395/6/29 | ساعت: 11:33
Vote count: 0 All, What I'm trying to accomplish is this: Display a marquee composed of several (dozen or more) company logos, across the page from right to left in a single row. I have the following code which works as desired in Firefox, but doesn't work in other (Chrome, IE, Edge) browsers. Speci...
How to fix code that returns undefined
◷
تاریخ انتشار: 1395/6/29 | ساعت: 11:33
Vote count: 0 I have this code: const liked_users = promises[1]; const disliked_users = promises[0]; if (liked_users.length > 0 || disliked_users.length > 0){ for(var i = 0; i < liked_users.length; i++){ for(var j = 0; j < disliked_users.length; j++){ for(var k = 0; k < _USERS.length; k++){ if(_USER...
Javascript: Escaping the "Double Quotes" in JSON String while parsing?
◷
تاریخ انتشار: 1395/6/29 | ساعت: 5:32
Vote count: 0 I receive a JSON string retu ed from a remote Webservice. Something like this: [{ "id": "001", "link": "<a href="https://www.google.com">Google</a>" }, { "id": "002", "link": "<a href="https://www.yahoo.com">Yahoo!</a>" }] But then when i try to parse it in my Javascript, i have proble...
My function on VBA does give some false negative output
◷
تاریخ انتشار: 1395/6/29 | ساعت: 5:32
Vote count: 0 recently I wrote a code in order to check the Social Insurance Number issued in Germany. I have 3 outputs, su ame, dob and the given Social Insurance Number. Between 3rd and 8th digits it consists of date month and last two years of birth. however, in some cases, it does retu false neg...
Spring RestTemplate post object not not sending in request?
◷
تاریخ انتشار: 1395/6/29 | ساعت: 5:32
Vote count: 0 I am consuming a web service using RestTemplate and my POST request is as follows. RestTemplate requestTemplate = new RestTemplate(); MappingJackson2HttpMessageConverter jsonHttpMessageConverter = new MappingJackson2HttpMessageConverter(); jsonHttpMessageConverter.getObjectMapper().con...
Sample C# code to read real time MIDI notes in
◷
تاریخ انتشار: 1395/6/28 | ساعت: 21:40
Vote count: 0 I'm at the start of a small project to capture MIDI notes in real time as played on an attached keyboard. I can process existing MIDI files but am looking to generate my data on the fly. In my estimation (and hope), my requirement is quite basic and I really only want to capture note i...