text stringlengths 15 59.8k | meta dict |
|---|---|
Q: Burger Menu Drop Down Navbar background colour First of all, I have not coded properly in around nine years, so I'm trying to re-learn from scratch pretty much.
I'm having an issue with the background colour of a drop down menu from a burger menu. The burger menu appears when you minimise the screen. I want the back... | {
"language": "en",
"url": "https://stackoverflow.com/questions/66508282",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Place a background image in a specific position in ggplot2 and take measurements My question is quite challenging for me so far. Hope with your help we can get what I need.
I want to place an image as background of a ggplot.
Data to reproduce : Two objects are necessary: a data frame and an image.
DATA at the end o... | {
"language": "en",
"url": "https://stackoverflow.com/questions/60817744",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Outlook.com does not allow stylesheet to be loaded externally? It looks like Outlook.com prevents a stylesheet to be loaded from an external url this way:
http://cdn.xxxx.com/email/style.css' rel='stylesheet' type='text/css'>
When I download the email via POP3, everything is just fine. However, when I open the same ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/23407844",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: how to add KASlideShow inside a cell inside the UITableView Before we move into the main purpose of the question, KASlideShow is a library on github. I am using this library for showing a slide show of images. After many searches on to how to implement a custom cell, I found the following: Is it possible to add UI... | {
"language": "en",
"url": "https://stackoverflow.com/questions/36676658",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Docker file to clone the files which are in git I have a server.xml files for 50 applications which are different for all the applications. i need to write a docker file for all the applications to grab that server.xml.
Where is server.xml: Gitserver private repo uses ssh based clone only
I cannot clone complete re... | {
"language": "en",
"url": "https://stackoverflow.com/questions/50419934",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: WCF Error because The maximum message size quota for incoming messages (65536) has been exceeded i make WCF service on server side to return binary (bytes) of file..
i just can return binary of txt file,otherwise it's say "The maximum message size quota for incoming messages (65536) has been exceeded. To increase th... | {
"language": "en",
"url": "https://stackoverflow.com/questions/25272790",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Force bgSave() using Spring Data Redis Is there any way to call bgSave() (force writing to disk) using Spring Data Redis Repositories?
public interface UserRepository extends CrudRepository<User, String> {
}
I've gone through the docs but I couldn't find any reference about bgSave(). The only way I can think of wou... | {
"language": "en",
"url": "https://stackoverflow.com/questions/37676760",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Is it an issue to use "setAdapter()" more than once in recyclerview? Actually I am fetching data from server and showing that on my recyclerview .But it was showing nothing . Even after a lot of question's reference my problem couldn't be solved but then I tried to use setAdapter() method after fetching data and now... | {
"language": "en",
"url": "https://stackoverflow.com/questions/49050568",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Using a .lib built with Visual Studio in Eclipse/CDT/gcc I am having some trouble compiling a programm with gcc on windows which was initially developed with Visual Studio. So far I was able to resolve almost all problems like missing header files and such, but now I am stuck at one last thing: gcc fails to link to ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/2105769",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Filtering long lists take a long time to run I have a Dropdown with about 7000 objects. I have tried using semantic-ui react components but it still takes a long time to search and get results.
My copyList contains all the options and the filteredCopyList is what is rendered in the dropdown onKeyUp. Is it going slo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/55485084",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: send simple email using codeigniter I am trying to send simple email using codeigniter as explain this link codeigniter email class ,but it doesn't work.
This is my form :
<form method="post" action="<?php base_url()?>main/send_email">
<input type="text" placeholder="Name" name="name" class="name">
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/38583050",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Bokeh Categorical Data Heatmap Not Showing I am trying to create a Heatmap from a csv using python pandas. I keep on getting a blank screen for my output, and I not sure why-- I've exhausted the documentation online to try to figure it out. My code is as follows:
import numpy as np
from bokeh.io import output_file... | {
"language": "en",
"url": "https://stackoverflow.com/questions/63274346",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: GET request variable error in PHP I have a simple PHP code, as below.
When I try the URL localhost/df.php?result1=bharat, I get the result Bharat, exactly as I want it. But when I try the URL localhost/df.php?result2=bharat, I get an error, meaning my result2 variable was not read like my result1 variable did.
Could... | {
"language": "en",
"url": "https://stackoverflow.com/questions/32243116",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-3"
} |
Q: AngularJS - Pass dynamic object value and call function from Directive Ctlr.js
app.controller('myCtrl', function($scope) {
$scope.data = {
waterMarkImgPosition: [
{id: 'lowerRight', name: 'Lower Right'},
{id: 'lowerLeft', name: 'Lower Left'},
{id: 'upperRight', name: 'Upper Right'},
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/38200349",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Clustered vs Non-Clustered My lower level knowledge of SQL (Server 2008) is limited, and is now being challanged by our DBAs. Let me explain (I have mentioned obvious statements in the hope that I am right, but if you see something wrong, please tell me) the scenario:
We have a table which holds 'Court Orders' for p... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7605707",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "100"
} |
Q: VB.net if Day(Now) = 1 I want this program to do something on a certain day (birthday)
I have tried
If Date.Day(Now) = 1 And Month(Now) = 3 Then
MsgBox("Happy Birthday!")
End If
But Date.Day(Now) does not appear to be correct (Month(Now) works fine).
The error is:
Operator '=' is not defined for types 'Date' and... | {
"language": "en",
"url": "https://stackoverflow.com/questions/39479246",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: RMQ on static 2D array in constant time The input is an array (n*m 1<n,m< 1000). I have to find the maximum element in every sub-matrice of size( a*b ).
I was trying to do this by iterating x over n-a+1 and y over m-j+1.
*
*2D segment trees or quad trees are not sufficiently fast as the number of queries is large... | {
"language": "en",
"url": "https://stackoverflow.com/questions/37683084",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: media query for tablet don't work i created responsive web design site.
here is some problem.
visit my site(http://red2.net/rwd2/), and reduce browser's width(768px ~ 959px).
but media query for tablet that can't change site's layout.
below is tablet css.
/* 태블릿용 CSS */
@media all and (min-width:768px){
#toggle-me... | {
"language": "en",
"url": "https://stackoverflow.com/questions/24947992",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: java jtree redisplay tooltip for every item after a delay When a tool tip is displayed on a tree and the mouse is moved the tooltip stays visible and the text changes. Is it possible to hide the tool tip and redisplay it when the mouse moves from one item to the next.
A: Extend DefaultTreeCellRenderer and invoke s... | {
"language": "en",
"url": "https://stackoverflow.com/questions/3083482",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: What's a good RTOS to use with the LPC1788 microcontroller? I'm trying to find a free/cheap RTOS that others have found works well with the NXP LPC1788 microcontroller. I was originally planning on using FreeRTOS, but it doesn't seem to support that particular processor; the closest supported core is the LPC1768. Th... | {
"language": "en",
"url": "https://stackoverflow.com/questions/12401426",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Add static middleware to serve static files in express I have the following folder structure:
/app
server.js
/public
1.jpg
I want to be able to access the 1.jpg image from the URI /1.jpg.
In my server.js file, I added the following middleware at the top:
app.use('/', express.static('../public'));
and in th... | {
"language": "en",
"url": "https://stackoverflow.com/questions/62782017",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Getting json data from URL when calling a function I'm working on java for Android to create a function so I can use to call to fetch my mailbox using json.
When I try this:
public void getInbox () {
TextView show_text = findViewById(R.id.txt_show);
SharedPreferences prefs = getSharedPreferences("LOGIN_STATU... | {
"language": "en",
"url": "https://stackoverflow.com/questions/67202670",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Object based functions in JS?
So, I have seen many JS functions that need two parameters, one of which is specified while calling the function i.e. function(param) and the other is specified using objects i.e. var.function(param) with the function needing var and param. So I want to know how I can get var
| {
"language": "en",
"url": "https://stackoverflow.com/questions/62850575",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to add two stacked area plots in a single page in plotly? So I have created a stacked area plot for two cases:
*
*With Storage
*Without Storage
they both look like this:
With Storage
Without Storage
But they both are on separate pages and I want them to combine. The code that I wrote these graphs is:
import ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/66225890",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Using MPI_Gather for 3d array in c++? I am trying to parallelize a for loop operation which is sandwiched between two for loops.
After the data (3d array) is calculated in each processor I want to collect the data from each processor back to the root node for my further processing. I tried using the MPI_Gather funct... | {
"language": "en",
"url": "https://stackoverflow.com/questions/5605714",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Android share button audio from raw I have various audio files in the raw folder in my Android project. My code is not working. When I click the share button application, it crashes.
This is my code:
public void onClick(View v) {
InputStream inputStream;
FileOutputStream fileOutputStream;
try {
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/53305582",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Dynamic C - char pointers, strcpy, strcat Here is my code:
nodebug void sendLogPacketS(char *func, char *msg)
{
char * log;
memset(log, 0, strlen(func) + strlen(msg) + 1);
strcpy(log, func);
strcat(log, ": ");
strcat(log, msg);
sendUDPLogPacket(log, strlen(log));
}
It's supposed to take two ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/24244853",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Windows global variables in ASP.NET Is there any windows global variables that can be used to read/write data?
And Can i access windows global variables from web application ?
A: You mean environment variables? See http://msdn.microsoft.com/en-us/library/system.environment.getenvironmentvariable%28v=vs.110%29.aspx... | {
"language": "en",
"url": "https://stackoverflow.com/questions/21201515",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: add missing rows to a data table I have a data table:
library(data.table)
(f <- data.table(id1=c(1,2,3,1,2,3),
id2=as.factor(c("a","a","b","c","b","d")),
v=1:6,
key=c("id1","id2")))
id1 id2 v
1: 1 a 1
2: 1 c 4
3: 2 a 2
4: 2 b 5
5: 3 b 3
6: 3... | {
"language": "en",
"url": "https://stackoverflow.com/questions/22462405",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "8"
} |
Q: Botpress - how to bring database values into the chat window? I'm trying to build a chatbot using Botpress. I'm a beginner, looking for your help. One of the requirements is to query database to answer questions. This is what I have tried so far:
dbconnect.js
var oracledb = require('oracledb');
var dbConfig = requir... | {
"language": "en",
"url": "https://stackoverflow.com/questions/49912807",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Why are the labels for my opposite yaxis in Highcharts not showing up? I am puzzled why the second yaxis in my Highcharts graph shows, but without any values. Both of my two graphs are still bound to the first yaxis. Can't get one of them attributed to the second yaxis. Here is a fiddle.
Thanks for any hints!
A: Th... | {
"language": "en",
"url": "https://stackoverflow.com/questions/15635015",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: Summarization-Text rank algorithm What are the advantages of using text rank algorithm for summarization over BERT summarization?
Even though both can be used as extractive summarization method, is there any particular advantage for text rank?
A: TextRank implementations tend to be lightweight and can run fast even... | {
"language": "en",
"url": "https://stackoverflow.com/questions/62731497",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: A really very simple expression in Java that is evaluated in a way that it is difficult to follow While developing a web application in JSF, I came across an expression which was evaluated in a way that I couldn't follow. Let's represent the same expression with a simple Java code.
final public class Main
{
publ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/8068328",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Significance/Need of setting the properties to nil in viewDidUnload
*
*What is the significance of setting the properties to nil in viewDidUnload in both the aspects i.e. with ARC or without ARC?
*Does it only matter in case of IBOulets? Don't we need to set the other properties (that are not IBOulets) to nil?
*... | {
"language": "en",
"url": "https://stackoverflow.com/questions/12459305",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Instant Run error in Android Studio 2.3 My Android Studio is 2.3 Version.
When I Enable Instant Run (If I Disable Instant Run, there is no error) and Run app, I get error:
I click "OK":
DELETE_FAILED_INTERNAL_ERROR
Error while Installing APKs
Do you have any idea with this error?
A: It can't seem to uninstall the... | {
"language": "en",
"url": "https://stackoverflow.com/questions/42729544",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Snapshot too old error I am getting 'snapshot too old error' frequently while i am running my workflow when it runs for more than 5 hrs.My source is oracle and target is Teradata. Please help to solve this issue.Thanks in advance
A: The snapshot too old error is more or less directly related to the running time of ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/11972979",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: What is the best way to Converting SOAP-based WCF Service to RESTful Design I am having SOAP services in my existing project code.
Which consume XML and produces XML as my response.
I need convert of enable this SOAP to RESTful webservice by producing "Application/JSON".
*
*So please suggest is there any tool t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/41890180",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Enabling geodatabase in AWS RDS PostgreSQL instance Superuser permission is required to create a geodatabase in PostgreSQL.
However, in AWS RDS instance we are receiving:
rds_superuser permission and rds_superuser is not superuser.
Is there a way to enable geodatabase in AWS RDS PostgreSQL with rds_superuser perm... | {
"language": "en",
"url": "https://stackoverflow.com/questions/32159846",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: How to enable java flight recorder for tomcat installed on my windows machine? I have a web app running inside my tomcat on my windows machine. I am trying to monitor it with Java Mission Control. I am getting an error message to unlock commercial features to access java flight recorder.. Please guide me where and h... | {
"language": "en",
"url": "https://stackoverflow.com/questions/50582705",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Height of BST +1 more than expected I made a function which determines the height of BST, but when the height of the tree is e.g. 2, the result that appears for me is 3, etc. I don't know what I should change in my code. If you need whole code to be able to answer me, tell me, so I'll copy it.
def maxDepth(self, nod... | {
"language": "en",
"url": "https://stackoverflow.com/questions/67545057",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to set up things for MediaWiki for my website I am trying to set up a website with MediaWiki on a Shared Hosting service and am getting frustrating results. First I am going to list what I want out of my website and will show the hosting details to show you what kinds of problems I am running into here:
*
*So... | {
"language": "en",
"url": "https://stackoverflow.com/questions/60878433",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: How to get bounders of some portion of text in FabricJS? I'm curious if there is a way to find X, Y, WIDTH, and HEIGHT of some portion of a text by using a native function or even workaround?
The purpose of that is that I'll need to draw some rectangle on top of it when client types that word in another Input, kind ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/52104829",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Facebook Analytics DAU/MAU different numbers when changing time period We're using FB analytics to check our DAU of paying users only, using a Segment.
When viewing the DAU graph for the period of 1/2017-10/2017, we get a graph of results.
But when extending the period to 1/2016-10/2017, the graph is completely diff... | {
"language": "en",
"url": "https://stackoverflow.com/questions/47199315",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: What does __devexit mean in a function declaration? A driver I looked at has
static void __devexit rtsx_remove(struct pci_dev *pci)
What does __devexit mean in the context of the function definition? Other functions I've seen have, at most, static and a return type.
A: Long-ish story short:
This is a macro that ex... | {
"language": "en",
"url": "https://stackoverflow.com/questions/30948952",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "11"
} |
Q: In React / Redux, how to call the same fetch twice in componentDidMount, setting 2 state variables with results The title is wordy, however a short / simple example will go a long ways in explaining my question. I have the following start to a component:
import React, { Component } from 'react';
import { connect } f... | {
"language": "en",
"url": "https://stackoverflow.com/questions/53035470",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Can a Mac OSX Plugin have its own Entitlements? Or extend the Main App's Entitlements? I need to be able to define new entitlements (e.g. network access, file read) for my Print Dialog Extension (PDE) Plugin in Mac OSX 10.7 and above, where apps are now mostly sandboxed.
Is this possible? If yes, how?
Edit: Looked ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/15876305",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Phpunit, one test - one method? Is it a must that one test must cover one method? For example:
class Testme()
{
public function testMe ($a)
{
if ($a == 1)
{
throw new Exception ('YAY');
}
else
{
return true;
}
}
}
maybe not a "real"... | {
"language": "en",
"url": "https://stackoverflow.com/questions/28661399",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: InvalidArgumentError: You must feed a value for placeholder tensor 'ground_truth' with dtype double I am trying to understand the transfer learning through Tensorflow. But I am getting the stated error.
This is my code
def add_final_training_ops(graph, class_count, final_tensor_name,
grou... | {
"language": "en",
"url": "https://stackoverflow.com/questions/43736666",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How do I reduce the scannable area in my app? I've written an app which is used to scan barcodes in a paper-based product catalogue which can then be ordered.
The app is written with Xamarin and is using ZXing barcode scanner.
Unfortunately the barcodes are a bit small in the catalogue and very close to each other, ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/28447184",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Join operation on attributes from arrow structs Assume I have a json file named 'my_data.json' as below.
{"a": [1, 2], "b": {"c": true, "d": "1991-02-03"}}
{"a": [3, 4, 5], "b": {"c": false, "d": "2019-04-01"}}
If I need to do a join operation based on attribute d, can I do it directly from arrow structs? ( or are ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/60807709",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: PHP DOM Search HTML and specify the location of an IMG within P I'm looking to parse some HTML which is submitted from ckeditor. The HTML which is posted looks like the below:
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">#012<html><body><p>Text Before <im... | {
"language": "en",
"url": "https://stackoverflow.com/questions/9259496",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Unable to get sub element using PHP dom parser Below is my Html
<div class="product4Col">
<div class="fluidprodCol">
<div class="fluid">
<a href="url1">Title 1</a>
</div>
<div class="fluid">
<div>
<a id="">Add To Bag</a>
</div>
</div>
<div cla... | {
"language": "en",
"url": "https://stackoverflow.com/questions/65384206",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Recode and Mutate_all in dplyr I am trying to use recode and mutate_all to recode columns. However, for some reason, I am getting an error. I do believe this post is similar to how to recode (and reverse code) variables in columns with dplyr but the answer in that post has used lapply function.
Here's what I tried a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/38809509",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: Extracting a substring following a specific pattern using regex in python I have a string:
lx-ss {\n id 1;\n type mx2090;\n template 4-32g;\n}\nlaxmx2k02-ie {\n id 2;\n chss mx2010;\n resource-plate 4co;\n}\ncable {\n id 3;\n chassis mx2010;\n plate 2c;\n}\n
I need to extract cable {\n ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/46353521",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Turn the Tooltip Bootstrap functionality off According the documentation is is possible to turn off the functionality just doing $('body').off('.alert.data-api').
In the case of tooltip I tried the following from js console $('body').off('.tooltip.data-api') but it does not disable the tooltip on bottons.
Any hints ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/13414244",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "49"
} |
Q: Grant privileges for an Oracle package? I have a package A, which uses some variables and procedures in another package B in the same schema. Now I want to move package A to a new schema. What privileges should I grant to the new schema for using the package B same way? What is the grant statement for that ?
A: Use... | {
"language": "en",
"url": "https://stackoverflow.com/questions/44115791",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "20"
} |
Q: How is Philips TV Browser getting preview images for pages? I want to provide my own preview image for page in Philips TV (NETTV models) browser.
It is displayed near page address in history.
How can I do it?
(image from avforum, obtained from google search)
Philips TV use Opera 11.6 as browser.
userAgent string is... | {
"language": "en",
"url": "https://stackoverflow.com/questions/32972653",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: laravel attach() function looks for the table in the default database I have multiple databases in my laravel project with the default one named as auth. Most of the tables in my application are in the database inventory. Two tables in this database are documents and items having a many to many relationship. I use t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/60024706",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to run a script using Django? So I've conntected GMail API to my Django project. When I run quickstart.py alone in PyCharm it runs and works perfectly (that's the script that opens a new tab with GMail log in).
Great but now I have to give a user an opportunity to do the same. So I decided that I'll create a bu... | {
"language": "en",
"url": "https://stackoverflow.com/questions/50140450",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Unix batch rename folders (underscores to spaces) I have a collection of folders, and I would like to replace all underscores in the folder names with spaces.
Any ideas?
Thanks
A: (bash) This will find all folders in or beneath current directory with an underscore in the name and rename them as you mention:
for d i... | {
"language": "en",
"url": "https://stackoverflow.com/questions/6811099",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How can I use eager loading with scope in complicated nested association? I have 4 models such as below
*
*User (has 1 profile, many communities, and many codes)
*Profile (belongs to user)
*Community (has many codes, belongs to user)
*Code (belongs to both community and user)
Now I'm trying to show 10 recor... | {
"language": "en",
"url": "https://stackoverflow.com/questions/18509004",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Select2 edit value of selected option I want to edit option text and value selecting.
<select id="sel">
<option value="Option one">Option one</option>
<option value="Option two">Option two</option>
<option value="Option three">Option three</option>
<option value="Option four">Option four</option>
</select>
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/38008653",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: How to save google WEBP image format into database using C#? I am optimizing a MVC application and obviously for optimization the very first thing is optimize images/pictures. I create webp images with google's webp plugin for photoshop. I am just wondering that is there any possibility to save webp images in a SQL ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/45823826",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Pointer arithmetic and dereferencing In the following code, can anyone please explain to my what the line in bold is doing.
struct southParkRec {
int stan[4];
int *kyle[4];
int **kenny;
string cartman;
};
int main()
{
southParkRec cartoon;
cartoon.stan[1] = 4;
cartoon.kyle[0] = cartoon.... | {
"language": "en",
"url": "https://stackoverflow.com/questions/3105062",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Error in web browser control navigating In my web browser app for wp7, i have two xaml pages. One is mainpage.xaml and other is web.xaml.
I have a youtube button in mainpage.xaml, if i click on it, it navigates to youtube.com in web.xaml. But if i press the device back button(to navigate to mainpage) after the yout... | {
"language": "en",
"url": "https://stackoverflow.com/questions/10932410",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Google Optimize redirect test reloads page We have a Google Optimize redirect test running. We noticed that the page is being loaded twice (that is, reloaded by the Google Optimize javascript right after it first loaded) even when there's no redirect taking place and the URL is the same.
Is there any way to turn thi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/65953630",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Python IF/ELIF/ELSE statements producing error I have been working on a project, and to test If/Elif/Else projects, I wrote a little bit of code to get an idea how it worked. I wrote:
opclo = input('>');
if(opclo == 'CLOSED'):
print "Good night.";
elif(opclo == 'WACKED'):
print "wacked";
else:
print "Goo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/39438642",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Loop through hash in Ruby My search returns this hash bellow
{"product"=>[{:title=>"It's All About Shoes Barbie Shoe Tree 2010 Hallmark Ornament"}, {:title=>"Iron Lady Bug Key Holder - Hide-A-Key"}]}
here is the loop and the code that generates the hash
id = "B003TM2IDS,B004X75EX4"
ids = id.split(',')
response ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/22275105",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Python code to print a dictionary in Jinja2 templating I'm trying to print a dictionary that looks like for e.g.
groups = {'place': ABC, 'name': XYZ , 'IP': ['1.1.1.1','2.2.2.2']}
in a table in Jinja2 templating format:
I've a word document that looks like this for now:
I know this isn't how it is supposed to look ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75483345",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: FormatException with String.Format and DateTime from DataReader I've written code which uses a stored procedure, that works. But i get a System.FormatException here:
while (rdr.Read())
{
PrichinatextBox.Text = (string)rdr["Prichina"];
dateEdit.Text = (string.Format("{yyyy-MM-dd}", rdr["data... | {
"language": "en",
"url": "https://stackoverflow.com/questions/36716905",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-6"
} |
Q: Using Or condition in Do While loop VB I've got a Do While....Or.... loop that is as follows;
Do While headingStart <> -1 OrElse count <= 3
...[Statement]...
count = count + 1
Loop
However my count is going above 3 and the operation still occurs. The operation only ends when the headingStart condition is satisfied... | {
"language": "en",
"url": "https://stackoverflow.com/questions/48519584",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Solr Index Strategy for Q&A Websites I m pretty new with Solr and I would like to use it for the search on a Q&A website (Quora like) I m building.
Here is how Questions and Anwsers are :
Question
- Title
- Description
- Tags (social tags)
- Score (score comes from user up/down vote the question)
Answers
- Des... | {
"language": "en",
"url": "https://stackoverflow.com/questions/10319145",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How screenlocker applications open their activity instantly? I'm writing an application which should display its main activity (there is only 1 activity) instantly when everytime user turn on the screen. you can think it's like some kind of a screenlocker app. I can display the activity while the phone turns on howe... | {
"language": "en",
"url": "https://stackoverflow.com/questions/25740587",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Able to upload file but non retrieve/diplay them - Page not found I am creating a website in Django and Postgres where a user can answer multiple questions and upload some PDFs.
I am able to upload the PDF but not to display it. I want the user to be able to click on a link, and a new webpage opens containing the PD... | {
"language": "en",
"url": "https://stackoverflow.com/questions/57608134",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Browser waiting on localhost on POST request I'm building a website, and i have a registration form where i need to submit a form via POST, and register a user in a mongoDB databse. The website works fine so far, but when i submit the registration form the browser just "waits for localhost" forever. I use EJS as my ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/45925314",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Permission denied (publickey). Bitbucket git pull doesn't work I have been trying to debug this problem I am facing since 2 days now. I noticed this problem when I was trying to pull something from bitbucket. It says
[email protected]: Permission denied (publickey).
fatal: Could not read from remote repository... | {
"language": "en",
"url": "https://stackoverflow.com/questions/74371848",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: (PHP) How to obtain the filename (or file path) when a script is executed as a cron job? I have a PHP script that executes perfectly when called via the browser. It fails, however, when called as a cron job. The failure is because the script needs to access its own filename, which I do via $thefilepath = $_SERVER['R... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7339705",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Calculate the coord of the center of a circle knowing 2 points
Hello, then I need to calculate the center of a circle O knowing 2 points A and B.
I made a drawing because I am not able to explain in english.
Thanks
A: It is impossible, You need at least 3 points to unambiguously define a circle.
A: Since you have... | {
"language": "en",
"url": "https://stackoverflow.com/questions/9132941",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Splitting two lists and assigning data from one list to values in the other and thank you in advance for the help. My problem concerns methods in Python and is as follows.
I have two lists. One list, x, is made up of rows that contain 2 values, x1 and x2, each. The second list, data is made up of rows that contain 3... | {
"language": "en",
"url": "https://stackoverflow.com/questions/31253914",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Showing percentage without decimal using billboardjs on pie chart I am using billboardjs to draw a pie chart .
When pie chart displayed it's shows percentage as 60.0% and 40.0% like that.
I want to display it as 60% and 40% . I don't want to display decimal part .
Any help .
A: You can use toFixed(x) function that... | {
"language": "en",
"url": "https://stackoverflow.com/questions/56438010",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: System.Data.DataViewRow showing instead of value Whenever I try to run my program, after selecting dropdownList1 data, the dropdownlist2 populates with System.Data.DataViewRow text rather than populating the values.
I've tried 6 Hrs searching this but didn't find answer.
protected void DropDownList1_SelectedIndexCh... | {
"language": "en",
"url": "https://stackoverflow.com/questions/36233880",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: ActiveRecords returning model object from a join table I have the following DB for a simple flash cards example i'm building:
create_table "card_associations", :force => true do |t|
t.integer "card_id"
t.integer "deck_id"
end
create_table "cards", :force => true do |t|
t.string "question"
t.string "an... | {
"language": "en",
"url": "https://stackoverflow.com/questions/13481121",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: CS50 pset4 blur function - trouble figuring out why the tests fails on 3x3 and 4x4 images I've been working on the code for CS50 pset4 blur function.
the function is suppose to calculate the average RGB values of all neighboring pixels, and then apply it to the "middle" pixel (as the pixel can be located on the corn... | {
"language": "en",
"url": "https://stackoverflow.com/questions/61342447",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Java Streams Map, Get Value - List from Key (With filtering) Assuming I'm writing a method that takes in Map<String, List<Integer>> as shown below, and a String name to filter. My return type is Stream<Integer> how do I convert from a Stream<List<Integer>> to Stream<Integer>?
Map<String, List<Integer>> person = Map.... | {
"language": "en",
"url": "https://stackoverflow.com/questions/74285954",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: C++ Binary Read Write Files ok so im on the 2nd Semester on my unversity have done c and doing c++ now
doing the project in DevC.
Currently im making a program that will do the charging processes of a shop while having and editing the database.
Tried writing and reading a full struct but dosent work so i went down w... | {
"language": "en",
"url": "https://stackoverflow.com/questions/55906812",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Data Annotation MVC How can I add a required field ONLY if I have a value in my username model.
I have:
@Html.PasswordFor(
model => model.Password,
new { required = "This field is required" }
)
I want :
@Html.PasswordFor(
model => model.Password,
new { if (Model.UserName != null) {required = "Thi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/24159551",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Call function only once after page load completely I want to call function one second after the page is completely loaded
$(window).bind("load", function() {
window.setInterval(function(){ your_func(); }, 1000);
});
It calls every second. I want it to be executed only once
A: You can use $(document).ready();
$(d... | {
"language": "en",
"url": "https://stackoverflow.com/questions/50273311",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: how can i add a slection model checkbox in angular-table Angular Table creation code with input type checkbox.
angular.module("tableApp",[]).controller('tableAppCtrl', ['$scope',
function($scope) {
$scope.titleString="Table Demo";
$scope.prodDataTable = [{
"productType": "A",
"productNam... | {
"language": "en",
"url": "https://stackoverflow.com/questions/34102022",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Render image in mtlView with Metal Api help me figure out the metal api, I want to render the normal picture via mtlView, but it does not work for me, here's my code, what am I doing wrong? Next, I would like to use the UISlider and CIColorControls to change the contrast of this picture in 60fps, please explain.
imp... | {
"language": "en",
"url": "https://stackoverflow.com/questions/51686203",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Performing calculations on a set of values in a pandas data frame with respect to a certain attribute I have to find the year with the best average user rating. My approach is to find all the unique values in the Year column and then find the mean of all the values in the User Rating columns that correspond to those... | {
"language": "en",
"url": "https://stackoverflow.com/questions/69799520",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Array property in JSON object updated via foreach - updates all keys I'm kind of pulling my hair out on this one. I am trying to build an array of JSON objects via a foreach loop. It works great - except for one property. The property that I am having difficulty with - is an array that is updated during each loop. D... | {
"language": "en",
"url": "https://stackoverflow.com/questions/28575838",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Change default page in ASP.NET Core Razor Page from Index to Home I am changing Default Page
services.AddRazorPages(options =>
{
//...
}).AddRazorPagesOptions(options =>
{
options.Conventions.AddPageRoute("/Home", "");
});
but an exception occured
AmbiguousMatchException: The request matched multiple endpoi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/68096730",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: ORACLE Add new record if any field changes I'm trying to write an Oracle procedure. I have a table and currently I'm using a merge statement. When a record is changed, it updates it, if it is new, it adds it.
However, we want to keep track of changed records. So I'm adding three fields: startdate, enddate, curren... | {
"language": "en",
"url": "https://stackoverflow.com/questions/52746313",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Plotting spheres around given coordinates in 3D in Matlab I am working on model of an object sliding on some rough surface consisting of spheres with a small random variance in position. In the graphics I want the spheres to be of a given radius, however when using scatter3 this wont work, the sizes of the circles c... | {
"language": "en",
"url": "https://stackoverflow.com/questions/48225185",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: WordPress submenu hover with gradient image background over the parent LI and children LI's (submenu UL) I have the next situation/menu: http://inturnets.com/test/
It is a WordPress generated menu structure.
Please hover your mouse over "Menu #1". When mouse is hovered, i need the Menu #1, Menu #1 - 1 and Menu #1 - ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/5880176",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Firebird Trace SP's / Steps I need a simple and free program to monitor all transactions on a Firebird Server.
I'm creating a web API that needs to mimic a user creating a new order in a custom made program.
Since I haven't got access to the source code I guess my best chance to properly insert all the data is to us... | {
"language": "en",
"url": "https://stackoverflow.com/questions/59621957",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: How do if statements work? I am making a text based russian roulette game in Python, but I am not nearly finished, as one can see just by looking at my code:
#!/usr/bin/env python
print("The maximum number of bullets is 3")
bulletcounter = input("How many bullets do you want your gun to have?")
print(bulletcounter, ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/9576696",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: SQL Server : Copy row and replace first column first char and multipley other column from another table I would like to copy a row in a same table and change the copied row's first cell number (like 1 to 9) and multiply values of other cells with a value from another table.
Table1:
uniqueID ID2 ID3 Number Number
---... | {
"language": "en",
"url": "https://stackoverflow.com/questions/42136065",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to select specific radio button in a group of similar radio buttons in Selenium Web Driver? I am trying to automate a booking process from an airline site.
In the second page of the booking process ('Select Flights'), there are multiple radio buttons which are very similar with other radio buttons available in t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/41800815",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to get extract image url of the url http://graph.facebook.com/{ANYUSERID}/picture? I want to save the the real image url with .jpg ,to do that i want to get the real image url but i have a url like this - http://graph.facebook.com/543525921/picture
the real image url of this url is
https://fbcdn-profile-a.akam... | {
"language": "en",
"url": "https://stackoverflow.com/questions/8516312",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.