text stringlengths 15 59.8k | meta dict |
|---|---|
Q: Unable to create scheduled event using AWS SAM I have a SAM template.yaml like below:
AWSTemplateFormatVersion: '2010-09-09'
Transform: 'AWS::Serverless-2016-10-31'
Resources:
GathererFunction:
Type: 'AWS::Serverless::Function'
Properties:
Handler: main.handler
Runtime: nodejs14.x
Events... | {
"language": "en",
"url": "https://stackoverflow.com/questions/70808158",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Set values to an object of type NSObject after adding it to an NSMutableArray I created a class named as Tutoral which is a sub class of NSObject, and it has following synthesized properties Title and Url.Then in my viewcontroller I created an instance of the Tutorial class.I also Created an NSMutableArray object an... | {
"language": "en",
"url": "https://stackoverflow.com/questions/21521469",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Gradle Android plugin generate R files for different product flavors? I am trying to merge my free app and paid app. The productFlavors of Android's new build system seem to be a perfect fit for my problem.
I have the freeApp flavor working great, however when I build the paidApp flavor the R file that is being gen... | {
"language": "en",
"url": "https://stackoverflow.com/questions/19736212",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "13"
} |
Q: Best website for Programming Language Icons I was wondering to find icon packs for all programming language icons. Can anyone suggest which one is good website where I can find all icons (Either official or based on some similar theme) related to any programming language.
A: Well after lots of surfing I found a goo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/61593631",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Using SUMIF with INDIRECT Values are in another sheet which is named as cell value"A3"
=SUMIF(INDIRECT(" ' "&A3&" '$B:$B"),D$2,INDIRECT(" ' "&A3&" '!$M:$M"))
do you see anything wrong with this formula ?
doesn't work #REF! is the response.
A: By enclosing A3 in ampersands you are referencing cell A3 in the current... | {
"language": "en",
"url": "https://stackoverflow.com/questions/43202949",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: installation path for sqlite database I am trying to access a database using python. The src folder is:
ptbl/
├── dialogue.py
├── elem_H.py
├── elems.db
├── __init__.py
├── __main__.py
├── main.py
├── menubar.ui
└── menu.py
with elem_H.py access elems.db database as:
sqlfile = "elems.db"
conn = sqlite3.connect(sqlf... | {
"language": "en",
"url": "https://stackoverflow.com/questions/40806068",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Django - Can I create a global variable that can be accessed/manipulated from different functions in different files? I'm trying to figure out a way I can avoid passing so many arguments to functions in my app. I'm using different databases for each table, so joining is not possible, so I need to create a primary ke... | {
"language": "en",
"url": "https://stackoverflow.com/questions/10520862",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Procedure running slow in first attempt after migration SQLSERVER 2005 to 2012 Recently we have migrated SQLServer 2005 to 2012 and seen huge slowness in stored procedures execution.it's taking long time in first attempt but as on expected time in second attempt. I was under impression this may be due to caching but... | {
"language": "en",
"url": "https://stackoverflow.com/questions/42221735",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Issue with bootstrap sub-menu hovering I am currently using a sub-menu implementation in twitter bootstrap. The lines of code are as follows -
<ul class="dropdown-menu toggle-drop-down">
<li style="left: 100px; position: absolute; top: -18px;">
<img src="@{'/public/images/modal_arrow.png'}">
</li>
<li>
<a ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/20949957",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Changing result from line 2 to line 1 I have a vb.net application that is made to acquire a result from a webpage to my alertbox.
The webpage's result however is on the second line and is spaced.
I can only see half the text which is inside the alertbox since it's on line 2.
How do i change it so that the result go... | {
"language": "en",
"url": "https://stackoverflow.com/questions/27347454",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Get x left ,x right ,y top, y bottom from pdf.js we are using pdf.js
in order to drag drop image inside pdf and I want send coordinate to Aspose.PDF how i can get x left ,x right ,y top, y bottom instead of only (x,y)
var pdfY = maxPDFy - param.posizioneY - offsetY;
y = (pdfY * maxHTMLy) / maxPDFy;
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/73933241",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: imageStore() operation on dimensions beyond buffer size I have compute shader in which I have uimage2d buffer and imageStore() operations on that buffer. I want to know what would be behaviour if i write to locations beyond the size of buffer. Would be there some wrap effect ? Or behaviour depends on driver ? Or wil... | {
"language": "en",
"url": "https://stackoverflow.com/questions/55092280",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Loop the included array currently im building a filter and in this filter there is an array with dynamic values.
Im just one step away from finishing it but i dont get the right loop done. I already tried it with something like forEach but all the ways i tried it didnt work. Here is the code:
map(p => (!this.perso... | {
"language": "en",
"url": "https://stackoverflow.com/questions/69310571",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: Does hapijs have something like overload protection? What will a hapi server do if it is overloaded and is there something like toobusy-js to prevent a fallout of the server by shortcutting some requests with errors.
A: Yes it's embedded in the framework, look at load on connections settings.
You have 3 options :
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/31817534",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: How do I remove or alter spaces between images in an inline heading in CSS? Here is my code. I haven't finished formatting anything under the heading yet. But I'm trying to get the h2(the one with images) centered and without spaces. I've tried messing with font spaces in parent and removing padding but nothing seem... | {
"language": "en",
"url": "https://stackoverflow.com/questions/39780865",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Make Dialog in landscape or portrait orintation Hy,
i have got some trooubles in my dialog. If i want to use it on portrait orientation it behaves ok, but if its in landscape orinetation o can use only 4 seekbars.
A: Wrap your entire layout in a <ScrollView>, it just gets truncated because the screen isn't 'high... | {
"language": "en",
"url": "https://stackoverflow.com/questions/18752089",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: N * N matrix by Java This is what I written:
import javax.swing.JOptionPane;
public class JavaTest{
public static void main(String[] args){
String numberString = JOptionPane.showInputDialog(null, "Enter number here: ",
null, JOptionPane.INFORMATION_MESSAGE);
int number = Integer.parseInt... | {
"language": "en",
"url": "https://stackoverflow.com/questions/29068538",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: win32 main loop interval issue C++ I'm making a keylogger that logs key strokes (duh..). Now when I've implemented the basic keylogger in C++, I wanted to add a new feature to the application: I want it to mail the logs to my email. So far so good, I found this open source email client that fits perfect for my needs... | {
"language": "en",
"url": "https://stackoverflow.com/questions/16480834",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How can my appengine app send mail using the senderid of domain that installed the app Say I have an appengine app called foo at foo.appspot.com and my email i.e. adminfoo(at)gmail.com is it's adminstrator.
Now, I want to sell this service to blah.com. blah.com has a google app account and 'adds' the foo application... | {
"language": "en",
"url": "https://stackoverflow.com/questions/4066542",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: A script to update linked sheet from google doc I have linked part of a sheet in google doc (as linked object). Now, whenever I change the sheet data, I can click a button in google doc and the data is reflected in the google doc linked sheet too (this is all built in google doc stuff).
What I want to do is the othe... | {
"language": "en",
"url": "https://stackoverflow.com/questions/63726480",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: AWS Database not connecting with Jenkins I am running a python program called MyCode.py that uses pymysql to connect to a AWS database and pull from it. When I run it in Jenkins using in the shell, the python packages are successfully installed however the pymysql connection fails to connect and times out after MyCo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/44961187",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Ruby and Swig: TypeError: can't convert nil into String As a follow up of the question: Ruby with Swig: NameError: uninitialized constant
I'm trying to use Qxt library (namely QxtGlobalShortcut) in the ruby.
As suggested on: How can I call C++ functions from within ruby I created swig wrapper, however when trying to... | {
"language": "en",
"url": "https://stackoverflow.com/questions/15197131",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Inkscape's export to PDF can't create PDF file I'm running the following line of PHP code to have Inkscape create a PDF from an SVG.
$command = 'inkscape -z -f ' . $temp_destination . ' -A ' . $temp_pdf . ' -T';
exec($command, $output, $return_var);
When this is run though no PDF file is created. So then I try and... | {
"language": "en",
"url": "https://stackoverflow.com/questions/22361638",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to move cursor and click item using firefox addon script like imacros I do believe there is no way to use simple javascript to move mouse and click item/url. I have searched a lot about this, and most answer I found, it's not possible for security reason.
But How about using firefox addon script? I do believe it... | {
"language": "en",
"url": "https://stackoverflow.com/questions/15322390",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: My contents are left aligned in IE 7? I have a outer div which is working correctly in chrome, firefox but not in IE.. I have some contents inside outer div.. to make it center aligned or middle of page i gave this width:970px; height:630px; to outer div... so that i got the contents at the center in chrome and Mozi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/13986792",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Links from static html in Grails My app renders html, created by external program and placed in a folder outside the app (so that it wouldn't disappear after redeployment), and this html contains links to other files in that folder. I can change the links, but how to get them work?
This is how the html is rendered... | {
"language": "en",
"url": "https://stackoverflow.com/questions/26531267",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: PCL: Why so much dynamic allocation and raw pointers I've been working with PCL lately, in conjunction with ROS, and have been looking through some of their examples.
I am by no means an expert at c++, but I was under the impression that good style avoids raw pointers/dynamic allocation as much as possible. In addit... | {
"language": "en",
"url": "https://stackoverflow.com/questions/69376403",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to do a Inner-Join in JPA Criteria? I'm using Netbeans to program a webservice REST that returns a JSON response, I am also using JPA Criteria to create the querys. I have two Entities that looks like this:
public class User implements Serializable {
private static final long serialVersionUID = 1L;
@Id
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/25089809",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Recursive backtracker mazegenerator is not very recursive i am making a Recursive backtracker mazegenerator in Java. but it keep going ArrayIndexOutOfBoundsException, and is not very recursive please if someone would look at my code and tell me what i am doing wrong. thanks in advance.
public class RecursiveBacktrac... | {
"language": "en",
"url": "https://stackoverflow.com/questions/36041286",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: spectral structure of sinusoidal model let us consider following code
function [ x ] = generate1(N,m,A3)
f1 = 100;
f2 = 200;
T = 1./f1;
t = (0:(N*T/m):(N*T))'; %'
wn = randn(length(t),1); %zero mean variance 1
x = 20.*sin(2.*pi.*f1.*t) + 30.*cos(2.*pi.*f2.*t) + A3.*wn;
%[pks,locs] = findpeaks(x);
%plot(x);
end
as ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/20918899",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Calculating Holidays in Javascript As a learning exercise I took the question here: calculate holidays in Javascript, and with a suggested approach, took it upon myself to develop a solution with ES6 array methods.
The previous stack post that is linked above suggested an object approach, but the answer did not incl... | {
"language": "en",
"url": "https://stackoverflow.com/questions/58511847",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How make a Comparator for alphabetics chars with an differrent order that the alphabetic order My problem is that I want to compare some character not using the alphabetic sort.
Here is my order relation : A < B < T < Q < C < D < E < F ...
How can I create a Comparator for this? Must I write all the cases like this... | {
"language": "en",
"url": "https://stackoverflow.com/questions/38332406",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Realtime auto calculate total value form I'm planning to create a realtime automatic calculating form that gathers the price of products in all (or some) collection and sums up some elements (of course the value is in integer, for example extra fee, modification, ...).
It's Shopify platform, I have created a script ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/38849628",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How do I connect a VM to an ad-hoc network? I need to connect a VM to an ad-hoc network because I have Ubuntu Server running on my VM and I need to access it from other devices on the ad-hoc network. My VM is running on VMware Workstation 15 Player. What could I do to connect the VM to the ad-hoc network hosted on t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/61837002",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: WSDL.exe - How do I generate cs file I have local wsdl-file, and related xsd-files and I want to generate a cs-file.
Now i succeded in generate cs-file with the following command:
All is fine!!
A: Start "Developer Command Prompt for VS 2019" and run th following command:
wsdl.exe C:\file.wsdl C:\file1.xsd C:\file2.... | {
"language": "en",
"url": "https://stackoverflow.com/questions/62717778",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Why can't I the properties of properties when looping an object? Let's say I have this object:
const people = {
frodo: { name: 'Frodo', age: 33 },
aragorn: { name: 'Aragorn', age: 87 },
legolas: { name: 'Legolas', age: 2931 }
}
And let's say I want to loop over the properties of that object, like thi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/52654835",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How do you create a custom project type (from my plugin) without opening Eclipse? I have created a plugin for Eclipse. With the help of this plugin, I am creating a new type of project, let's say XTypeProject. The creation of this XTypeProject is similar to any other type of project you create in Eclipse.
File -> N... | {
"language": "en",
"url": "https://stackoverflow.com/questions/30908320",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: convert degrees decimal minutes to decimal degrees How can convert degrees decimal minutes to decimal degrees
on NMEA 0183 standard GPS trackers send position as degrees decimal minutes and need to convert.
Inputs :
5546.263 /*(mean = 55° 46.263'N)*/
3739.712 /*(mean = 37° 39.712'E)*/
Outputs :
55.771050
37.661867
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/19456843",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Avoid line break in R Markdown output I'm wondering how I can get all of the elements from my output on one single line, as the space for it is clearly there.
Preamble of the file:
```{r setup, include=FALSE}
knitr::opts_chunk$set(echo = TRUE)
```
| {
"language": "en",
"url": "https://stackoverflow.com/questions/73926240",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How to collecting yii tabular input form? I made yii tabular input form, but every i submit this form its data can't save to database.
it is my view:
<div class="row" id="email_usul0" style="display:none;">
<?php echo $form->labelEx($modeljenis, 'email_usulan'); //email usulan jika yang dipilih bagian ?>
<?... | {
"language": "en",
"url": "https://stackoverflow.com/questions/24848250",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Android Navigation Drawer: open deep fragment from notification first sorry for my rusty English !
This is a doubt I have had for some time now and although my skills on Android have been getting better I haven't found an elegant solution for this issue:
Lets say an application uses the Navigation Drawer pattern and... | {
"language": "en",
"url": "https://stackoverflow.com/questions/43053827",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: rake db:migrate does nothing I'm following this tutorial,
and I'm having a problem when running rake db:migrate
In db/migrate I have the create_post.rb file:
class CreatePosts < ActiveRecord::Migration
def change
create_table :posts do |t|
t.string :title
t.text :text
t.timestamps
end
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/22686452",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Add a rule blocking the IP address through the API Windows Firewall Delphi Good afternoon.
Nobody faced with the addition of a Windows Firewall rules in Delphi?
I need to restrict incoming and outgoing connections from specific IP addresses.
This code throws me an application at startup with an error:
Exception ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/25281216",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Stata: Ado package not found I am looking to install the user-written 'esttab' of stata package 'st0085_2.pkg'. Normally I would type the following to do this:
net install st0085_2.pkg
In this case it outputs:
checking st0085_2 consistency and verifying not already installed...
installing into c:\ado\plus\...
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/43287524",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: Sencha localStorage.getItem() returns null in model In my model, I have the following code:
Ext.define('Proximity.model.CandidateblocklistModel', {
extend: 'Ext.data.Model',
requires: ['Ext.data.proxy.LocalStorage'],
config: {
store:'Proximity.store.CandidateblockStore',
fields: [
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/25462897",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: KML complex schema I'm new to Kml and i'm searching for a way to define a more complex kml schema that can contain: a defined region, and inside the region all the countries of the region with their coordinates. So the schema has to contain a complex element and not a simple one.
Currently i have this structure for ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/6829292",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: dtrace impact, monitoring processes (OS X)? I'm trying to find a efficient way to programmatically monitor, from user mode, what processes are started on my computer (OS X Yosemite). Since NSWorkspaceDidLaunchApplicationNotification only works for apps and kqueues (NOTE_EXIT) only allows one to monitor a specific pr... | {
"language": "en",
"url": "https://stackoverflow.com/questions/27794574",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Project on update/create (set values from another object en masse) in LINQ2DB? When using LINQ2DB for my application I tried to use entity-DTO mapping using Expression<Func<Entity, DTO>> and vice versa like described here: https://github.com/linq2db/linq2db/issues/1283#issuecomment-413509043
This works great for pro... | {
"language": "en",
"url": "https://stackoverflow.com/questions/74786123",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Line-breaking widget layout for Android I'm trying to create an activity that presents some data to the user. The data is such that it can be divided into 'words', each being a widget, and sequence of 'words' would form the data ('sentence'?), the ViewGroup widget containing the words. As space required for all 'wor... | {
"language": "en",
"url": "https://stackoverflow.com/questions/549451",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "100"
} |
Q: Macros That Write Macros - Compile Error When I compile the following code, SBCL complains that g!-unit-value and g!-unit are undefined. I'm not sure how to debug this. As far as I can tell, flatten is failing.
When flatten reaches the unquoted part of defunits, it seems like the entire part is being treated as an a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/33724300",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "9"
} |
Q: Instrumenting (logging) Scala expressions (UPD after @krivachy.akos )
How to debug expressions in Scala? You don't have an opportunity to set a breakpoint and see local variables in most cases because inside the expression there are no variables. And usually there are no statements to which you can set a breakpoint.... | {
"language": "en",
"url": "https://stackoverflow.com/questions/20141681",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Android RecyclerView with Filterable interface I'm trying to implement RecyclerView with Filterable interface in order to Filter my list from Toolbar's SearcView Widget.
But My Problem is that I can't Update my list with new Data. notifyDataSetChanged() in publishResults method does nothing, I don't know why.
Only t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/32889520",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to insert records into the table by joining the reference table CREATE TABLE ref_table (
ref_id NUMBER(10),
code VARCHAR2(50),
val VARCHAR2(50),
constraint pk_ref_table primary key(ref_id)
);
insert into ref_table values(1,'maker','E_maker');
insert into ref_table values(2,'checker','E_c... | {
"language": "en",
"url": "https://stackoverflow.com/questions/70757562",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: how to add a button click event in a custom element I want to add a click event to the button with id: hamb-btn, where when clicked it will add a new class in the div class = "nav-link show" element. like that is an example of adding the class if the hamb button is pressed.
its my code...
note: i use webpack.
impo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/67657664",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: not able to restore large database more than 15GB using power shell I'm using the following script to restore the database which has size more than 15 GB and it requires more than 100GB of space for mdf and ldf. However I have the enough space on the drive and I'm able to restore it manually through SSMS.
But when I... | {
"language": "en",
"url": "https://stackoverflow.com/questions/36977391",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Is it alright to use target="_blank" in HTML5? I recall reading somewhere that in HTML5 it was no longer okay to use target="_blank" in HTML5, but I can't find it now.
Is it alright to continue to use target="_blank"?
I know it's generally considered a bad idea, but it's by the easiest way to open a new window for s... | {
"language": "en",
"url": "https://stackoverflow.com/questions/4198788",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "171"
} |
Q: Why the icons / images looks blur (not clear) on tablet , but looks fine on phone in android? I was working on android app based on phone. However, recently the app need to support the tablet.
The design was based on 1920 * 1080, I put all images/ icons into the xxhdpi folder and for lower resolution I just let andr... | {
"language": "en",
"url": "https://stackoverflow.com/questions/25234621",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: React Native navigation is not working I am trying to navigate between two screen using react-native navigation https://reactnavigation.org/. It is working from index.js to EnableNotification.js but it is not working from EnableNotification.js to CreateMessage.js
EnableNotification.js
/**
* https://github.com/faceb... | {
"language": "en",
"url": "https://stackoverflow.com/questions/43614479",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to create a non-wrapping text-span inside a TextView? I'm trying to make a non-wrapping text span inside a TextView in my Android app.
What I've tried so far is to implement a TextAppearanceSpan and set the style of that span to:
<style name="TextAppearance.NonWrappingElement">
<item name="android:maxLines">... | {
"language": "en",
"url": "https://stackoverflow.com/questions/44417230",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How does client send an authentication token back to the user in OpenID connect? I'm learning about OpenID connect and OAuth2.0 and i think there is something missing, what the client will do after receiving the ID token from the authorization server?
Ok it now has a JWT that contains information about the user, but... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75309418",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How do you rename a variable in R? If I have a variable
x <- "foo"
and another variable
y <- 1:5
is there a way I can rename y to foo while keeping it equal to 1:5?
A: You could use comment() so that foo was an attribute of y. For example, try:
x <- "foo"
y <- 1:5
comment(y) <- x
str(y)
attr(y, "comment")
| {
"language": "en",
"url": "https://stackoverflow.com/questions/30804564",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Azure Mobile service(push notification) I am working on Azure mobile service push notification and I am trying to send push notification on particular registration id. I have following script, can somebody tell me how can I update this JavaScript so it works fine:
exports.post = function(request, response) {
var... | {
"language": "en",
"url": "https://stackoverflow.com/questions/35860971",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: SQL Server: find and remove dups in a table I am not familiar with SQL programming, I understand there were posts about removing dups before but this is a little more complicated and I haven't found a solution online.
The requirement: I have a table Positions with columns A, B, C, total, date.
*
*Two rows are re... | {
"language": "en",
"url": "https://stackoverflow.com/questions/33293626",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Wordpress Feed URL redirecting to Login Page I am trying to read wordpress feed url into php
This is link of
Wordpress Feed URL
When we click on this url it redirects to login page where as it should have shown the contents of feed.
Below is my php code to read this feed url
<?php
$xmlDoc = new DOMDocument();
li... | {
"language": "en",
"url": "https://stackoverflow.com/questions/44148211",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: AWS EC2 PHP SDK SSL error Im trying to set an auto start and stop on my EC2 using PHP script. When im trying to run the script it turns out error like below,
Fatal error: Uncaught exception 'Guzzle\Http\Exception\CurlException'
with message '[curl] 60: SSL certificate problem, verify that the CA
cert is OK. Det... | {
"language": "en",
"url": "https://stackoverflow.com/questions/30831849",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Web Audio: Make event occur at exact moment? I am trying to make something where sound samples are chosen randomly at intervals so that the song evolves and is different each time it's listened to. HTML Audio was not sufficient for this, because the timing was imprecise, so I am experimenting with Web Audio, but it ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/41758946",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Command works in console, not in code Just killed 5 hours on this, giving up for the moment.
This command works fine from a non-elevated command prompt (Permissions pregranted on the key so no issues):
REG ADD "HKCR\CLSID\{323CA680-C24D-4099-B94D-446DD2D7249E}\ShellFolder" /v Attributes /d 0xA0900100 /t REG_DWORD /f... | {
"language": "en",
"url": "https://stackoverflow.com/questions/26437234",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Using MouseOver and MouseOut Hi guys im working on my first website and im trying to implement a sliding menu using jquery.
This is what a got so far :
<a href="javascript:void(0);"onmouseover="ShowBox();" onmouseout="HideBox();"">Show box<a>
<script type="text/javascript">
function ShowBo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/10508282",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: checking type of reference in generics java I am currently building a game in java(turn based RPG) and am facing a problem in inventory UI. Perhaps my problem is well known or has a simple solution, but having never had any training, I will still ask the question.
While displaying the inventory after selecting an it... | {
"language": "en",
"url": "https://stackoverflow.com/questions/39718130",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Add custom comparatorClass class in Solr I am newbie in Solr. I want to add a custom comparatorClass in Solr. I also need to use fields - term and count in my custom class which I have defined in my schema.xml.
Structure of indexing document :
"docs": [
{
"count": 98,
"term": "age",
},
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/27597412",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: naming uploaded image after username? I am developing using CodeIgniter framework.
I have an image upload folder which permission is set to 755. My host is using suPHP so site users are able to upload to it.
I just noticed that when user uploads an image, the IMAGE file permission is 666.
I am naming the images usin... | {
"language": "en",
"url": "https://stackoverflow.com/questions/13250126",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to control 1000+ flash app instances? I have a flash app running on 1200 machines on a local network. Currently, the app polls the php server every 10 seconds, and is returned a 14 byte string with the state. If the state is new, the app changes mode and gets new data from the server.
1200 machines polling ever... | {
"language": "en",
"url": "https://stackoverflow.com/questions/9639047",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: RestKit Object mapping issue I have this JSON response that I can't figure out how to map. It looks like this:
{
"responseError": null,
"displayMenuList": {
"MenuList": [
{
"ID": "3223",
"Name": "Main",
"AddressURL": "www.mysite.com",
"DisplayType": "True",
"Imag... | {
"language": "en",
"url": "https://stackoverflow.com/questions/21019913",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Scope of "use module" and associated linking error I am trying to navigate my way around fortran 90 and I have this toy example using which I would like to ask a question
module foo
implicit none
contains
subroutine foobar()
print *,'foobar'
end subroutine foobar
end module foo
Then the main program -
program tes... | {
"language": "en",
"url": "https://stackoverflow.com/questions/45197745",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to sort an array of numbers which has separator in between? I have an array of numbers each with numbers in both side but a separator between both numbers.For example:
$selectTableRows= array("1_6", "3_4", "10_1", "2_2", "5_7");
I need to sort the array depending on the numbers after the separator "_".Thus, the... | {
"language": "en",
"url": "https://stackoverflow.com/questions/42563315",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: SAP HANA data provider for Microsoft ado.net I need to connect my C# web application with SAP HANA database using Entity Framework 6. I've got this documentation: obsolete link (possibly, Microsoft Entity Framework Support (SAP HANA Data Provider for Microsoft ADO.NET) may correspond.)
This document explains how to ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/36861019",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Why data types was changed while calling the apply function in Pandas? While using the apply function to process a DataFrame, the data type of columns was changed unexpectedly. What should I do to prevent this?
For example:
In [1]: import pandas as pd
In [2]: from pandas import DataFrame
In [3]: tmp = DataFrame({... | {
"language": "en",
"url": "https://stackoverflow.com/questions/40315792",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Compute the maximum-coverage path in an Occupancy Grid I am implementing a basic robot which uses a SLAM algorithm to produce an occupancy grid of it's environment. It is very simple with no probabilistic aspect, simply an enum to represent Empty, Occupied, Unexplored, Unreachable etc.
I was wondering if there is a ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/9886656",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Check if the image and file type exist inside directory This is my code:
$file = 'images/img_' . $post->_id . '.jpg'; // images/img_1.jpg
if (file_exists($file) && is_file($file)) {
//show the image
echo '<img src="' . $file . '" class="img-responsive" />';
}
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/24142209",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: What is the importance of watch command in ExtJS I am using ExtJS 5 to create a web application.
I am also using sencha app build command to create the production build.
During development I never use sencha app watch or sencha app build commands. I just do the changes in the application code and in our web server's... | {
"language": "en",
"url": "https://stackoverflow.com/questions/38436711",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: how to write cell array to text file MATLAB, error with dlmwrite I understand that this is a recurrent topic, I have tried understanding the answers that people provided but none of them seemed easy to transfer to my particular problem as the solutions are usually for an implementation that is too far from what I'm ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/21511225",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Security Best Practices for Email-based User Registration? I have a website, and want to register new users. The registration process is as follows:
*
*User enters email address, clicks 'Register'
*email address is sent to server
*Server generates a registration code, stores a hashed version
*Server sends an ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/57585038",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How do I set credentials for Symfony plugins? I have a backend with SfGuard, and I have plugins like sfGuard, which have modules. How do I change their security settings? they don't have folders in my backend app where I could put a security.yml.
A: Create module which you would like to secure, for example
/app/bac... | {
"language": "en",
"url": "https://stackoverflow.com/questions/5636406",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to pass List through activities ArrayList<Item> arrayOfList;
I want to pass arrayOfList; to next activity on Itemclick of listview
Tried Things
Intent sec = new Intent(this, IndividualPage.class);
Bundle b = new Bundle();
b.putParcelableArrayList("mylist", arrayOfList);
sec.putExtras(b);
To ret... | {
"language": "en",
"url": "https://stackoverflow.com/questions/31556866",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Creating a java program that calculates fares for a toll road I am having a hard time getting started with this program. It is supposed to promped user for vehichle typ, number of miles to be traveled, and whether or not they have an EZ-Pass. then calculate and print vehicle type, number of miles traveled, whether o... | {
"language": "en",
"url": "https://stackoverflow.com/questions/28567786",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: when sending strings via put extra the underline under some words has gone when I send strings via put extra the underlined words will not be underlined
<string name="s_hello_txt">\n{ <u>hello all</u> }\n</string>
MainActivity Button Code
public void c_hello(View v){
Intent hello= new Intent(MainActivity.this,
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/18675126",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: IPython import error - pattern I'm a newbie to IPython/Anaconda (for Windows 7), and for some reason, I'm getting an import error:
---------------------------------------------------------------------------
ImportError Traceback (most recent call last)
<ipython-input-6-484073d472a5> in ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/20274124",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to pass operators like "<",">","=" (less than,greater than,equals to) as parameters to a native query in springboot? For example let my query be as shown below:
String query="select * from table_name where column_name1 > ?1 and column_name2 < ?2";
@Query(value = query, nativeQuery = true)
public List<Object[]> ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/64467900",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: video-stabilization | {
"language": "en",
"url": "https://stackoverflow.com/questions/65919398",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Wordpress Pagination not work in category page I want to display pagination on category pages of WordPress theme
This is my code
global $post;
$category = get_the_category($post->ID);
$category = $category[0]->cat_ID;
$posts = get_posts(array(
'numberposts' => 150,
'posts_per_page'... | {
"language": "en",
"url": "https://stackoverflow.com/questions/74262711",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Why when i debug my value option tag html is undefined? I've tried debugging the following error for several hours with no solution JS is still undefined but id parameter in controller has a value. Please help. I need it.
This html code when i debug, the value is undefined, why the value is undefined?
<select id="cm... | {
"language": "en",
"url": "https://stackoverflow.com/questions/65582220",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: change output directory of nuget package I created a NuGet package from my project. The output directory of the package is the solution directory. I would like to output it to a specific directory. I tried a target in the csproj file and in the nuspec file. None worked. How do I get the package generated in the spec... | {
"language": "en",
"url": "https://stackoverflow.com/questions/35893005",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: When does a javascript function is being executed in a jquery mobile page? I have a php function that, after it did his computations, contains this code:
echo("<script> window.location.replace('index.php#login'); </script>");
meant to redirect the page to another, under certain circumstances. The function works, th... | {
"language": "en",
"url": "https://stackoverflow.com/questions/20492409",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Trying to email photo attachment without edit screen I'm trying to send an email with a photo attachment without showing the editor. Eventually I'm trying to make it so when someone logs into the app it will send them an email automatically.
My implementation:
if let videoConnection = stillImageOutput!.connectionW... | {
"language": "en",
"url": "https://stackoverflow.com/questions/31060644",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Https request returning error in response 'certificate has expired' for shortswitch api I am making a request to shortswitch api using https package of nodejs. It returns error 'certificate has expired' in response. Shortswitch doesn't have a client-side certificate that we can send with the request. They have a ser... | {
"language": "en",
"url": "https://stackoverflow.com/questions/71848405",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: List of classes and indices for my trained neural network model in keras I have trained the MNIST dataset using the code from https://www.kaggle.com/code/himanshuyadav95627/image-classification, and the model is working perfectly. Now I want to extract the class names and indices from the trained model. Why I need t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/74200551",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Worksheet Change: Multiple target values not working Need to hide/ unhide rows in a multiple excel sheets based on dropdown cell values in a cell of another sheet.
I have 3 sheets, Dashbaord, Data Inputs, Metrics table,
I have put the following code in Dashboard sheet. The 3 cells mentioned below are dropdown and co... | {
"language": "en",
"url": "https://stackoverflow.com/questions/54698357",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Check if any of the textboxes is empty wpf Is there any way to iterate through all the textboxes to see if any of the textboxes is empty? I want the user to enter values in all textboxes. Suppose the event handler has the following code:
private void Add_Click(object sender, RoutedEventArgs e)
{
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/70200919",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Error handling with loop and user input For i = 1 To repNumber
TryAgain:
On Error GoTo ErrH:
repName = InputBox("Enter rep name you want to exclude.", "Name of Rep")
.PivotItems(repName).Visible = False
Next i
ErrH:
MsgBox "Try Again"
GoTo TryAgain:
It shows an error if I type in R... | {
"language": "en",
"url": "https://stackoverflow.com/questions/33288604",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: App engine - raw request body - stripe webhooks I'm trying to run my node.js app app engine and I am having trouble with stripe webhooks - with the constructEvent, that I need to give a request raw body. Worked on virtual machine but not on app engine.
event = stripe.webhooks.constructEvent(req.rawBody, sig, stripeK... | {
"language": "en",
"url": "https://stackoverflow.com/questions/59047172",
"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.