text stringlengths 15 59.8k | meta dict |
|---|---|
Q: Facebook public profile without graph api I am making a testimonial for a website and i want a user to login through facbook so that i can save his profile picture and name etc in my database
Is there any code of facebook that we can get picture and public information of the user without graph api and facebook app?... | {
"language": "en",
"url": "https://stackoverflow.com/questions/52056237",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: How to get JSON data from php webservice : "no value for data" error I am new to the Android Platform and I want to fetch value's from a PHP Web Service through JSON Parser. But I am not getting the data, rather the error: No value for data25 ,data26 and data27.
I appreciate any help sorting out this problem.
try{
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/12542387",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to decompress tar.gz file with low memory usage [php 7]? I have a 4 gb tar.gz file i'd like to decompress into a tar file. I've been using
$p = new PharData('/path/to/file/name');
$p->decompress();
to try and do so. However I get an error 'PHP Fatal error: Allowed memory size of 8589934592 bytes exhausted (tri... | {
"language": "en",
"url": "https://stackoverflow.com/questions/63289723",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Import different openapi.json file to spring boot app I have custom openapi.json file and empty spring boot app. When I start the app I want it to import that file and show it in swagger-ui URL.
I couldn't find how to do it. All answers were how to generate openapi.json file from code. But my task is opposite.
| {
"language": "en",
"url": "https://stackoverflow.com/questions/71464170",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: EXTJS 4.1.1. iframes reloads when switching tabs in TabPanel on Firefox: I've got a problem with PDF's in the TabPanel (only on Firefox). They are reloading everytime I switch tabs. The PDF is in a iframe.
Because of it the user can not compare two PDF files. When you click a tab with a PDF it loads 10 seconds, then... | {
"language": "en",
"url": "https://stackoverflow.com/questions/25781045",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Javascript regex to strip selective html tags I am trying to strip all (except some) html tags from a string using regex. What I am trying currently trying is as follows:
var a = "<pre><code><p>This is a <span>test</span></p></code></pre>";
var b = a.replace(/(\<|\<\/)[^\>,p,li,br,b]*\>/ig,"");
but b's value is ret... | {
"language": "en",
"url": "https://stackoverflow.com/questions/20401897",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Difficulty deploying lumen app I'm trying to deploy a small application to my remote server, however, I seem to be having difficulty with some of the routes. Bare in mind that everything works on my local machine.
Here is what I've done:
*
*Uploaded the entire project to /home/user/app
*Moved contents of /home/... | {
"language": "en",
"url": "https://stackoverflow.com/questions/39418056",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How does the onDraw(Canvas) function of the View class work? I need to implement an interactive graph in Android
For a start I am trying to see how this code works
There, in a class called LineChartView Which extends the user generated class ChartView which extends the View class, there is an @overrideed function ca... | {
"language": "en",
"url": "https://stackoverflow.com/questions/18776692",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Javascript uncaugh error in promise even with a catch With Javascript, I am trying to make a call to an external API when a form is submited.
I am using promises in order to set follow up actions once the call is done and to catch eventual errors.
This is where my problem is, even if I think I am catching my errors ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75297892",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: $.ajax not loading data data everytime from server I have written a simple jQuery.ajax function which loads a user control from the server on click of a button. The first time I click the button, it goes to the server and gets me the user control. But each subsequent click of the same button does not goes to the ser... | {
"language": "en",
"url": "https://stackoverflow.com/questions/2571365",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Mikrotik Router Management via Web App I need help in building a project. Let me first describe my project -
I want to build a Web application (using php / php framework(laravel) , html, css, javaScript, bootstrarp ) that will help ISP owner to manage their router (most of them use Mikrotik router).
Reason to build... | {
"language": "en",
"url": "https://stackoverflow.com/questions/34411457",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: system.diagnostics.contracts.contract exists in both v4.0 v3.5 I just upgraded to visual studio 2010 and installed the code contracts msi. When I try to use it I get a compiler error that the system.diagnostics.contracts.contract dll exists in both the v3.5 and v4 framework. Anyone know what I should do to resolve... | {
"language": "en",
"url": "https://stackoverflow.com/questions/3498461",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: can't list files in a directory I'm using CF 7 and this code is not returning any files:
<cfset fileLocation = "\\server\uploader\pass-fail">
<cfdirectory
action = "list"
directory = fileLocation
name = "pass_fail_files"
>
<cfdump var="#pass_fail_files#" expand="yes" label="files in pass-fail" >
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/2455345",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Redirect POST-request in apache I'm trying to do a transparent redirect of a post-request in my apache server.
The request looks like this:
POST www.domain.com//maincontroller.php/api
I want to redirect this to:
POST www.domain.com/maincontroller.php/api
I don't want a 301 redirect but instead a silent redirect (e... | {
"language": "en",
"url": "https://stackoverflow.com/questions/30839937",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Django Session Form (save form temporarily) I have created a page for review form. All users can fill out the form, but only logged in users can submit the form. If users is not logged in, they will be redirected to the login page. After they login, they will be redirected to the profile page.
So the flow will be li... | {
"language": "en",
"url": "https://stackoverflow.com/questions/69893123",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Chef - Returning a variable from powershell script I would like to know if there is a way to return a variable value from a powershell script defined in powershell_script resource?
My powershell resource looks like following:
powershell_script "Test Script" do
code <<-EOH
Write-Host "Hello World!"
return "t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/20805780",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: add record via has_many with default scope Records are added with default scope, but not with required.
class PostsTag
# published is false by default
end
class Post
has_many :posts_tags
{published: true, private: false}.each do |key, val|
has_many "#{key}_tags",
through: "posts_tags",
co... | {
"language": "en",
"url": "https://stackoverflow.com/questions/12226988",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Find out max divisor of a positive integer I need to find the biggest divisor of a positive integer and output it. Divisor should not be 1 or be equal to the integer itself. If it's a prime number the output should be "0". I have this code so far. However it doesn't work. It only works when I use "break" instead of ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/25097162",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: extract individual words from string c++ I am trying to make a C++ program that receives user input, and extracts the individual words in the string, e.g. "Hello to Bob" would get "Hello", "to", "Bob". Eventually, I will be pushing these into a string vector. This is the format I tried to use when designing the code... | {
"language": "en",
"url": "https://stackoverflow.com/questions/39050225",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: Designing a database connection class in VS 2005 I am working on designing a SQL Server database connection class in VB.net 2005. The idea behind doing this will be so a developer can can call the class, pass it a stored procedure name along with the parameters, and get return values back (if any).
My question is, h... | {
"language": "en",
"url": "https://stackoverflow.com/questions/4033131",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: clicking href on capybara I'm trying to tell Capybara/Cucumber to click on href but failed trying different options. Here's the code:
<div>
<h6 class="animation-visible tile-animation link-group color-white border-round bg-primary animated" data-animation-delay="1000" data-animation="cta-1">
<label>Opti... | {
"language": "en",
"url": "https://stackoverflow.com/questions/33728538",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: PHP while() wrapping items I have this html code:
<div class="row elem2">
<div class="item"></div>
<div class="item"></div>
</div>
<div class="row elem4">
<div class="item"></div>
<div class="item"></div>
<div class="item"></div>
<div class="item"></div>
</div>
<div class="row elem3">
<div class="item"... | {
"language": "en",
"url": "https://stackoverflow.com/questions/20666903",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to display all projects in the Project View in PHPStorm? In eclipse / Zend Studio the project manager displays per default all projects of the workspace (or of one of its Working Sets, if selected):
Now I'm looking for the according configuration in PHPStorm, that shows only one project per window:
How can I s... | {
"language": "en",
"url": "https://stackoverflow.com/questions/26704215",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How can I prevent RMySQL errors and show to user in Shiny? I have a Shiny App that executes a query to a MySQL database like this example:
UI
textAreaInput("query")
SERVER
data <- reactive({
df<-dbGetQuery(conection, input$query)
return(df)
})
The problem is that when the user types a wrong syntax in the textA... | {
"language": "en",
"url": "https://stackoverflow.com/questions/54243937",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How do I update my HTML Selects with ajax based on other Selects? I've got this search page with 7 different Selects and 2 textfields.
The data wich is stored in the selects is fetched from a MYSQL database.
Now when I make a choice, I want the other selects to update based on the choise I made.
This needs to be acc... | {
"language": "en",
"url": "https://stackoverflow.com/questions/16415141",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: EF Code first - many to many relation mapping table with extra columns I am having a User Model and and a Group Model. User and Group share a many to many relationship. In when I translate this to table, I want to have a mapping table. I am using the following to achieve this.
modelBuilder.Entity<UserGroup>()
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/30899930",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Does delete[] need to be called on the original pointer position According to answers in this question : "How does delete[] "know" the size of the operand array?"
your allocator will keep track of how much memory you have allocated
and
How free knows how much memory to deallocate"
Yes, the memory block size is ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/48322684",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Android calendarview font size I am using Xamarin for building android application this is my first app. I have a CalendarView I need to change the font size and style of the day.
I tried the below code the font color changed but the size is too small. The minimum API level is 11 and target API level is 16. I am usi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/16412549",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: How to know most used procedure in my database? I completed my project, there are many procedures used and now I got the job to find the mostly used procedure and there average execution time.
In this way I know what are the procedures I need to tune first?
It there any way to get procedure execution history for a p... | {
"language": "en",
"url": "https://stackoverflow.com/questions/15733170",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Email sending from ASP.net fails on IIS server I have implemented email service in my ASP.net application, and am using SmtpClient class to send email. The mail sending works perfectly fine from my local code, however it throws exception when published on the server.
The code is pretty basic, as below:
var message =... | {
"language": "en",
"url": "https://stackoverflow.com/questions/51247107",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Using struct in a switch statement I'm trying to create a struct that can be used in a switch statement. I'm using a bunch of wierd compilers like keil armcc and old-fashioned gcc 4.7.1.
That also means c++11 is not an option.
For some time this idea actually worked:
struct Test
{
const int a;
Test() : a(1)... | {
"language": "en",
"url": "https://stackoverflow.com/questions/34152354",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to fail a cucumber scenario In my scenario, i need to validate if there exists 10 objects in a page.
If any of the object doesn't exists, then the step should be failed and eventually the scenario should also be reported as failed, but the script execution should continue to validate the remaining object exists.... | {
"language": "en",
"url": "https://stackoverflow.com/questions/40676750",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: WordPress add_action style arguments works but changes admin panel I've made a code so you can easily add a style sheet to the site, this is for our framework.
It works but if I use this the CSS changes the dashboard layout either? Same with customizer, if I don't use this method, but just a normal wp enqueue it wor... | {
"language": "en",
"url": "https://stackoverflow.com/questions/49740782",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: E/AndroidRuntime: FATAL EXCEPTION: main PID: 5112 Hy
I am new to Android / Java is I am facing a BMO problem
I code it but it does not work
an idea ??
thank you
<string name="onCreate_Go">onCreate Go</string>
<TextView
android:id="@+id/scrollTxt"
android:layout_width="wrap_conten... | {
"language": "en",
"url": "https://stackoverflow.com/questions/48832092",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-3"
} |
Q: How can I upload a file to a GitHub Codespaces environment? I use GitHub Codespaces, but I don't know how to upload a single file to GitHub Codespaces without the assistance of, for example, github.
A: Simple Drag and Drop has worked for me.
To update the answer, there is now also an update option if you right clic... | {
"language": "en",
"url": "https://stackoverflow.com/questions/62284623",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "10"
} |
Q: How not to remove first number in the sentence and remove later occurances of numbers in Python? I have a sentence that consists of numbers and words. I am looking for a solution to remove numbers except at the beginning. I have tried the following code, but it's removing all the numbers.
x = '45 is fourth five 45 ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/61085443",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Eclipse Marketplace hangs (Luna, Java8) My newly installed Eclipse Luna hangs when I launch Marketplace. I tried to move my workspace out of the way, clean everything, re-install and start fresh.
It would still hang and has to be killed -9. I saved the stack trace (as well as versions of the OS, Java, and Eclipse) ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/26069849",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Resampling of MultiIndex I would like a daily breakdown of a dataset by type. There are not records for every day for every type, where they don't exist I would like NaN.
I'm able to get a 'resampled to daily' result, but the type is ommitted.
The code below should be a fully working example (well, working apart fr... | {
"language": "en",
"url": "https://stackoverflow.com/questions/65791213",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Bootstrap carousel image height change according to sm md sx lg The issue is quality of image at smaller screens i.e 320px 375px 425px gets blur as i mention height in the class.. I am mentioning the height as i want the image to fit screen initially without user needing to scroll down to look for further informati... | {
"language": "en",
"url": "https://stackoverflow.com/questions/41257134",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: handling page orientation change in Xamarin When using Xamarin, what is the best or most accepted method of handling changes in orientation?
I have a carousel page which rotates through 5 content pages (the same page, just different text/images), in the content pages I have a 6 row grid, each row containing either a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/44777237",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Function to show result in multiple divs I need to make this script to print the result (true, or false) for the transparency of the image in the divs according to the area if its transparent or not.
Here is the example where I can see the result if its transparent but only on mouse move and for pixel by pixel acco... | {
"language": "en",
"url": "https://stackoverflow.com/questions/29199237",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Object.entries and addEventListener I have this object and I want to display the key in the options that gets created and the value in the .info <p> tag. I then want to change the info text, when I change the city by using an addEventListener.
My question is, is it possible to use the info in for(const [city, info]... | {
"language": "en",
"url": "https://stackoverflow.com/questions/58375202",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to integrate git hooks with eclipse I am trying to setup pre-commit hook which we have customized to our requirement .
It is working fine in git bash but it is unable to pick up the hook from eclipse .
How can I integrate or configure so the pre-commit hook gets invoked.
| {
"language": "en",
"url": "https://stackoverflow.com/questions/36308136",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Is there a way to include both WICTextureLoader and DDSTextureLoader without 'redefinition' errors? I'm trying to load a DDS texture. For that, I'm using DDSTextureLoader11 provided by DirectXTex. I already am using another texture loader from the same library - WICTextureLoader11.
The problem is, I don't get errors... | {
"language": "en",
"url": "https://stackoverflow.com/questions/65409371",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: WSO2IS - Disable Embedded LDAP - deployment.toml How can I disable Embedded Ldap on Identity Server 5.10.0 version? I'm checking conf/identity/embedded-ldap.xml and enable property is true.
<EmbeddedLDAP>
<Property name="enable">true</Property>
<Property name="port">${Ports.EmbeddedLDAP.LDAPServerPort}</Pr... | {
"language": "en",
"url": "https://stackoverflow.com/questions/66445389",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Why my picture resolution are very bad with UIImage in swift I use the following function to make picture photoOutput?.capturePhoto(with: AVCapturePhotoSettings(), delegate: self).
When I save the picture his weight is only about 200Ko however the size with the AVCaptureSession.presset is .hight so it's make 1920x10... | {
"language": "en",
"url": "https://stackoverflow.com/questions/54555285",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Am I correct in my understanding of selectors?
.top-menu {
margin: 50px auto;
padding: 0;
list-style: none;
width: 610px;
height: 35px;
box-shadow: 0 3px 4px #8b8b8b;
background-color: #dadada;
}
.top-menu li {
float: left;
border-right: 1px solid #929292;
}
.top-menu li a:link {
color: black... | {
"language": "en",
"url": "https://stackoverflow.com/questions/70888604",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to rearrange data frame so that values in one column are row names? I have a data frame containing 450K methylation beta-values for approx. 450 probes for two samples. This data is displayed in three columns, and looks like this:
>head(ICGC)
submitted_sample_id probe_id methylation_value
1 X932-01-4D ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/45757978",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Is it possible to subclass the immutable date class and override the __str__ method? I am trying to subclass the immutable date class in Python, but I also need to override the __str__ method. So far, I have the following:
from datetime import date
class Year(date):
def __new__(cls, year):
return super(... | {
"language": "en",
"url": "https://stackoverflow.com/questions/6195232",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: OpenAPI definition not generating Scala properties I'm using the springdoc-openapi-ui plugin with spring-boot to generate an OpenAPI definition. It doens't seem to detect properties from Scala based objects. Java defined objects are working fine. Is there a way to fix this?
<dependency>
<groupId>org.springdoc</g... | {
"language": "en",
"url": "https://stackoverflow.com/questions/72703028",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Change AppBar back icon size in Flutter Here's the current AppBar code:
AppBar(
iconTheme: IconThemeData(
color: Colors.black,
size: 100 // This isn't performing any changes
),
centerTitle: false,
backgroundColor: Colors.white,
title: Text(
title,
style: TextStyle(color: Colors.black87,
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/59487873",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: How to fetch both IPv4 and IPv6 on dual stack OS I have dual stack machine .
My problem is i am getting only IPv4 using
InetAddress address = InetAddress.getLocalHost();
and If i use Network Interface API then i get all the IP address in which includes my MAC addrres as well in the form of IP address.
why-do-i-get... | {
"language": "en",
"url": "https://stackoverflow.com/questions/30798888",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Why swift compiler doesn't find Alamofire? I try to install Alamofire. I really haven't possibility to use cocoaPods, so I try to install it manually.
The steps I took:
*
*I download Alamofire from GitHub.
*In folder drag Alamofire.xcodeproj and drop into my projects
*In my projects in "generals" in "Embedded B... | {
"language": "en",
"url": "https://stackoverflow.com/questions/55831700",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: On orientation change button touchlistener not working I have two layouts table.xml(port) and table.xml(land) which from there names one of the landscape and other for the protrait.
I have included this layout in another layout called fragment_test.xml like this:
<?xml version="1.0" encoding="utf-8"?>
<Rela... | {
"language": "en",
"url": "https://stackoverflow.com/questions/38504941",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: HTML Code to display UIAlertView on iOS I've gone to different websites on my iPhone that will pop up a UIAlertView when it loads. How is this accomplished? I want to put some code on my page to pop up a UIAlertView when viewed on an iPhone.
A: You can make use of bridecall from the js to native code to trigger t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/21695051",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: SQL Server compare two tables rows with identical columns and return changed columns I want to compare two tables with the same columns:
*
*product - Id, Name, Description
*Temp_Product - Id, Name, Description
Now update done by user will be saved into Temp_Product. When admin will see the details of that produ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/13428993",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Applescript Copy All File from USB to Folder Could you help me to make this script working ?
property ignoredVolumes : {"DD APPLE", "MobileBackups"}
tell application "System Events"
set Destination_Folder to folder "/Users/Joseph/Downloads/Test" of startup disk
set rootVolume to disk item (POSIX file "/Volumes" as... | {
"language": "en",
"url": "https://stackoverflow.com/questions/28172682",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Discordbot javascript react to mentions I'm completely new to Javascript and i would like to make a discord bot.
I have a bot already running with a few commands, now i would like to add something that posts a reaction whenever someone specific is tagged.
client.on('message', message => {
var user = "12345647987... | {
"language": "en",
"url": "https://stackoverflow.com/questions/60774146",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to get index position in textBox using javascript How do i get the index position when user click in textBox using JavaScript?
for example in my textBox have this string :
`this is best| of the world`.
it should be return 13.
| {
"language": "en",
"url": "https://stackoverflow.com/questions/13723624",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Link Resources in c# Project I have 2 files, 1 is form1.cs and the second is form1.resx. they should be linked but are not. how can I link the 2? if i just make sure the namespaces are the same will they automatically link to each other? do i need to clean the project?
A: Install VSCommand 2010.
Select two files t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/3943889",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Personal Autoformat (Visual Studio C# / git) I have 2 different settings in visual studio, my personal and our company guidelines and a git repository where code should be commited with our company guidelines. Is it possible to automatically autoformat the code on opening the file with my personal settings? Then, wh... | {
"language": "en",
"url": "https://stackoverflow.com/questions/73360698",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Cannot find element in Vue Js Applications I created vue js applications with visual studio 2017 . but the problem is when i run the applications , i got following errors in google chrome console windows .
[Vue warn]: Cannot find element: #intro
[Vue warn]: You are using the runtime-only build of Vue where the templ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/56910780",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: UWP: BackgroundTask open App Mainpage Is it possible to open my app by my own backgroundtask?
when i have a backgroudtask in windows universal platform, can i start or open my app.mainpage from there?
my backgroundtask checks periodicaly the clipboard and if it gets an hit, then it should open my app.
does this wor... | {
"language": "en",
"url": "https://stackoverflow.com/questions/35794065",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: laravel 5 .. ubuntu .. command line I am working using laravel5 php framework on ubuntu and I have 2 problems
1- when I try to use the composer to require anything .. it doesnt work
2- when i tried to make some changes to illuminate/Html .. it doesn't work too
so after that when i tried to use the artisan to serve m... | {
"language": "en",
"url": "https://stackoverflow.com/questions/30425876",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: error when try to install flask in the virtual enviroment I just configure the environment to develop the flask based web app. All the things goes smoothly, but when I run my hello world app, the python interpret tell me no module named flask:
Traceback (most recent call last):
File "hello.py", line 1, in <module>... | {
"language": "en",
"url": "https://stackoverflow.com/questions/26679030",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to use the default value attribute of a select tag Now im working on a small task with a select tag like this
<select
name="selectmedgroup"
id="selectmedgroup"
value={selectedGroupValue}
onChange={filterOnSelectChange}
>
<option value="... | {
"language": "en",
"url": "https://stackoverflow.com/questions/72097974",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: two digit year as primary key in sql server I have a table with these columns:
ID int,
d date
Now what I need is to define the primary key in such a way that ID would be unique for each year; meaning that there can not be two same IDs in 2004, but it is possible to have two same IDs in two different years.
Like:
in... | {
"language": "en",
"url": "https://stackoverflow.com/questions/25271922",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Tap UIImageView with no alpha response? I have an image which has a relatively large area of transparency, alpha space. So is there a way I can detect a tap on this UIImageView but not have any response if the user taps the alpha area?
A: This is theoretical and I don't have code to add, but you could create an ide... | {
"language": "en",
"url": "https://stackoverflow.com/questions/10665511",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to get Primary MX IP from domain in Bash I am trying to write a bash script that will from a domain name find it MX records, from them figure out which is the primary (they are not always in order) and then find its IP.
(when there are more then one primary MX the first one found would be ok)
For example:
./find... | {
"language": "en",
"url": "https://stackoverflow.com/questions/15208095",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Axios request with Contact forms 7 I'm using contact forms 7, and in my form submission I use this function:
const formData = {
'your-name':'John Doe',
'your-email': 'johndoe@mail.com',
}
axios({
method: 'POST',
url: 'https://0xsociety.com/wp-json/contact-form-7/v1/contact-forms/258... | {
"language": "en",
"url": "https://stackoverflow.com/questions/68186075",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Angular 9 - how to inject dynamic parameters into a service constructor I need to make requests to a backend url which comes in this form:
localhost:8000/myapp/item1/:id1/item2/:id2/item3
where id1 and id2 are dynamic numbers.
I've thought using a service that takes 2 arguments in the constructor, something like th... | {
"language": "en",
"url": "https://stackoverflow.com/questions/63363102",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: puts implementation in assembly with nasm x86-64 I'm new to assembly and I'm trying to work on an implementation of the C function puts in assembly with nasm x86-64 on my Ubuntu.
Everything was fine until I write the tests for the function: there is a behavior that I can not reproduce:
When I send char *str = strdup... | {
"language": "en",
"url": "https://stackoverflow.com/questions/30744518",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Why does changing innerText value also changes innerHTML? I have a asp.net code that creates a button as follows:
<a href="#" id="button1" title="Maximize" onclick="function1('span1')" class="button"><span id="span1" class="iconMaximizeLightText">Maximize</span></a>
now in the javascript file I am doing the followi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/21999375",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Why does this menu act screwy in IE? SOS I hope someone can help. This is driving me nuts.
You can see the page i'm having problems with at www.jomundayphotography.com/template.html.
The dropdown menu is working everywhere but Internet Explorer (all versions are having problems).
The Code:
<!DOCTYPE HTML>
<html>
<h... | {
"language": "en",
"url": "https://stackoverflow.com/questions/9317571",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Kivy ScreenManager can't reference class from .py file class any more. Attribute error: 'super' has I just started developing my first app in python using kivy. I generated the general layout of the app and also some logic in an python file in addition to my main py to seperate everything a bit. This worked perfectl... | {
"language": "en",
"url": "https://stackoverflow.com/questions/63474256",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: StackOverflowError on recursive algorithm I'm trying to code a recursive algorithm in order to generate a valid board(unique solution) for a game called kakuro.
When executing the program I keep getting a StackOverflowError. I tried debugging my code and it is working as expected, but it suddenly crashes in a non re... | {
"language": "en",
"url": "https://stackoverflow.com/questions/65243424",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to handle One-to-Many Join without repeat rows In MS SQL Server I have two tables [Products] and [Product_img] with relationship (ONE TO MANY).
SELECT p_id, name FROM dbo.products
| 15 | | name1 |
| 17 | | name2 |
SELECT p_id, path FROM dbo.product_img
| 1.jpg | | 15 |
| 2.jpg | | 15 |
| 3.jpg| | 17 |
|... | {
"language": "en",
"url": "https://stackoverflow.com/questions/5749037",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: CSS clearfix hiding text in chrome / safari? I have an odd problem that I'm facing. I'm using a simple CSS clearfix hack as described on CSS-Tricks to clear floats. Code snippet:
*:after {
content: "";
display: table;
clear: both;
}
However, adding the above code causes the text to be invisible in Chrome and ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/13795823",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to check if there is a table on an excel sheet I have to make a VBA macro to check if there is a chart already present on an excel sheet. So, if there is any chart present, I have to delete it and if not, I have to put in a new chart.
I tried using:
Worksheets("Sheet.Name").ChartObjects.Delete directly, but if a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/41803613",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Creating a dynamic Linq select clause from Expressions Let's say I have defined the following variables:
IQueryable<MyClass> myQueryable;
Dictionary<string, Expression<Func<MyClass, bool>>> extraFields;
// the dictionary is keyed by a field name
Now, I want to tack on some dynamic fields to the IQueryable, so that ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/23389342",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: I have problems with opening file in C I assume I have a compilation problem, but I want to make sure that is not my fault.
I have compared my code with some other from a program that I made couple of days ago, and I literally couldn't find any difference.
FILE *f;
f = fopen("gps.txt","r");
if (f == NULL){
pri... | {
"language": "en",
"url": "https://stackoverflow.com/questions/58198656",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How can i make my own template/programming engine in php Ive been working some time on own template engines but i alwais get stuck in strucktured documents like
<block : block1>
<table>
<block : row>
<tr>
<td>
{value}
</td>
<... | {
"language": "en",
"url": "https://stackoverflow.com/questions/2772715",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Using the python multiprocessing module for IO with pygame on Mac OS 10.7 I use pygame for running experiments in cognitive science, and often I have heavy I/O demands so I like to fork off these tasks to separate processes (when using a multi-core machine) to improve performance of my code. However, I encountered a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/8106002",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "14"
} |
Q: How do I put a SQL Server database under version control using Visual Studio Community 2015 RC? I would like to put my database schema and its data in my git repository and have it version controlled, just like my code.
I have SQL Server 2008 R2 and Visual Studio Community 2015 RC. I know that Visual Studio 2010 upw... | {
"language": "en",
"url": "https://stackoverflow.com/questions/31759748",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: JavaScript Collections API? I've searched quite a while for a Collections API (list, set) for JS and surprisingly I could only this: http://www.coffeeblack.org/work/jscollections/
This is exactly what I was looking for, but I'm wondering why doesn't jQuery provide that? What am I missing on? Or, perhaps, how ineffec... | {
"language": "en",
"url": "https://stackoverflow.com/questions/4295937",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "8"
} |
Q: Font Awesome rendering wrong icons after updating lib to 6.1.1 We wanted to update all our used libs in our Node.js/Nuxt/Vue application.
And so we arrived at Font Awesome.
Before the update we used:
"@fortawesome/fontawesome-svg-core": "1.2.30",
"@fortawesome/free-brands-svg-icons": "5.14.0",
"@fortawesome/pro-regu... | {
"language": "en",
"url": "https://stackoverflow.com/questions/72125195",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: plupload submits OPTIONS instead of POST to a WebAPI Have an MVC application and a separate WebAPI. Using plupload, when the url points to a method in the MVC controller, the files are POSTed.
Here's what Fiddler shows
POST /Home/HandleUpload/ HTTP/1.1
Host: localhost:50000
Connection: keep-alive
Content-Length: 38... | {
"language": "en",
"url": "https://stackoverflow.com/questions/19712176",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: PHP sql database, inserting UNIQUE values Im working with sql database (phpMyadmin) and with programming language PHP.
I've got a table with data e.g:
T1:
145
138.8
110.6
1759.4
1400.9
1891.4
1755.4
1760.4
T2:
141.9
110.6
1400.9
1891.4
1758.4
My question >
Is there existing sql syntax, that is able to average value... | {
"language": "en",
"url": "https://stackoverflow.com/questions/29969968",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Is there a way to reverse the bit order in UInt64? I am building a chess engine in Swift based off a tutorial written in Java. In the tutorial, Java's signed 64 bit integer long has a static method called reverse(long i) that "Returns the value obtained by reversing the order of the bits in the two's complement bina... | {
"language": "en",
"url": "https://stackoverflow.com/questions/60594125",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: private data member in C++ OOP I am new to OOP in C++. I got a doubt. I know it may be a silly doubt.
In the code below in main function, commented line will give error as I can not access private data memebers directly. but in the member function complex add(complex &C) I created a object temp of class complex. How... | {
"language": "en",
"url": "https://stackoverflow.com/questions/72971455",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Why docker run can't find file which was copied during build Dockerfile
FROM centos
RUN mkdir /test
#its ensured that sample.sh exists where the dockerFile exists & being run
COPY ./sample.sh /test
CMD ["sh", "/test/sample.sh"]
Docker run cmd:
docker run -d -p 8081:8080 --name Test -v /home/Docker/Container_Fi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/66533716",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Prevent second half of an if statement when first half is null I have a statement in VB.net that I thought I wrote correctly to prevent the second half from being evaluated. It looks like this:
If ((myDataSet2 IsNot Nothing) Or myDataSet2.Tables("CurData").Rows.Count > 0)
However it does not skip the second expres... | {
"language": "en",
"url": "https://stackoverflow.com/questions/17552081",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: Jenkins Pipeline as Code Groovy Error on Class Annotation Hi I am trying to use Jenkins pipeline as code (formally workflow). I am getting errors whenever I try to use Annotations on a class defined in the pipeline script.
Error
org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed:
General... | {
"language": "en",
"url": "https://stackoverflow.com/questions/37531985",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: JQuery interfering with lxml parsing I am trying to scrape a website which was probably written poorly, so when you initially perform a GET request on their page, it responds with 5 entries in a mixture of html, javascript, jquery because it's the visual part of the page, and if you want to get more entries, you cli... | {
"language": "en",
"url": "https://stackoverflow.com/questions/26345446",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: accessing current redux state in monaco editor action run function I have a monaco editor instance, and I add an action for the Ctrl+S Keys.
const addActions = (editor: editor.IStandaloneCodeEditor) => {
editor.addAction({
id: "save-element-action",
label: "Save Element",
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/65941526",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to specify different buld dirrectories for qmake? I use qmake. I have the following project structure:
/
|_SFMLWidgets
| |_...
| |_View.h
| |_View.cpp
| \_...
|
|_MapEditor
| |_...
| |_View.h
| |_View.cpp
| \_...
|
\_main.cpp
This views do different things. When I try to compile project I get compilation errors... | {
"language": "en",
"url": "https://stackoverflow.com/questions/42737742",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Scrollbar in mIRC window Is it possible to remove or hide (hide to allow mouse wheeling) a scroll bar within a custom mIRC window. The verticle scrollbar to be specific.
If you look to the very right of the picture you see the scrollbar.
Is there a way to remove it?
A: Yes, it can be removed.
I put together this ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/18122180",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Flashlight app (How to set screen brightness to Max?) I am working on a flashlight android app, which has an option for screen light(Max Brightness). How can I set an activity brightness to max with a button press?
A: This site has some information about the topic: http://www.tutorialforandroid.com/2009/01/changing... | {
"language": "en",
"url": "https://stackoverflow.com/questions/11976800",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: StringBuilder, add Tab between Values I have a small problem:
I have a List of fields, with 3 Values. I want to build my String with these three Values,
delimited by a "TAB"..
Code:
StringBuilder stringBuilder = new StringBuilder();
foreach (string field in fields)
{
stringBuilder.Append(field).Append("\t");
}
s... | {
"language": "en",
"url": "https://stackoverflow.com/questions/9191756",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: Working with array as table and employee hours and salaries I need help with an array that shows a list of employees, their hours, their wage and then totals the pay for each employee and then totals the hours for all employee's hours, wages and total employee pay. I have code so far as:
import java.util .*;
public... | {
"language": "en",
"url": "https://stackoverflow.com/questions/48587206",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.