Project Makefile problems with Google Test
◷
تاریخ انتشار: 1395/3/3 | ساعت: 12:01
Vote count: 0 For the life of me I ca ot figure out how to remove the mv statements in the following makefile TEST_DIR = ../gtest USER_DIR = src TESTS_DIR = tests OBJ_DIR = obj CPPFLAGS += -isystem $(GTEST_DIR)/include -I$(USER_DIR) CXXFLAGS += -g -Wall -Wextra TESTS = test GTEST_HEADERS = $(GTEST_D...
Angular module and controller files don't seem to run
◷
تاریخ انتشار: 1395/3/3 | ساعت: 12:01
Vote count: 0 I have the following Angular declarations, and get no complaints about JS syntax errors or anything like that: App.js: (function () { 'use strict'; var hookPointApp = angular.module("hookPointApp", []); hookPointApp.controller("agentCtrl", function ($scope, $http) { $scope.model = {}; ...
Downloading website data by crawling
◷
تاریخ انتشار: 1395/3/3 | ساعت: 10:43
Vote count: 0 From a website that recommends various kinds of information, I would like to download images and text data by clicking on all the links that the website opens on a particular page. Each page may have 10 links and The pages may continue up to 10-20. asked 2 mins agojonty rhodes Let's bl...
Updating Openssh on ubuntu fails
◷
تاریخ انتشار: 1395/3/3 | ساعت: 10:43
Vote count: 0 I have one EC2 (AWS Amazon) ru ing with Ubuntu 14.04LTS. Trying to update Openssh from 6.6p to 6.9, the only way is compile the source from the origin (openssh.com) because the Canonical not offers the newest version, even in the backports. But, after to compile the code, using the tra...
Website Landing page on mobile device, keyboard issue
◷
تاریخ انتشار: 1395/3/3 | ساعت: 10:43
Vote count: 0 I have a small issue on a landing page that I just created. It works great on desktop browsers, However, on mobile device, when trying to type email in notify field the keyboard pops up for half a second and disappears. Any suggestions? Website: www.imgr8.com asked 1 min agoMoe Habib L...
How can I copy Excel sheets based on their name using VBA?
◷
تاریخ انتشار: 1395/3/3 | ساعت: 8:50
Vote count: 0 This is my first post but I hope this community can help me! The background: I have a directory containing multiple workbooks. Each workbook contains multiple sheets, both hidden and visible. I would like to copy one particular sheet from each workbook into an existing master workbook....
PostgreSQL - Crosstab Func & Distinct On Query
◷
تاریخ انتشار: 1395/3/3 | ساعت: 8:50
Vote count: 0 I have two tables details and data table. I already joined the two tables and the crosstab function is already done. My problem is I want a unique and last input serial. In details table serial | date | line | total_judgement ---------+----------------------+--------------+------------...
Yii2 How to change connection when saving form
◷
تاریخ انتشار: 1395/3/3 | ساعت: 8:50
Vote count: 0 E.g : When I choose intranet, then it will be saved in localhost. If I choose inte et then it will be saved in inte et. And so on... asked 47 secs agoHendri Nursyahbani Let's block ads! (Why?)
How to Store Data in Windows Application in Visual Basic (Visual Studio 2015)
◷
تاریخ انتشار: 1395/3/3 | ساعت: 7:33
Vote count: 0 I am just getting into Windows application development and I am trying to make a keno program. I need a way to save information regarding the game number, numbers drawn, ticket numbers, wi ing tickets, etc. The amount of data being stored is going to be somewhat sizable since a new gam...
How do I fix a clearly invalid NU1002 The dependency does not support framework .NetStandard,Version=v1.5
◷
تاریخ انتشار: 1395/3/3 | ساعت: 7:33
Vote count: 0 Google and stackexchange finds hit upon hit where the dlls aren't compatible. This time, they are. It's my DLL. I know full well it's compatible. The dll file is placed in lib/netstandard1.5 Nuspec file reads: redacted.dll 1.0.0-alpha joshudson joshudson https://sourcecontrol.inte al.l...
PHP file_get_contents with textarea doesn't work
◷
تاریخ انتشار: 1395/3/3 | ساعت: 7:33
Vote count: 0 i want to get and filtre emails from html code for each website in a textarea. the problem is :when i put +3 urls in the list the code retu no email 0, but when i put -3 urls all be fine. so my textarea is <textarea type=text name="list" id="list" rows="32" cols="40"></textarea> and my...
Canary release, how to simulate it with coding, if possible at all
◷
تاریخ انتشار: 1395/3/3 | ساعت: 5:23
Vote count: 0 I'm in a project where I am building a simulator of a website. I am testing how feature toggling can provide some cons that can help a team release more often that they do now. One thing I do like to simulate is how the Canary release is working. Lets say I just finished building a new...
How can I find exact location of files from developer tools?
◷
تاریخ انتشار: 1395/3/3 | ساعت: 5:23
Vote count: -1 I try to find out the exact file name and file position in web pages. I can find out problems in developer tools but I can not find the exact file where I have to do correction. asked 1 min agoRaj Let's block ads! (Why?)
Add a jar file to depedencies in a Maven in NetBeans
◷
تاریخ انتشار: 1395/3/3 | ساعت: 5:23
Vote count: 0 I have a local just and I want to add it to dependencies of a Maven. I try to things work according to this My file is somewhere locally so I use this in the pom.xml file: <dependency> <groupId>opt</groupId> <artifactId>Copt</artifactId> <version>1.4</version> <scope>compile</scope> <s...
Trying to send an HTTP POST request on an "add to cart" form
◷
تاریخ انتشار: 1395/3/3 | ساعت: 2:15
Vote count: 0 This might be an odd question, but I'm ultimately trying to click an "add to cart" button by sending a POST request in C#. I'm currently using Advanced REST Client to try to send the request and I'm having a lot trouble. This is the item I'm trying to add to cart. I am sending the POST...
Limit addition of oval objects to line object in tkinter canvas
◷
تاریخ انتشار: 1395/3/3 | ساعت: 2:15
Vote count: 0 I am trying to figure out if there is a way to associate one object to another in Tkinter. I would like to add ovals onto my Tkinter canvas but only to a pre-existing line object, i.e., I do not want the user to be able to add ovals anywhere on a canvas except for on the line object. I...
inserting from a table to another table and activeting trigger
◷
تاریخ انتشار: 1395/3/3 | ساعت: 2:15
Vote count: 0 INSERT INTO SaleItem (ProdId, SaleQuantity) SELECT ProdId, BasketProdQuantity FROM Basket; CREATE TRIGGER TRG_Stock_Decrease ON SaleItem AFTER INSERT AS DECLARE @ProdId INT DECLARE @SaleQuantity INT SELECT @ProdId=ProdId,@SaleQuantity=SaleQuantity FROM inserted UPDATE Product SET ProdS...
How do I add a Form Load event using the form designer in C# 2015? (like double clicking)
◷
تاریخ انتشار: 1395/3/3 | ساعت: 0:16
Vote count: 0 I am new to C#2015. I just realized that the old classical way of adding event handlers by double-clicking on the item no longer works for some items like the form (or the Window). After some google searchs I still can't figure out a way to add the Load event of the form using the desi...
Using SpringApplicationBuilder to configure ApplicationContext in tests
◷
تاریخ انتشار: 1395/3/3 | ساعت: 0:16
Vote count: 0 I have an own custom BeanFactory: class MyListableBeanFactory extends DefaultListableBeanFactory {...} and an ApplicationContext: public class MyAppContext extends A otationConfigApplicationContext { public MyApplicationContext () { super(new MyListableBeanFactory ()); } } and this boo...
Python for/in/if List Comprehension Becomes Very Slow With Large Number of Matches
◷
تاریخ انتشار: 1395/3/3 | ساعت: 0:16
Vote count: 0 I have the following list comprehension in my Python 2.7 code which retu s the line number (index) and the line from a long list of lines: results = [[lines.index(line), line] for line in lines if search_item in line.lower()] This is lightning quick if the number of results is low: The...