Ng generate in specified location doesn't work
Vote count: 0 I got the problem with generating components in my angular 2 application. I'am ru ing command ng g component [nameofcomponent] -it -is in 'other' folder and due to documentation it should generate component inside this folder not outside. I dont know why its happening. And tips? Thanks...
EER Diagram review (going from a relation schema to an eer)
Vote count: 0 I am a newbie to Stack Overflow so if I make any mistakes in this post please be tolerant. I am trying to create a (simple) eer diagram (w/o attributes) from the relation schema to check my understanding of going in the opposite direction (from an eer diagram to a relation schema). I a...
Gulp serve gives no reaction in Yeoman Gulp Angular
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
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...
WPF WebBrowser Search Filter
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
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
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?
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
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...
Group reportviewer and numeration
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
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?
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"
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 ...
How to fix code that returns undefined
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...