text stringlengths 15 59.8k | meta dict |
|---|---|
Q: embed hyperlinks in a subliime text file One cool thing about Google Docs is that you can highlight a word, hit command-K (on a mac) and, hey presto, turn that word into a hyperlink.
One cool thing about Sublime Text is that it is better than Google Docs in every other way. My humble opinion.
Question: are there an... | {
"language": "en",
"url": "https://stackoverflow.com/questions/38958171",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: how can pass this regular expression in C# ?about"[]" mean I have the following regular expression:
^[A-Z&&[^EIOSTUYZ]][X|0-9&&[^4-6]][A-F[NWX]].?.?$
I don't how can pass this regular expression. I trid AW0AW,AXFX,3D0E, but all can't pass it.
| {
"language": "en",
"url": "https://stackoverflow.com/questions/49621066",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Auto-start my program in administrative mode when system starts up without the UAC prompt My problem :
I made a program and i have this program for example now under this directory : "C:\Program Files (x86)\AppName", now in the program i'm saving some images in my program directory, but since this is in the C drive,... | {
"language": "en",
"url": "https://stackoverflow.com/questions/47462457",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Change state without overriding other values in react I am trying to change the state of my app without overriding the values that haven't changed. I am doing so using the spread operator, but something is going wrong.
Here is my base state : useState({data : [{name : undefined , project : []}] });
With setState i... | {
"language": "en",
"url": "https://stackoverflow.com/questions/60930779",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: *ngIf is adding elements instead of replaceing them My Code
<i *ngIf="!isFollowing" class="far fa-bell"></i>
<i *ngIf="isFollowing" class="fas fa-bell"></i>
Type of isFollowing is Boolean
Whenever I'm changing it to true or false it's showing the new element according to the expression but it is not removing the p... | {
"language": "en",
"url": "https://stackoverflow.com/questions/52966771",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Is it possible to nest the all function? I have a list of objects named items. Each object has a property state and a property children, which is another list of objects. And each child object has also a property named state. What I want to know is if every item and their children are in the states happy or cheerful... | {
"language": "en",
"url": "https://stackoverflow.com/questions/27484771",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "8"
} |
Q: Why is the white box appearing? The first box the loop outputs is a white box with a black outline. I don't understand where it's coming from...
https://editor.p5js.org/matranson/present/6fNelJM8_
function setup() {
colorMode(HSB,360,100,100);
createCanvas(400, 400);
var boxh = height / 10;
var... | {
"language": "en",
"url": "https://stackoverflow.com/questions/56417688",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: give labels as a numpy array with shape(m,1) or shape(m,) to a model simply i trying to test a simple Dense neural network without hidden layer.first 50th columns of my data is features and last one is label.
X = data[:, :50]
y = data[:, -1]
input = keras.Input(shape=(50,))
output = keras.layers.Dense(1)(input)
mode... | {
"language": "en",
"url": "https://stackoverflow.com/questions/67434832",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Not able to access imported class using * wildcard but able to use same class when imported with full qualified name
*
*I am new to java please help me
*I am having trouble using the * wild card in my import statements
*I compiled the javatesting1 class using javac -d . javatesting1.java and also got the .class ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/67103718",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Highchart x-axis show label after specific days no matter what is in the x-axis categories This is my code for highchart:
Highcharts.setOptions({
time: {
useUTC: false
}
});
$('#container-chart').highcharts({
chart: {
type: 'line',
alignTicks: false,
},
title: {
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/54086263",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to reuse React component that has different markup? I have the following component today, which represents a container box that has a heading and different rows. This is how it looks:
var Box = React.createClass({
render: function() {
return (
<BoxHeading title={this.props.headingTitle}/>
<BoxB... | {
"language": "en",
"url": "https://stackoverflow.com/questions/30929751",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: What is the usage of OAuth 2.0 client id from Google Fit on Android Im really confused from Google Api platform. Recently guide leads you to generate oAuth Client ID JSON. On the other hand there is no clear reason or need to generate or have at all. Im doing these steps to enable Google Fit on Android:
*
*Get a ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/46920653",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "8"
} |
Q: t-sql dynamic cursors May I use variable to declaring cursors??
I want to creating dynamic cursor, how can i do this??
Regards
I have table:
CREATE TABLE [UsersUniTask] (
[id] uniqueidentifier CONSTRAINT [DF_UsersUniTask_id] DEFAULT newid() NOT NULL,
[userUniID] uniqueidentifier NOT NULL,
[taskID] int NOT NULL... | {
"language": "en",
"url": "https://stackoverflow.com/questions/3563929",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: validating bitbucket commit if it has a jira id Hi i need to validate bitbucket commit if it has a jira id. May be apply a pre receive webhook in bitbucket to check if there's a jira id.
Can some guide me. I think we can make a pre webhook - testing the bitbucket commit against a regular expression.
| {
"language": "en",
"url": "https://stackoverflow.com/questions/46399267",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Avoiding join in MS Access delete query I am trying to create a delete query to remove records from one table, based on whether or not one of the field exists in another master table. The situation is that I am importing new records into a database, but I want to remove the records that have already been imported, i... | {
"language": "en",
"url": "https://stackoverflow.com/questions/12335973",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Inserting data into database using AdoDB This is how you insert using AdoDB Databse Abstraction Layer.
<?php
include 'adodb5/adodb.inc.php';
$host = 'localhost';
$user = 'user2000';
$pass = 'password2000';
$dbname = 'w3cyberlearning';
$conn1 = &ADONewConnection('mysql');
$conn1->PConnect($host, $user, $pass, $dbname... | {
"language": "en",
"url": "https://stackoverflow.com/questions/34120697",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Compilation issue on new kernel I have installed Fedora 22 , which has default kernel 4.0.4.
But I have a requirement of Kernel 4.1.4, so I installed kernel 4.1.4 on Fedora 22. and make an entry in grub for new kernel.
Kernel 4.1.4 is installed successfully and I am able to login with new kernel.
output of "uname -a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/31913435",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Can't run background service at a regular period of 3 minutes on Chinese custom ROM to send latitude and longitude I have tried job scheduler and work manager but it does not work in doze mode and not at regular period. I have used normal service which is not working on
some Chinese custom rom phone specially oppo ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/58624262",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: How can I customize the output from pygments? If I run a python source file through pygments, it outputs html code whose elements class belong to some CSS file pygments is using. Could the style attributes be included in the outputted html so that I don't have to provide a CSS file?
A: By setting the noclasses attr... | {
"language": "en",
"url": "https://stackoverflow.com/questions/624345",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Select multiple film category I am having trouble with my small film database tag/category query.
My table is:
ID(index),Name(film name),category
One movie can have multiple categories.
SELECT Name FROM categorytable WHERE category ='Action';
Works fine but if I want other tags I get empty cursor:
SELECT Name FR... | {
"language": "en",
"url": "https://stackoverflow.com/questions/18006656",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Can't Load Image from JSON I want to display a list that contain text and image.
The text and image stored on my online database,
i using JSON for taking them down to my android app.
The JSON doesn't display any error, the text are displayed but the image are not appear.
I check the logcat and there's no error for... | {
"language": "en",
"url": "https://stackoverflow.com/questions/46909581",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Running from terminal, changes the character encoding! I think. ( UBUNTU ) I asked that question,
Ubuntu Zend Framework cli securityCheck Error
and i found the problem. Actually it is not about zendframework. Because it happens doctrine too. And it doesnt happen if i run my web site from browser. The problem is as i... | {
"language": "en",
"url": "https://stackoverflow.com/questions/4932990",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: What is the best practice for disabling a cache request from the Full Page Cache (FPC) in magento (enterprise) I wish to remove the following setting:
<cms>enterprise_pagecache/processor_default</cms>
... from the config.xml of the core / Enterprise / PageCache / config.xml file so that the home page will not be ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7651061",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How do I get to store a downloaded file with Java and Jersey? I use Jersey for building RESTful services and currently I'm stuck on something that, I thought, shouldn't be too hard.
I manage to GET the file I want to download, but I do not know how to save it.
I searched for answers on the web, but I didn't find any... | {
"language": "en",
"url": "https://stackoverflow.com/questions/8928037",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: react-client-session Login loop I'm trying to implement Login Functionality to my app but whenever I do a FRESH Reload and try to redirect to my home page it enters an infinite loop, How could I go about resolving this?.
** Note **
I have refactored this in so many ways with and Without react state in place and many... | {
"language": "en",
"url": "https://stackoverflow.com/questions/72118176",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Linq clarification on projection This question is to seek technical help in projecting enumerables to meet specified condition.
Say,
A ball contains two Red balls and three Blue balls.Based on the following conditions i have to select the balls.
(i) Each pair should contain one blue ball and one red ball
(ii) if th... | {
"language": "en",
"url": "https://stackoverflow.com/questions/17273419",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Displaying Japanese Characters using DOMpdf Problem:
I want to generate a pdf using DomPDF that includes Japanese text. In order to do so I know that I need a font that supports Japanese characters and to load the font into DomPDF.
I have read the UnicodeHowTo of DomPDF and several similar questions on SO but I can ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/33902718",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: mapstructure tags not used by Viper when writing to YAML I have structs defined as follows
type config struct {
Contexts map[string]Context `mapstructure:"contexts"`
CurrentContext string `mapstructure:"current-context"`
Tokens []Token `mapstructure:"tokens"`
}
type ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/74692580",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: .loc only returning first value in a list instead of the full list I have a data frame and I'm trying to return all the matching values in one column based on another column using loc. The dataframe looks like this.
Col1
Col2
Alpha
Bravo
Alpha
Charlie
Delta
Charlie
Delta
Echo
Delta
Echo
Mike
Rodeo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75176043",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: "Request cookies" vs cookies In my project, I use XMLHttpRequest.withCredentials for authentication. Now, on a regular desktop browser this understandably sets a cookie to be passed on every request to the appropriate domain. Good.
Now, since my project is a cordova app, and cordova web views supposedly don't have c... | {
"language": "en",
"url": "https://stackoverflow.com/questions/31725103",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How to add HTML to a template based on an if condition? I have an HTML template that's stored in sql as follows
<script id="Accounttmpl" type="text/x-jsrender">
<div class="authenticated" id="authenticated" >
<span class="loginWelcome">Hi </span>
<span class="loginWelcome">{{>FirstName}}</span>
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/60450056",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: If i have a column, activity_year_and_month, that has data like 201901-201907 If I have a column, activity_year_and_month, that has data like 201901-201907, how can I filter my data in the where clause to only care about data now - 3 months prior? Looking for the SQL code to do that. Right now I get ERROR [HY000] ER... | {
"language": "en",
"url": "https://stackoverflow.com/questions/56938614",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How can an Admin User save a file as a Standard User So I have a program that saves a text file to the C:\ProgramData\MED folder
std::filesystem::path fileName("C:\\ProgramData\\MED\\Data.txt");
int ret(0);
FILE *fp;
ret = _tfopen_s(&fp, fileName.c_str(), _T("w"));
if (ERROR_SUCCESS == ret)
{
_ftprintf_s(f... | {
"language": "en",
"url": "https://stackoverflow.com/questions/63058494",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Javascript set cookie expire time on button click onClick="javascript:document.cookie='n=1'"
Im new in javascript
I have a btn click will set cookie, how can I set expire time 1 hour on this cookie?
A: When you write the cookie to the browser, you need to specify an expiration date or a max age. However, note th... | {
"language": "en",
"url": "https://stackoverflow.com/questions/18638265",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Is there a way to make a field label in forms datasheet mode to be multi-line? I need a reasonably long label name but don't want to make the datasheet column unnecessarily large since the corresponding data is not large. Is there a way to get Access to break the label into multiple lines?
Thanks
A: Based off of t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/30712810",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to delete items from object array where some keys have duplicate value? I want to delete rows from an object array that have the same id, but other keys are different.
For example, I have the following Array:
testArray = [
{id: 1, type: 1}
{id: 2, type: undefined}
{id: 3, type: 0}
{id: 3, type: undefined}
{... | {
"language": "en",
"url": "https://stackoverflow.com/questions/61230431",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Remove horizontal slice of an image and fill its void by the surrounding areas from above and below Original Images & Desired Outcome
I have a batch of PNG images which need the same automated image processing:
*
*Middle part (red) shall get eliminated entirely and its void filled from above/below
*Top (blue) and... | {
"language": "en",
"url": "https://stackoverflow.com/questions/71470152",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Accessing Database stored in Internal Storage of Android Q I would like to access the database that is stored in the Internal storage. I'm using the following code to do so.
db_connection_string = "URI=file:" + GetAndroidInternalFilesDir() + "/employee.db";
Debug.Log("db_connection_string" + db_connection_string);
d... | {
"language": "en",
"url": "https://stackoverflow.com/questions/68062763",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Instagram style comments, calculating width of indent based on UIButton I'm working on implementing some instagram style comments. I seem to have everything appearing correctly, except during the first load. I'm using a UIButton for the username, with a label underneath of that with the comment. The UILabel is then ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/27745638",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Line up Pictures in footer I recently added some icons to my site's footer: http://ininkk.com/
They ended up sitting below one another instead of being flush in one line. Specifically the payment options icon (all-in-one image) and the shipping icons (all-in-one).
Does anyone know how I can made them sit side by sid... | {
"language": "en",
"url": "https://stackoverflow.com/questions/38340175",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Can't get a Javascript to call a wcf webservice on localhost or on a crm 2013 server Good afternoon. I don't mean to bump the thread, but it's over a month later and I can't seem to get a post OR get request to work. I have looked at (and tried to incorporate) so many pre-written solutions but each and every time so... | {
"language": "en",
"url": "https://stackoverflow.com/questions/28328563",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Extracting the info from Outlook to Excel I have the code below which gives me the Sender line, Subject line and date information, however is there a way to also get the information from the To line (Name and Email Address).
Sub GetFromOutlook()
Dim OutlookApp As Outlook.Application
Dim OutlookNamespace As N... | {
"language": "en",
"url": "https://stackoverflow.com/questions/58561079",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Escaped regular characters Are strings such as "\$" illegal? Why or why not? (Gcc and clang give a warning but treat it as if it was "$") How is \ followed by a character that, with the backslash prepended, doesn't form a reserved escape sequence supposed to behave?
A: From this escape sequence reference:
ISO C re... | {
"language": "en",
"url": "https://stackoverflow.com/questions/40863676",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Drawing Hexagon like piechart in iOS I am drawing a hexagon with 3 different colors. I gave a color for each line.
Here is my code;
- (void)drawRect:(CGRect)rect {
self.colors = [[NSMutableArray alloc] initWithObjects:[UIColor yellowColor],[UIColor yellowColor],[UIColor blueColor],[UIColor blueColor],[UIColor g... | {
"language": "en",
"url": "https://stackoverflow.com/questions/33813779",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Django - language switching with query data Hi I have a search results page which returns queries form the database using this view:
def search(request):
show_results = False
# check if POST
if 'q' in request.POST:
query = request.POST['q'].strip()
# check if GET (paginated)
if 'q' in request.GET:
query = re... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7246870",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Running a windows executable within R using wine in ubuntu I am trying to execute a windows only executable called (groundfilter.exe from FUSION) within Rstudio on Ubuntu.
I am able to run groundfilter.exe from a terminal using wine as follows:
wine C:/FUSION/groundfilter.exe /gparam:0 /wparam:1 /tolerance:1 /it... | {
"language": "en",
"url": "https://stackoverflow.com/questions/41754006",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Check if a UTF-8 character or string can be converted into Windows-1252 in Javascript? I need to store form data sent from the browser into a database that stores text in Windows-1252. Since modern browsers will send the form data to my backend as UTF-8, I plan to validate the input both on the browser as well as in... | {
"language": "en",
"url": "https://stackoverflow.com/questions/72580692",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Removing the first instance of an element (Haskell) I am new to working with haskell but I tried to follow the answer to this question to create my own function that takes a list and an element as input and removes the first instance of said element from list.
My code looks like this:
rem1 :: Eq a => [a] -> a -> [a]... | {
"language": "en",
"url": "https://stackoverflow.com/questions/69125973",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: SQL query to retrieve records that fall outside of a time range defined between two datetime fields I am trying to find anomolies in our work order system, and one of my where statements needs to retrieve records where work occurs out of a certian time frame in the last 30 days. I am trying to determine if any work ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/24085363",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Multiple elements with inline "this.select" Javascript; only 1st one gets selected I've got a page that has multiple instances of a form. Each form has, among its other fields, this field:
<input class="span1" type="text" name="abc" id="abc" value="25" placeholder="25"
onfocus="if (this.value==this.defaultVal... | {
"language": "en",
"url": "https://stackoverflow.com/questions/17570648",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: How to create count object array using date array javascript My javascript array like that.
var datearray = [
"2016-01-13",
"2016-01-18",
"2016-01-30",
"2016-02-13",
"2016-02-18",
"2016-02-28",
"2016-03-13",
"2016-03-23",
"2016-03-30",
"2016-04-13",
"2016-04-18"... | {
"language": "en",
"url": "https://stackoverflow.com/questions/37988786",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Vue.set insert an item at a specific index this is my items object:
items: {
houses:{
name: 'Houses',
url: '/houses',
icon: 'icon-home',
},
users:{
name: 'Users',
url: '/users',
icon: 'icon-people',
},
}
I use vue.set to add item in my items object:
Vue.set(nav.it... | {
"language": "en",
"url": "https://stackoverflow.com/questions/53018618",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: In Sendgrid Design template, how to use handlebar iteration for table? I'm using SendGrid online "Design" template, with a module "code".
In their documentation (https://sendgrid.com/docs/ui/sending-email/editor/#code-modules), they say that de code editor does not modify or validate any HTML.
If I write this piece ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/53614202",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "9"
} |
Q: Distinguish design and implementation detail when doing TDD I have been doing Unit tests for a while. I am a little confused about the boundary between design and implementation details when doing TDD.
For example, I have two interfaces, service and adapter, that process employee information (add, get, delete ...)
p... | {
"language": "en",
"url": "https://stackoverflow.com/questions/30946217",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to change a Vimeo's video privacy via API (PHP)? I'm trying to set a Vimeo's video privacy via API (v3.4) request.
Sending an HTTP PATCH to https://api.vimeo.com/videos/{videoId} with
Headers:
"Authorization" => $api_key,
"Accept" => "application/vnd.vimeo.*+json;version=3.4"
Body:
"form_params" => array(
"... | {
"language": "en",
"url": "https://stackoverflow.com/questions/52080930",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: sFlow data generator tool I am developing an application to parse the sFlow data. For this I need a sFlow data generator, which can be used as an input to my application.
Is there any open source/tools/linux network commands which I can use to generate sFlow data? Platform is Ubuntu
A: The Host sFlow agent runs on... | {
"language": "en",
"url": "https://stackoverflow.com/questions/35284007",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: change background resource of an image in the gridview in android here am trying to change the background resource for the image, am success in that, but the problem is, when i clicking on all the items in the gridview every item has changes in the background resource, my question is if i click on item which is 0 po... | {
"language": "en",
"url": "https://stackoverflow.com/questions/21981523",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Selenium Webdriver C# How to test an element is not present? This element can be found when a required field has been filled out:
IWebElement e1SK = Driver.Instance.FindElement(By.XPath(baseXPathSendKeys + "div[2]/textarea"));
When the required field is not filled in, the above element should not be present.
The te... | {
"language": "en",
"url": "https://stackoverflow.com/questions/26963392",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Remove a laravel passport user token In my unit test, I have a user for whom I generate a token:
$tokenString = $this->user->createToken('PHPunit', ['example'])->accessToken;
How can I afterward delete this user's token?
A: This is what I do when a user logged out.
public function logout() {
Auth::user()->toke... | {
"language": "en",
"url": "https://stackoverflow.com/questions/58280790",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Change factor to numeric in dataframe and drop missing values I have downloaded the data and would like to change columns named USD and EUR to numeric and also treat the column date as a date. I would also like to get rid of the missing values in the dataframe named result3.
library(dplyr)
library(ggplot2)
library(r... | {
"language": "en",
"url": "https://stackoverflow.com/questions/70838926",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Convenient C++ struct initialisation I'm trying to find a convenient way to initialise 'pod' C++ structs. Now, consider the following struct:
struct FooBar {
int foo;
float bar;
};
// just to make all examples work in C and C++:
typedef struct FooBar FooBar;
If I want to conveniently initialise this in C (!), I... | {
"language": "en",
"url": "https://stackoverflow.com/questions/6181715",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "167"
} |
Q: QMap Insert only produces (error) 0 for Value and Key I am having a problem inserting values into a QMap & I cannot figure out why. I have stripped my code right down to just make what I was trying to do work. The code is below:
#include <QtCore/QCoreApplication>
#include <QString>
#include <QMap>
int main(int arg... | {
"language": "en",
"url": "https://stackoverflow.com/questions/24367028",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Android - deletion of resources in Java I am planning to write an Android chat application - in this application, one of the main features is user anonymity and security. The application will allow the user to upload pictures, and will also allow the user to write texts, which will be saved as Strings.
How can I ens... | {
"language": "en",
"url": "https://stackoverflow.com/questions/33248354",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Why am i always getting Group C Question:
Display the message Group A if a string contains at least one letter A,
either in uppercase or lowercase in the last 3 positions of the string.
Display Group B if a string contains the letter B, either in uppercase or
lowercase in all last three positions. Display the messag... | {
"language": "en",
"url": "https://stackoverflow.com/questions/72298394",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Intermitent Naming Conflict I call for collective wisdom on this one. I am having the following extremely weird bug.
I have a model named File.php. I have used it in several places in my app. But now it doesn't seem to work.
In this case, it works in my Template.php:
$this->Behaviors->load('Containable');
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/34214074",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Sys.WebForms.PageRequestManagerParserErrorException with IE I am working on a relatively complex asp.net web forms application, which loads user controls dynamically within update panels. I've run into a very peculiar problem with Internet Explorer where after leaving the page idle for exactly one minute you receive... | {
"language": "en",
"url": "https://stackoverflow.com/questions/18282400",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to Export Records in batches in sql server 2005? As already said in the title, how do i export a table into Excel file but into batches? I have total 300 thousands records in one table. I exported it into Excel but when it hit the 65536 records in Excel, operation failed. (may be coz of limit of rows in excel). ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/4072588",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Understanding the content in value attribute? $userId = $_POST["userId"]
print <input type="hidden" name="userId" value='".$userId."'/>;
I can't understand what is inserted into the attribute value here and why here dot$userIddot actually does? I know that single dot operator is used for concatenation then why is... | {
"language": "en",
"url": "https://stackoverflow.com/questions/32030592",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: Access User's Friends with only App Access_token in facebook As mentioned in Link an app can access user's friend's id with an app access_token. But when I try to access friends of a user by
www.graph.facebook.com/USER_ID?fields=friendlists&access_token=ACCESS_TOKEN
I get an error:
{
"error": {
"message": "... | {
"language": "en",
"url": "https://stackoverflow.com/questions/19096129",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How can I replace some element and remove some element in one loop in java? I wanna do some thing like this :
List<Integer> list = [1,2,1,3];
for (each : list) {
if (each == 1) {
remove (each);
} else {
each = 4;
}
}
after the loop the list is supposed to be [4,4].
I have tried the foll... | {
"language": "en",
"url": "https://stackoverflow.com/questions/66594899",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Business Use Case and just Use Case What's the difference between a Business Use-Case Model and a Use-Case model? I'm supposed to make both for a website, but I cannot understand what's the difference... Help?
A: Perhaps an alternative description would help.
'Business' and 'System' Use Cases differ in scope. The f... | {
"language": "en",
"url": "https://stackoverflow.com/questions/4761915",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: What is the formula used by .NET chart controls when using a logarithmic scale? I'm making a bar chart using .NETs Chart controls with a pretty wide range of values. The top of the chart (AxisY.Maximum) is 4930 and some of the Y values are:
573, 392, 151, 182, 4675, 103, 3100, 432, 326, 53, 3415, 1125, 115...
A pr... | {
"language": "en",
"url": "https://stackoverflow.com/questions/33269691",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: PDO inserting zero into my data base instead of the variable content I'm trying to insert data into my database using PDO prepare statement but its inserting zero into my table instead of the variable content
| {
"language": "en",
"url": "https://stackoverflow.com/questions/55305020",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Huge picturebox (16000x16000) Sometimes, my users will use a 16000x16000 picturebox (which is located in a Panel, for autoscroll).
The picturebox is used like a tiles map. On it, I draw tiles for making maps (yes, it is a map editor)...
But the mere idea of being able to create a picturebox that huge, is terrible fo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/4845861",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: communication of two remote shell scripts through file I really need help to understand the strange behavior of my shell scripts.
In fact, I have two scripts running on different nodes. the first script ssh a remote node and launch the second script. the second script computes a cost and send it to the first script... | {
"language": "en",
"url": "https://stackoverflow.com/questions/14138657",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Require operator double() to be explicitly called via static_cast(x) I'd like to enable conversion of my class to a double value. This can be achieved by overloading operator double() but this then allows for implicit conversion, which ideally I'd like to be able to avoid.
Is there any way to add this functionality ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/47085095",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Using a NSMutableArray to store data Can you store an Array ( that contains another two subarrays one being a string and another another array) into a single MutableArray object?
A: Please read the documentation on NSArray. It can contain any number of arbitrary objects.
That said, without knowing more about what y... | {
"language": "en",
"url": "https://stackoverflow.com/questions/351661",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Writing to Android device with Cordova file system plugin, different AndroidPersistentFileLocation values I'm writing a Javascript function to write to a text file on an Android device using the Cordova file system plugin. If in my config.xml file I use the recommended setting:
<preference name="AndroidPersistentFi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/39935812",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Draggable - Droppable positioning bug? I'm making an activity that requires certain letters to be put in certain places to complete words.
Here's a screenshot:
The Activity I'm Working On
(linking it because it's too big)
The two small wooden boards at the bottom contain the letters that should be dragged to the bla... | {
"language": "en",
"url": "https://stackoverflow.com/questions/23054868",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Duplicate keys OK when nested in JSON Consider a JSON representation for delivering a package from one address to another. Simplified,
{
"parcelId": 123,
"source": {
"street": "123 Main Street",
"city": "Anytown",
"state": "New York"
},
"destination": {
"street": "456 ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/41245381",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Change SVG icon color using inline css I am fairly new to SVG but how can I display a SVG icon and change its color using inline CSS? For example, if I wanted to change the color of example.svg to #FFF000 how would I do that?
I tried searching online but I couldn't find anything.
A: collinksmith did answer your que... | {
"language": "en",
"url": "https://stackoverflow.com/questions/34442914",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Dismissing the keyboard while simulating a wait This function is designed to simulate a wait if the user is successful logging in. As you can see I dismiss the keyboard first but that doesn't stop NSThread from sleeping before the keyboard is dismissed. I think I need to harness the power of the dispatch queue but n... | {
"language": "en",
"url": "https://stackoverflow.com/questions/23320079",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: jQuery loaded data not firing modal like it should Okay, I have a map of the country, the user clicks on their state, and a bunch of suppliers is loaded through jQuery via a page like this:
$('#sa').click(function () {
$('#mapimg').hide();
$('<div id="info"> </div>').load('dealers.php?state=sa', functio... | {
"language": "en",
"url": "https://stackoverflow.com/questions/1237579",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Download a Single file in Remote Zip file I want to download a single file in a remote Zip file that is in the cloud. The zip file is too large for me to download as a whole therefore I have decided to look for a way to download only a single file(XML) that I need within the archive. I have tried and Tested a webcli... | {
"language": "en",
"url": "https://stackoverflow.com/questions/49483459",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: How do I set up a facet search with a many to many relationship using Sunspot? I haven't implemented a search feature before and feel a bit stuck. I have a Sunspot search feature which finds results based on keywords - this works great - but I now want to implement the multi select facet feature, but I can't even se... | {
"language": "en",
"url": "https://stackoverflow.com/questions/2522231",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "10"
} |
Q: Android: 3G to WIFI switch while in the middle on the app = loss of network connectivity I am running into a annoying problem with HTC Legend (Android 2.2). Not seeing this issue on Xperia, Galaxy, Nexus, etc.
When I launch my app on a 3G connection, fetch some data, then go into phone Settings and enable WIFI, the ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/4347507",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: How to increase pointer's pointer value in C++ I've been reading how the pointer works in C++ and I tried to mess with it a little but the program stopped working.
#include <iostream>
using namespace std;
int main ()
{
char a[] = "Hello";
char * b = a;
char ** c = &b;
cout << *(b+1) << endl;
//cout << **... | {
"language": "en",
"url": "https://stackoverflow.com/questions/34515367",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How can I prevent this crash when updating the Touch Bar's escape key? I added Touch Bar support to my app when the latest MacBook Pro launched. Later I made various minor improvements, including custom escape keys where it made sense. After releasing that update, I started getting crash reports when the app tries t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/43503974",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Calculate Date difference between multiple rows SQL I need to calculate the date difference between multiple rows. The scenario is I have a vehicle that can do inspections throughout the month as well as when the vehicle is assigned to a different project. I want to calculate that how many days that a vehicle is ass... | {
"language": "en",
"url": "https://stackoverflow.com/questions/69755023",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Using CSS class causes problems I set up my .nav class for my nav menu but when I use it it seems to cause problems and when I remove .nav and leave just ul li it fixes it but that also has a margin problem.
the problem is on the bottom I commented /Problem/
http://jsbin.com/fupewijame/1/
You must remove .nav
.nav ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/28688618",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Remove item from a list on second select I would like to remove an item from drop down list not on first time, but after selecting a second item, in the bellow example if I select option1 will remove option1, but I need to select option1 (nothing will be removed), while selecting option4 (now option1 will be removed... | {
"language": "en",
"url": "https://stackoverflow.com/questions/33664649",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Select the top 2 applicants based on cognitive score by programming language I have this table:
CREATE TABLE applicants
(
id INT PRIMARY KEY IDENTITY,
[name] varchar(255),
[age] int,
[address] varchar(255),
[programming language] varchar(255),
[cognitive score] int
)
And I would need the top... | {
"language": "en",
"url": "https://stackoverflow.com/questions/74548229",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Padding is invalid and cannot be removed in C# licensing method in my project I'm Doing a licensing method where after the user enters the license key his product will be activated. Im using the following code but I'm getting an exception thrown
saying "Padding is invalid and cannot be removed". The following is my ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/19156127",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Error in R Krig function in package fields I am using package fields to do spatial analysis.
My data set is as follow:
x y
Kopenhagen 12,57 55,68
Rotterdam 4,48 51,92
Belgrade 20,46 44,82
Budapest 19,04 47,5
Dublin -6,27 53,34
Rome 12,48 41,89
Lisbon -9,14 38,71
Buchare... | {
"language": "en",
"url": "https://stackoverflow.com/questions/14141282",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: multiple gradient to sass variable I want to add multi-browser based single gradient value to one sass variable. Help me with syntax. I tried below syntax but not getting result. Compiler aborts.
$bg-gradient : -moz-linear-gradient( 90deg, rgb(32,40,0) 0%, rgb(56,72,0) 49%, rgb(84,111,0) 100%),
-webkit-linear-gradi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/37084747",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to set CLLocationManager's attribute from other class
I am working on a sport project at the moment.
What i want to do is, when users select the AutoPause switch on, the CLLocationManager will pause updating location when speed is below a certain level.
Basically, i have figure out how to implement the location... | {
"language": "en",
"url": "https://stackoverflow.com/questions/40840057",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Create binary tree from tree (n-ary) I want to solve the problem given in the image below.
A: A New Algorithm to Represent a Given k-ary Tree into Its Equivalent Binary Tree.
Refer This Paper
In Simple words:
1. Create L to R sibling pointers at each level
2. Remove all but the leftmost child pointer of each nod... | {
"language": "en",
"url": "https://stackoverflow.com/questions/25962615",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Django redirect to page only if it exists I have a Python Django application I'm working on. There is a submission page that takes some input from the user and I spend time working on it with a thread. This processing can take variable time, as low as one minute to maybe 30 minutes. While the thread is running, I re... | {
"language": "en",
"url": "https://stackoverflow.com/questions/71356462",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to set the browser name parameter in the protractor script I have started using protractor and now able to execute same test script on multiple browsers by doing below changes in protractor.conf.js file.
multiCapabilities: [{
'browserName': 'chrome'
}, {
'browserName': 'firefox'
}],
Now, I would like to paramet... | {
"language": "en",
"url": "https://stackoverflow.com/questions/30044698",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Decodable JSONDecoder handle different coding keys for the same value I'm using Swift decodable protocol to parse my JSON response:
{
"ScanCode":"4122001131",
"Name":"PINK",
"attributes":{
"type":"Product",
"url":""
},
"ScanId":"0000000kfbdMA"
}
I'm running... | {
"language": "en",
"url": "https://stackoverflow.com/questions/51160450",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.