date stringlengths 10 10 | nb_tokens int64 60 629k | text_size int64 234 1.02M | content stringlengths 234 1.02M |
|---|---|---|---|
2018/03/20 | 735 | 3,232 | <issue_start>username_0: I'm investigating using Azure IoT hub for communication between software clients and a backend. The software clients should act as devices in IoT hub parlance.
Is it possible to provision the software clients as devices with IoT Hub device provisioning service without each client having been g... |
2018/03/20 | 614 | 2,602 | <issue_start>username_0: I'm having an issue on an older bit of code with an asp:Datagrid. This Datagrid has sorting columns enabled and if the user clicks too quickly, before the page finishes reloading from the sort, an invalid viewstate error is thrown. I tried disabling viewstate on the control and then rebinding i... |
2018/03/20 | 2,086 | 4,193 | <issue_start>username_0: My intention is to get the following validated using regex
```
10.10.*.1
10.10.0.1
10.10.255.1
10.10.10.*
10.10.10.0
10.10.10.255
```
In simple terms, a star can appear in the last two octets and the IP address would still be valid
My code is as follows:
```
function ValidateIPaddress(ipad... |
2018/03/20 | 3,730 | 14,642 | <issue_start>username_0: I'm submitting a series of `select` statements (queries - thousands of them) to a single database synchronously and getting back one `DataTable` per query (Note: This program is such that it has knowledge of the DB schema it is scanning only at run time, hence the use of `DataTables`). The prog... |
2018/03/20 | 1,374 | 4,922 | <issue_start>username_0: Im currently working on a `Rails 4.2.6` and with `RSpec 3.7` version. When I run my test I get the following error:
```
undefined method `build' for #
```
What is triggering this error is the following code.
require 'rails\_helper'
```
RSpec.describe User, "name" do
#setup
it "returns t... |
2018/03/20 | 856 | 3,562 | <issue_start>username_0: [](https://i.stack.imgur.com/2iQK4.gif)
We have this camera array arranged in an arc around a person (red dot). Think The Matrix - each camera fires at the same time and then we create an animated gif from the output. The prob... |
2018/03/20 | 914 | 3,183 | <issue_start>username_0: I was doing some homework and I'm kinda stumped. part of my assignment is that I need to have a If statement that checks if a number that was entered is 16 characters long or not, this is the code I have so far:
```
#the input
CreditCardNum = input("Input a credit card number(no spaces/hyphens... |
2018/03/20 | 821 | 2,919 | <issue_start>username_0: I'm trying to develop a script that interacts with `salesforcedx` and `bamboo`. I want to write a simple python script that run each cli command and runs an exit code after each call. for example
```
import os
path = "/var/Atlassian/bamboo/bamboo-home/xml-data/build-dir/SAL-SC-JOB1"
... |
2018/03/20 | 1,325 | 5,562 | <issue_start>username_0: Inside my app I have several things that get enabled in the completion handler below but for simplicity purposes I just used one button for this example. I only say this because someone will look at the example and say since there is only 1 button to make things simple use the 1st option which ... |
2018/03/20 | 1,115 | 4,209 | <issue_start>username_0: **The issue** I have is we currently are using IdentityServer as our SSO authentication for our corporate applications. However, the bulk of our applications are under the same Site ID in IIS 7.5. When navigating to more than 5 of these applications under the same Site ID, you end up getting a ... |
2018/03/20 | 1,305 | 4,722 | <issue_start>username_0: the data on the [file.txt](https://i.stack.imgur.com/5OUmE.png) are placed as shown.
My Code is this:
```
int searchBookname()
{
FILE *myFile=fopen("file.txt","r+");
if (myFile!=NULL) // file exists
{
char tmp1[512];
char tmp2[512];
while(fgets(tmp1,512... |
2018/03/20 | 1,394 | 5,228 | <issue_start>username_0: I am writing a selenium test using javascript in Jmeter. When I click on a link on the site, it opens in a new tab by default. The automated browser even switches to this new tab. But, it seems selenium is not switching to the new tab. When I print the inner HTML for the body element (obtained ... |
2018/03/20 | 983 | 3,644 | <issue_start>username_0: Here's my sample code for a programming problem asking to split a string and sort the individual words to avoid duplicates. I know that this code is 100% correct, but I'm not really sure what the purpose of `lst = list()` line of code is?
How does the program know to put the file romeo in the ... |
2018/03/20 | 597 | 1,909 | <issue_start>username_0: I have a column of items like this
```
{apple}
{orange}>s>
{pine--apple}
{kiwi}
{strawberry}>s>
```
I would like to filter it so that I only get items that are NOT just a word between brackets (but have other stuff before or after the bracket), so in this example I would like to select these... |
2018/03/20 | 618 | 2,077 | <issue_start>username_0: ```
private void buttonLogin_Click(object sender, EventArgs e)
{
SqlConnection sqlcon = new SqlConnection(@"Data Source=(LocalDB)\v11.0;AttachDbFilename=C:\Users\sesha\Documents\Visual Studio 2013\Projects\Achievers - Grocery Management System\Login Database\Login DB.mdf;Integrated Security... |
2018/03/20 | 1,119 | 3,897 | <issue_start>username_0: I have a column with text (Words and numbers) separated by spaces. There are two cases:
Case 1 (3 words separated by 2 space): **BALDOR** 3 hp-4
Case 2(4 words separated by 3 space): **US ELECTRICAL** 75 hp-232
I need to extract the Bolded word(s) (they aren't bolded in the data i have, it'... |
2018/03/20 | 502 | 1,645 | <issue_start>username_0: The problem is somewhat simple. My objective is to compute the days difference between two dates, say A and B.
These are my attempts:
```
df['daydiff'] = df['A']-df['B']
df['daydiff'] = ((df['A']) - (df['B'])).dt.days
df['daydiff'] = (pd.to_datetime(df['A'])-pd.to_datetime(df['B'])).dt.days... |
2018/03/20 | 1,297 | 4,715 | <issue_start>username_0: I am having this error every time I try to filter a column of a column of a table.I fetch my data from a FireStore cloud collection and the the field auteur is well defined in each documents.
here's what my component looks like
```
import { Component, OnInit, ViewChild} from '@angular/core';
... |
2018/03/20 | 918 | 3,603 | <issue_start>username_0: I have this code where the length and the width get multiplied but I need them to be 'Float' numbers and not 'integers'
```
// Outlets for square start
@IBOutlet weak var LengthForSquare: UITextField!
@IBOutlet weak var WidthForSquare: UITextField!
@IBOutlet weak var ResultForSquare: UILabel!
... |
2018/03/20 | 1,234 | 4,005 | <issue_start>username_0: I have a DDBB with three tables: loan, person and loan\_person\_rel and the respective POJO for each table.
Loan
```
private int line;
private Double balance;
private Double expired;
private int state;
private int defaultDays;
private Branch branch;
private String balanceHistory;
private Stri... |
2018/03/20 | 902 | 3,199 | <issue_start>username_0: I'm trying to read two text files and use values from both as parameters to call an API. I'm having an issue with doing this effectively.
Here's the relevant code:
```
def read_addresses(self):
f = open("addresses.txt", "r")
f2 = open("cities.txt", "r")
self.addresses = f.readlin... |
2018/03/20 | 966 | 3,367 | <issue_start>username_0: I'm trying to do an advanced class template argument deduction by using the new deduction guides from c++17. Unfortunately, it looks like you can only use simple template declarations after the `->`, but I need a helper struct to determine the resulting type.
My use case is this one: I have a ... |
2018/03/20 | 1,290 | 3,394 | <issue_start>username_0: I would like to animate a circle into a line with the radius equaling the width, and I am wondering how I can do this with an Arc? Or perhaps there is a better way?
From
[](https://i.stack.imgur.com/Syf3o.png)
To [. My [commit](https://github.com/F... |
2018/03/20 | 1,616 | 3,920 | <issue_start>username_0: I was programming myself a pretty nice api to get some json data from my gameserver to my webspace using json,
but everytime i am sending a request using angular i am getting this:
>
> 127.0.0.1 - - [20/Mar/2018 17:07:33] code 400, message Bad request version
> ("▒\x9c▒▒{▒'\x12\x99▒▒▒\xadH\x... |
2018/03/20 | 509 | 1,740 | <issue_start>username_0: ```
def Delete_con():
contact_to_delete= input("choose name to delete from contact")
to_Delete=list(contact_to_delete)
with open("phonebook1.txt", "r+") as file:
content = file.read()
for line in content:
if not any(line in line for line in to_Delete):
... |
2018/03/20 | 975 | 3,007 | <issue_start>username_0: **Database**
Db2
**Scenario**
I have a column that needs to be true or false. I have found two sources that point to how to achieve this; however, when I bring them together I get an error.
1. [Boolean values](https://www.ibm.com/support/knowledgecenter/en/SSEPGG_11.1.0/com.ibm.db2.luw.sql.... |
2018/03/20 | 1,941 | 6,963 | <issue_start>username_0: I need to build a nested dictionnary based on a configuration file.
I have :
```
Chain1 {
Chain1_value1
Chain1_Chain2 {
Chain1_Chain2_value1
Chain1_Chain2_Chain3 {
Chain1_Chain2_Chain3_value1
Chain1_Chain2_Chain3_value2
Chain1_Chain2_Cha... |
2018/03/20 | 844 | 2,625 | <issue_start>username_0: I want to create a pyspark dataframe with one column of specified name containing a range of integers (this is to feed into the ALS model's recommendForUserSubset method).
So I've created a list of integers using range, and found [this question](https://stackoverflow.com/questions/35001229/cr... |
2018/03/20 | 1,142 | 3,200 | <issue_start>username_0: I am not sure how to get my two-hop neighbors correctly. It's almost correct but on my output, I don't want to include the same vertex. For my output now if vertex 0 is 0, it says "vertex 0: 0.....
I want to skip the vertex it is currently looking at.
Please help me, are my codes for two hop w... |
2018/03/20 | 558 | 2,534 | <issue_start>username_0: I'm having a strange issue adding the "ExecuteDelete(index)" function to an onclick attribute. The basic logic here is that when a user clicks delete, it triggers the Remove(index) function which shows a modal window and adds an onclick attribute to the Confirm Delete button on the modal. That ... |
2018/03/20 | 417 | 1,705 | <issue_start>username_0: I know how to set up a java GUI (with swing) and use components, actionlisteners etc. What I am not sure about, is how I should pass informtation input to my gui (in a field, for instance) to classes in my application so that they can process the information.
For instance, I set up a GUI to t... |
2018/03/20 | 559 | 1,772 | <issue_start>username_0: I have four tables:
1) categories
```
id | name
------------------
1 | category 1
2 | category 2
3 | category 3
4 | category 4
5 | category 5
6 | category 6
```
2) countries
```
id | name
------------------
1 | country 1
2 | country 2
3 | country 3... |
2018/03/20 | 314 | 1,247 | <issue_start>username_0: I get an infinite loop of @@redux-form/INITIALIZE messages when I try to initialise the value of a fabric ui datepicker field
```
function mapStateToProps(state) {
const { bookingform } = state;
return {
initialValues: { date: new Date()},
bookingform
};
}
```
If I replace new ... |
2018/03/20 | 835 | 2,489 | <issue_start>username_0: I am trying to create a table using kable/kableextra without showing the horizontal lines in the table except for the first row which is the row names.
```
```
{r echo=FALSE}
library(knitr)
library(kableExtra)
options(knitr.kable.NA = '')
dt <- mtcars[1:5, 1:6]
kable(dt, "html") %>%
kable_st... |
2018/03/20 | 805 | 2,662 | <issue_start>username_0: I am trying to go through a very basic tutorial about Webpack. I cannot get it to compile a very basic single line javascript application. I have installed and uninstalled it multiple times.
It's just a tutorial to learn how to use Webpack. I used `npm init` to set up the `package.json` and di... |
2018/03/20 | 557 | 1,775 | <issue_start>username_0: I am trying to display json array of the images stored in database to come with the full URL in Laravel. I am using `CONCAT()` function to concatenate the full URL of the image, but I'm getting a false URL with many dashes inside.
This is a problem in the coming output:
```
{
"posts": [{
... |
2018/03/20 | 2,651 | 7,278 | <issue_start>username_0: I'm have an object as shown below for which I need to find the total including the numbers that are outside as well as inside the curly braces.
```
this.count = {
"count1": "250 (220)",
"count2": "125 (100)",
"count3": "125 (100)",
"count4": "125 (100)"
}
```
>
... |
2018/03/20 | 4,198 | 16,231 | <issue_start>username_0: I m trying to generate a signed APK for android with react-native. If the debug's build works well, when I try to launch the `./gradlew assembleRelease` to create the signed APK for android, I get this error =>
```
Task :app:processReleaseResources
Failed to execute aapt
com.android.ide.commo... |
2018/03/20 | 1,294 | 4,524 | <issue_start>username_0: I am trying to help a co-worker do an inner join on two oracle tables so he can build a particular graph on a report.
I have no Oracle experience, only SQL Server and have gotten to what seems like the appropriate statement, but does not work.
```
SELECT concat(concat(month("a.timestamp"),','... |
2018/03/20 | 588 | 2,173 | <issue_start>username_0: I am building a rich text editor.
I have implemented text formatting like bold italic etc and also paragraph formatting like blockQuote. Now I would like to add images in editor and text should wrap around it.
I have implemented all these using `SpannableString()` and `Spanned()` and `StyleSp... |
2018/03/20 | 418 | 1,482 | <issue_start>username_0: I have a function that loads a page and add a new user.
I want to show an alert(); and redirect/load a different function to change the url.
I have used
```
```<issue_comment>username_1: you can fulfill your requirement like below:
you can set your image in imageview and your text in **H... |
2018/03/20 | 1,529 | 5,640 | <issue_start>username_0: It appears that Google Finance Currency Converter has stopped working altogether. A week ago I started getting these email notifications from my Magento 1.9.2 store:
Currency update warnings:
WARNING: Cannot retrieve rate from <https://finance.google.com/finance/converter?a=1&from=GBP&to=EUR>.... |
2018/03/20 | 443 | 2,078 | <issue_start>username_0: We have a sharepoint website and as part of functional process across the website where there are lot of documents been uploaded. Currently they are been stored into database which results in very bulky table in terms of size. My initial approach was to utilize sharepoint to store the documents... |
2018/03/20 | 533 | 1,618 | <issue_start>username_0: I know the regex works. I tested it with Rubular and should work fine but it's not actually applying to my code.
I have the following present:
```
<% @region.locations.each do |location| %>
<%=other(location.hours\_operation)%>
<% end %>
```
For my helper I have the following:
```
def ... |
2018/03/20 | 1,103 | 3,666 | <issue_start>username_0: I'm creating carousel with ng-bootstrap, I want to change arrow colors or image from white to black cause i have white background images and they are invisible. My problem is that i can't get span, i don't know how to call this in scss. I'm using bootstrap 4 and ng-bootstrap for angular <https:... |
2018/03/20 | 941 | 3,310 | <issue_start>username_0: Using puppeteer, I am trying to retrieve all cookies for a specific web site (i.e. `https://google.com`) from Node.js.
My code is:
```
// Launch browser and open a new page
const browser = await puppeteer.launch({ headless: true, args: ['--disable-dev-shm-usage'] });
const page = await browse... |
2018/03/20 | 2,111 | 6,981 | <issue_start>username_0: I've got this running on my Macbook Pro, so in an attempt to transfer it to my server for prolonged use, I have run into a snag. Server is Ubuntu 16.04 (server) and Python 2.7.12.
I installed the latest version of selenium using pip, and the latest version of ChromeDriver. I can start it fine... |
2018/03/20 | 815 | 3,380 | <issue_start>username_0: I have a Ratpack app written with the Groovy DSL. (Embedded in Java, so not a script.)
I want to load the server's SSL certificates from a config file supplied in the command line options. (The certs will directly embedded in the config, or possibly in a PEM file referenced somewhere in the co... |
2018/03/20 | 525 | 1,409 | <issue_start>username_0: There is a nice way of finding the nonzero min/max of an array excluding zeros described in [here](https://stackoverflow.com/questions/7164397/find-the-min-max-excluding-zeros-in-a-numpy-array-or-a-tuple-in-python):
```
import numpy as np
minval = np.min(a[np.nonzero(a)])
maxval = np.max(a[np.... |
2018/03/20 | 847 | 2,627 | <issue_start>username_0: I have an `std::string` filled with extended ASCII values (e.g. `čáě`). I need to URL encode this string for JavaScript to decode with `DecodeURIComponent`.
I have tried converting it to UTF-16 and then to UTF-8 via the `windows-1252` codepoint, but wasn't able to do so as there is not enough ... |
2018/03/20 | 1,031 | 3,271 | <issue_start>username_0: I am trying to make table with dynamically added rows. The problem is that each row is a form row, with several inputs. I had the PHP function which generate proper row and i manage to send it through $.post() to script. I checked, the code is loading properly. But when i use .append(), select ... |
2018/03/20 | 1,088 | 4,271 | <issue_start>username_0: I hope my title makes sense, cause I don't know how to phrase it any shorter.
I am doing a login and sign up form with parameters and hashing. I have used parameters before but never in a signup form.
So the issue it that when I make a new a user it ONLY inserts the password but not the user... |
2018/03/20 | 1,654 | 4,210 | <issue_start>username_0: I have two simple data frames containing both the columns "word" and "n" for how often a certain word occurred. Here is an example:
```
df1 <- data.frame(word=c("beautiful","nice","like","good"),n=c(400,378,29,10))
df2 <- data.frame(word=c("beautiful","nice","like","good","wonderful","awesome"... |
2018/03/20 | 854 | 2,592 | <issue_start>username_0: I have a data file with strings, floats, and integers separated by a single comma and a random number of spaces.
for example:
```
john , smith , 3.87 , 2, 6
```
I would like to scan each value into a struct containing str,str,float,int,int & ignore the commas and spaces. I have figure... |
2018/03/20 | 2,916 | 8,847 | <issue_start>username_0: Suppose I wanted to use auto dense packing in a CSS grid layout. Is there any way of introducing non-rectangular region configurations? For instance an L-shaped region that cover two columns in one row and only one column in the next. I have tried explicitly naming the grid cells however this d... |
2018/03/20 | 427 | 1,564 | <issue_start>username_0: Not sure if this is possible but I'm trying to display a div if another div which doesn't share the same parent is hovered.
The html looks something like this:
```
Hover
// some other content here
hovered content
```
I've tried using
```
.test:hover + .hover-content {
display: bl... |
2018/03/20 | 526 | 1,826 | <issue_start>username_0: I work on website where user creates some forms which would be filled by another users.
I have `dropdown` (image below) where user can choose what kind of input should be generated for another user:
[](https://i.stack.imgur.... |
2018/03/20 | 530 | 1,780 | <issue_start>username_0: I have a simple unordered list where I'm trying to style all parent `-` items so they are uppercase.
```css
ul > li {
text-transform: uppercase;
}
```
```html
* UPPERCASE
* UPPERCASE
+ Lowercase
+ Lowercase
+ Lowercase
+ Lowercase
* UPPERCASE
* UPPERCASE
```
The method above was sug... |
2018/03/20 | 1,914 | 7,529 | <issue_start>username_0: I'm not sure how to implement combined "OR" requirements in ASP.NET Core Authorization. In previous versions of ASP.NET this would have been done with roles, but I'm trying to do this with claims, partly to understand it better.
Users have an enum called AccountType that will provide differen... |
2018/03/20 | 323 | 1,502 | <issue_start>username_0: I created a tag helper and wanted to use that in my Blazor sample project.
However, when I want to use the tag helper, the compiler complains about that:
`CS0103 The name 'StartTagHelperWritingScope' does not exist in the current context FirstBlazorApp`.
What is additionally required to make ... |
2018/03/20 | 832 | 3,835 | <issue_start>username_0: Recently I have been rethinking of various ways to refactor older projects of mine, making sure to have a proper design first and applying the architecture into the code.
The business logic of an application is supposed to be agnostic of data persistence implementation, presentation frameworks,... |
2018/03/20 | 292 | 853 | <issue_start>username_0: Im trying to the get the average of a column but this throws a Syntax Error and i can't get my head round it
```
Sheets("Calculator").Range("C15").Value = "=Average(Sheets("Results").Range("C2:C1000"))"
```<issue_comment>username_1: Try this:
```
Sheets("Calculator").Range("C15").Formula = "... |
2018/03/20 | 1,394 | 4,953 | <issue_start>username_0: I have an Ajax script on a PHP page which is to run a php script on clicking a button.
The code is as follows:
```
$('#signup-form').submit(function(e){
e.preventDefault(); // Prevent Default Submission
$.ajax({
url: 'insertfromsession.php',
type: 'POST',
data: $(this).serialize(), // ... |
2018/03/20 | 840 | 3,468 | <issue_start>username_0: .so lib files missing debug symbols
So I tried getting my bin/debug.apk to work in the Buildozer VM, but there was a problem with loading adb and attaching my Android device via USB, so I exported my bin/debug.apk to my desktop to debug it in Android Studio. However, in its first steps, it thr... |
2018/03/20 | 948 | 3,688 | <issue_start>username_0: I currently have a dataset that looks like this:
```
Personid | Question | Response
1 | Name | Daniel
1 | Gender | Male
1 | Address | New York, NY
2 | Name | Susan
2 | Gender | Female
2 | Address | Boston, MA
3 | Name | Leonard... |
2018/03/20 | 791 | 2,788 | <issue_start>username_0: Wanted to validate my inputs and change the CSS depending of the user interaction.
Starting with a required validation method I wrap all my inputs component with a and pass to `validate` an array of func. Just `required` for now.
But for all my fields the value stay the same `touched: false`... |
2018/03/20 | 1,279 | 5,106 | <issue_start>username_0: I'm building a code interpreter in C++ and while I have the whole token logic working, I ran into an unexpected issue.
The user inputs a string into the console, the program parses said string into different objects type Token, the problem is that the way I do this is the following:
```
voi... |
2018/03/20 | 862 | 2,604 | <issue_start>username_0: In the Groupby documentation, I only see examples of grouping by functions applied to the index of axis 0 or to the labels of the columns. I see no examples discussing how to group by a label derived from applying a function to a column. I would think this would be done using `apply`. Is the ex... |
2018/03/20 | 1,305 | 4,053 | <issue_start>username_0: Can anyone please help me, I'm a newbie, I have a bit of code which I'm working on and I'm struggling with the file directory path. I have found other examples and tried them as shown below. The Python code is to email out a file called 'myfile.txt' form the folder `'F:\D\OneDrive\Python\Spyder... |
2018/03/20 | 879 | 3,235 | <issue_start>username_0: Is there a way to determine what the default branch is on an upstream repo when the local repo had the default branch changed to something different than the upstream repo?<issue_comment>username_1: There is no notation of "default branch" in Git. There is only `HEAD` in local and remote reposi... |
2018/03/20 | 473 | 1,635 | <issue_start>username_0: I have a flow where the following happens:
* `PartyA` creates a `TransactionBuilder`
* `PartyA` sends the `TransactionBuilder` to `PartyB`
* `PartyB` adds a state to the `TransactionBuilder`
However, when `PartyB` tries to a state to the builder, they get the following exception:
```
[WARN ]... |
2018/03/20 | 311 | 1,060 | <issue_start>username_0: I'm a user of a SQL Sever database, and I want to know my access rights / permissions in the database I'm using. What SQL query should I use to do so?
Thanks<issue_comment>username_1: I think the easiest way would be:
```
SELECT * FROM fn_my_permissions(NULL, 'SERVER');
GO
```
I tried it... |
2018/03/20 | 445 | 1,269 | <issue_start>username_0: My black box in this example should be all the way to the left and all the way up. I don't want to see any white space left or above of it.
```css
#box {
width: 200px;
height: 200px;
margin-left: 0px;
background-color: black;
}
```
But that isnt the case! Can anyone tell me how ... |
2018/03/20 | 554 | 1,859 | <issue_start>username_0: I have wondered that both c++ and java using oops concepts but the syntaxes are quite different.
I found that java uses new ClassName() to get a reference to the heap but getting the same reference to the heap why the c++ uses new ClassName.
```
#include
using namespace std;
class Bike
{
... |
2018/03/20 | 427 | 1,329 | <issue_start>username_0: I would like to deploy my website in django to docker. Problem is, when i run docker-compose up, website html is loaded, but static content like css, js, logo, mp3 not. I think that this is because my url. On localhost my website runs correctly, but server has prefix something like <http://127.... |
2018/03/20 | 653 | 2,624 | <issue_start>username_0: I need to run a simple java script function after my react form has finished loading. The JS is loaded from a 3rd party so i have no control over it and i need to run one of its functions in order to make a captcha section appear in my form. If i hit F5 then the area appears as expected but nav... |
2018/03/20 | 652 | 2,201 | <issue_start>username_0: I have a function that I'd like to apply to several elements of the same class. It's a scroll page function and I need it to only execute once. So I put it in a wrapper. It works but I'd like to be able to just add a class to an element and have it act upon that element. I tried iterating throu... |
2018/03/20 | 369 | 1,282 | <issue_start>username_0: `$funcNum = $_GET['CKEditorFuncNum'] ;` is not returning the number.
I tried creating the upload.php for ckeditor uploadimage plugin according to
<https://stackoverflow.com/a/44553006/8719001> (sorry can't add comments yet)
which includes `echo "window.parent.CKEDITOR.tools.callFunction($fun... |
2018/03/20 | 787 | 2,877 | <issue_start>username_0: I would like to create a excel Macro that allows to me copy an x number of rows of certain column. For Example, I have column K that I have in 10.500 rows. I want to copy 1000 lines each time and also the 500 lines at the end. any help with the coding part ? I looked on so many sites and no suc... |
2018/03/20 | 1,202 | 4,413 | <issue_start>username_0: I've searched and have had trouble finding an answer.
tl;dr I have a wordpress theme and no longer have support from the creator, and I'm trying to get rid of warning text popping up on the top of some pages. I'm not a programmer so I'm not sure what to do but I do understand code enough to pa... |
2018/03/20 | 1,043 | 3,846 | <issue_start>username_0: I have a table that looks something like this:
```
BuildingID | RouterType | RouterPort | RouterInstaller | Notes
-----------+------------+------------+-----------------+-------
282 | Linksys | 1990 | Super | NULL
307 | Sonic Wall | NULL | Greg ... |
2018/03/20 | 427 | 1,599 | <issue_start>username_0: How can I modify grep so that it prints the full file if its entry matches the grep pattern, instead of printing just the matching line?
I tried using `grep -C2` to print two lines above and two below but this doesn't always work as the number of lines is not fixed.
I am not just searching a ... |
2018/03/20 | 774 | 2,641 | <issue_start>username_0: The first obstacle that I faced is that there is no shorthand for `document.getElementById`in Vue so I implemented a [function like this one](https://stackoverflow.com/questions/36970062/vue-js-document-getelementbyid-shorthand). The second obstacle I'm facing is that IMHO the [html2canvas docs... |
2018/03/20 | 803 | 2,664 | <issue_start>username_0: I have an array, **$row2**.
In **$row2** two arrays are present. The output of **$row2** is:
```
Array
(
[0] => Array
(
[Proposal_id] => 9
[row] => 1
[col1] => 2
[col2] => 2
[col3] =>
[col4] =>
[co... |
2018/03/20 | 840 | 2,763 | <issue_start>username_0: I have some problems with getting OpenCV-3.1.0 working (directly) with `catkin build`. I am trying to build a workspace of the TIAGo Simulation, but I get errors.
When I build a test file (containing opencv functions) with g++ and flags I have no problems:
`g++ -o test test.cpp ´pkg-config op... |
2018/03/20 | 661 | 2,193 | <issue_start>username_0: I'm trying to select records from a DB2 Iseries system where the date field is greater than the first of this year.
However, the date fields I'm selecting from are actually PACKED fields, not true dates.
I'm trying to convert them to YYYY-MM-DD format and get everything greater than '2018-01-... |
2018/03/20 | 943 | 3,161 | <issue_start>username_0: I am wanting to select object by className and NOT css or id and i continuely get error, cannot locate css selector, even though im trying to select with className. Even said i can not get the element with the css either. I have just set up protractor, so maybe im missing something? protractor ... |
2018/03/20 | 694 | 2,325 | <issue_start>username_0: I am trying to install the darkflow libraries from the repository: <https://github.com/thtrieu/darkflow>
Unfortunately when entering either
```
python setup.py build_ext --inplace
```
or
```
pip install -e .
```
results in the following error:
```
running build_ext
building 'darkflow.c... |
2018/03/20 | 720 | 2,480 | <issue_start>username_0: my Ajax call via jQuery will always be transmitted (status 200), but only sometimes it's received by the rails controller. Means the data is sent properly but most times the controller sends back an empty json object as the response. I need the timeout else the stringify doesn't work. Any hints... |
2018/03/20 | 680 | 2,171 | <issue_start>username_0: So I am building my website. I added my banner , my footer but my background is getting messed up. It's not stretching out , there is some empty whitespace.
[This is what happens:](https://i.stack.imgur.com/mJfcQ.png)
If I use background-size: 100% , my background disappears. Same thing when ... |
2018/03/20 | 452 | 1,727 | <issue_start>username_0: I'm building a custom directive where I want to read one of the attributes (formControlName) of the native element, and then conditionally add one or more attributes to the element.
However, when I console.log the native element's attribute, I get:
>
> undefined
>
>
>
Here's what I trie... |
2018/03/20 | 1,479 | 5,287 | <issue_start>username_0: I'm using with a smaller piece of code to test functionality for a larger (beginner) program, but I don't understand the difference between two strings.
I found and used:
```
#include
#include
int main()
{
char \*string, \*found;
string = strdup ("1/2/3");
printf("Orig: '%s'\n",string);
... |
2018/03/20 | 597 | 2,187 | <issue_start>username_0: Below is the XML I am trying to parse. I need to extract the DLRNUMBER tag from the first FL nodelist (first one). I am trying to use Xdocument. I don't know the syntax to get the tag.
```
XDocument xdoc = XDocument.Load(@"C:\Temp\FR_in.xml");
var query = from e in xdoc.Descendants("FLSS")
... |
2018/03/20 | 866 | 2,910 | <issue_start>username_0: As part of our **ASP.NET Core 2.0** build process I have added a *dotnet test* command which I have added as a Windows batch file.
Here is my command.
```
dotnet test "MyProject.csproj" --no-restore --results-directory "MyProject\TestResults" --verbosity minimal
```
And here is the output ... |
2018/03/20 | 1,291 | 4,176 | <issue_start>username_0: Is there a way to have a cell reference to two rules in conditional formatting?
As a teacher I have a spreadsheet of the grades of 26 children.
Column A: Target = 100
Column B: Actual scores of test 1
Column C: Actual scores of test 2 (taken a month after test 1)
Column D: Differenc... |