Questions tagged [header]
This tag is deprecated because it lacks discriminating power. Please use a more specific tag instead, e.g.: html-heading, email-header etc.
13,102
questions
0
votes
1
answer
20
views
How to create an hide and show header with logo size animation on top?
Hope all of you being well. I need someones help to create an header what hides on scroll to bottom and show on scroll to top, and the same time the logo shrinks on scroll to bottom and back to its ...
0
votes
1
answer
20
views
How to flexibly add header row names in flextable in R?
I'm trying to make a function that will automatically generate a flextable depending on users input, and I want the headers to be as non-repetitive as possible. For example, the current column names ...
0
votes
0
answers
23
views
flutter doesn't show custom widget in sticky_header_table
I've got a problem with sticky_header_table and a custom widget, which I want to display in the columns title. The widget I want to display is a circle avatar with a image or just a color and name.
I ...
0
votes
1
answer
15
views
How to handle "The given header was not found" when paging records in c# API GET request?
I'm requesting data from an API that requires paging records based on a custom header called "cursor". Only 100 records may be retrieved per call and as such I've created a while loop to ...
-2
votes
4
answers
29
views
How to change the url of the picture in css? [closed]
The picture is here I have this assignment here, and it tells me that I have to make the end of the url like this. How can I change the url name if I choose a picture from a website.
0
votes
0
answers
13
views
How to pass headers with namespace through SOAP UI?
I am working through a legacy project .
{
using(var scope = new OperationContextScope(client.InnerChannel)) {
var appKeyMsgHeader = new MessageHeader < string > ("app1"); //...
0
votes
1
answer
28
views
Undefined Symbol: Class::Class() error in C++. How can I fix this?
I have a header file with two classes in it:
//
// sportandshowticket.h
// sportticket test
//
// Created by Daniel Reinoso on 5/24/22.
//
#ifndef sportandshowticket_h
#define ...
0
votes
0
answers
17
views
VSCode choose from different license headers when creating new file [closed]
Is there a possibility in VSCode (or an extension) to create a license header dynamically when creating a new file? What I mean by this is that when I create a new file it should be asked first to ...
2
votes
2
answers
29
views
New dataframe based on column headers
I have a large dataframe with 600+ columns
Approx 40 of these will have the word 'austria' in them. If I'm making a new dataframe just for austrian data is there an easy way to create a new data frame ...
0
votes
1
answer
93
views
Is there a way to see what's inside the stdio.h or how it's implemented?
Is there a way to see what's inside the stdio.h or how it's implemented?
I learned that the standard functions are declared in the stdio.h file
and I can't find it in my computer
plus I heard that ...
0
votes
0
answers
25
views
Default Function Parameters in C++ Header/Class Files [duplicate]
I have a function 'transfer(int arr[12][7], char letter = 'a')' that is in another class with a header files that takes in 2 parameters. I am trying to set the letter as a default parameter, so I ...
0
votes
0
answers
23
views
Main function is causing redefinition error in header file with class in it. Why? [duplicate]
I have a class (ShowTicket) in a header file (showticket.h) and it outputs no errors on its own like so:
#include <iostream>
#include <string>
#include <sstream>
using namespace std;
...
0
votes
1
answer
14
views
header in csv file printing every other line
I've been working this problem way too long, please explain to me why the header keeps repeating in my output csv.
I have an input csv with this data:
name,house
"Abbott, Hannah",Hufflepuff
...
1
vote
1
answer
19
views
aiohttp check request headers after receiving response
here's the problem:
I have a list of authorization headers to check.
For that, I use aiohhtp
def make_tasks(session, proxies, unchecked_headers):
tasks = list()
for unchecked_header in ...
0
votes
0
answers
21
views
I´m having some problem with my header/footers and my sidecolumn
I would really appreciate some tips och advise! I have struggle!!
My headers and footers doesnt cover the entire width of the page and I dont understand why, this should be done with javascript. Also ...
0
votes
0
answers
19
views
Merging Tables using PrettyTable Module (Python3)
I'm trying to combine a couple of tables that I've already created into one large table output.
Input:
cnt = Counter()
for ip in srcIP:
cnt[ip] += 1
table1= PrettyTable(["SRC.IP", &...
0
votes
1
answer
39
views
How to define static method in a cpp file. (C++)
I wan to have my class in a separate .h file, and the implementation in a .cpp file. The problem I run into is "Multiple definition of methodname". If I put the content of both files in a ....
1
vote
1
answer
26
views
Why is my implementation of CSP returning errors?
I'm trying to add CSP to a page of a PHP application but I'm getting the error
The Content-Security-Policy directive name 'script‑src' contains one or more invalid characters. Only ASCII alphanumeric ...
0
votes
3
answers
26
views
Media query in style.css doesn't affect all header parts. How can I target all headers?
This is my code:
@media screen and (max-width: 480px) {
header {
background-color: blue;
}
}
On mobile, my main header (Header Dark Small > Group > Row) stays the default background ...
-2
votes
0
answers
16
views
not able to change header and footer in tcpdf codeigniter php [closed]
i have a codeigniter website where i am generating pdf using tcpdf, the code looks like below:
$this->load->library('MYPDF');
$pdf = new MYPDF(PDF_PAGE_ORIENTATION, PDF_UNIT, ...
-1
votes
0
answers
8
views
Does adding Access-Contr-Expose-Headers increase the size of the headers returned?
I work for a large company that is already pushing the boundaries of header size limits on AWS Lambda among other things. If I were to expose additional headers aside from the CORS safe-listed headers,...
-1
votes
0
answers
9
views
Solution to header location when you move localhost to server [duplicate]
I have checked lots of posts to try to know why header() doesn't worked when I uploaded my project to my hosting, because it was working when I was checking it on localhost.
Include error_reporting(...
0
votes
2
answers
41
views
How do I include cufft.h file in a fortran code?
I have a Fortran code which has been made to work on CPUs, but I need to accelerate it using GPUs and I chose to do that with OpenACC.
This code uses FFTW libraries when compiled with gfortran. ...
0
votes
1
answer
47
views
No matching Constructor Error For Initialization in c++. Whats wrong with my constructor?
I have a class in a header file as follows:
#include <iostream>
#include <string>
#include <sstream>
using namespace std;
class ShowTicket {
public:
bool is_sold(void)...
-1
votes
1
answer
28
views
Custom Script For PDF loading in WordPress: Failed to load PDF document
What I need:
I need a PHP script, that can load some PDF files stored in a specific directory.
For example if I go to URL www.mydomainameweb.com/wp-content/themes/elegant/pdf.php?file=a.pdf (or www....
0
votes
0
answers
30
views
Use of undeclared identifiers even though class is created in c++
I have created a class ShowTicket coded as follows in a header file:
#include <iostream>
#include <string>
#include <sstream>
using namespace std;
class ShowTicket {
public:
...
1
vote
1
answer
16
views
Passing token in header through variable getting an error of ParseException
Will try to be precise in asking question. Sorry if couldn't do it up to the mark!
Was given an assignment to automate api from the given below link
https://restful-booker.herokuapp.com/apidoc/index....
0
votes
0
answers
13
views
How to prevent of converting header name into lower case - Node JS?
I am developing a web application in nodejs where I am sending http-header from server to client end.
My query is, while I am sending any header from server then at client end I always get it into ...
-2
votes
0
answers
13
views
TEX - How do i keep the header onto just 1 page for this resume
The code is on overleaf and can be accessed using this link:
https://www.overleaf.com/6361186995vqsdgywnfxwx
for some reason I am unable to post the code here if you could please make changes over the ...
0
votes
0
answers
38
views
C++ function dividing fractions not working
So recently I've implemented a fractions calculator in my project. I have made a custom header file for this, and included it in the cpp app. However, I always get this error: No matching function for ...
0
votes
0
answers
25
views
How to resolve ERR_CACHE_MISS with PHP after using back button?
I have a page on my website that contains several sorting buttons.
I would like to avoid ERR_CACHE_MISS error in the eventuality that the user tries to click back after using them.
I tried this :
...
0
votes
0
answers
16
views
Headers in react don't persist
Okay so this may be a really junior question but I have just started working with react and I don't know much about it.
The thing is: I'm trying to code an ecommerce. To access a certain page of the ...
0
votes
0
answers
14
views
Xcode change the description(header) of the file that was just created
When I create a new file in my project in the file header, I find this:
//
// NameFile.swift
// NameProject
//
// Created by Name Surname on dd/mm/yy.
//
I would like to change it, but in the ...
0
votes
1
answer
15
views
Consume Wep Api with Header Parameter
I wrote web api and consume it with postman succesfully, in header there is variable and its value.
Parameter name is ApiKey and i loaded value in the postman, So web api return answer succesfully.
...
-1
votes
0
answers
7
views
Main page header is different
My main page header is different than others, i have 15 pages and 14 of them have same header but in main page is different. I tried to apply other header only to main page and it works but i need to ...
0
votes
0
answers
13
views
How can I reach the 'Retry-After' response header using axios?
I'm building a simple Vue2 app with Auth section, which makes requests to REST API service.
So, I have my axios instance:
const instance = axios.create({
baseURL: BASE_URL,
timeout: ...
0
votes
0
answers
16
views
How to echo one value from JSON response from the code below [duplicate]
The following piece of code displays data from an API.
How do i echo only one value from the displayed data, For example only echo FIRSTNAME
I have tried many solutions from Stackoverflow and other ...
0
votes
0
answers
15
views
Why do I get an error on header redirect?
I am writing a code where I want to check if the user is logged in and, if yes, redirect the user to the profile page. Else, redirect the user to the login page. But I'm getting an ...
0
votes
0
answers
19
views
VSCode C/C++ IntelliSense ignore patterns for includePath and browse.path
Is there a feature in VSCode IntelliSense that allows to ignore specific header files for includePath and browse.path settings?
In my case I have a CMake based firmware project with 2 active compilers....
0
votes
2
answers
21
views
How do I add an image to the ''buttons'' on the header on my page?
Is there a way where I could change the normal plain buttons on the header like this one? (Image bellow) I have the debut theme and working on Shopify
image
0
votes
0
answers
19
views
Header x-rapidapi-proxy-secret not forwarded by Heroku
I wrote and API with RapidAPI and deployed it on Heroku. I then listed the API on RapidAPI marketplace which uses a x-rapidapi-proxy-secret header to help me make the api is accessible only through ...
0
votes
1
answer
46
views
How can I encapsulate code dealing with matrices and make it reusable?
At my course we are getting tasks that always start with filling a random matrix size nxm with random numbers.
I want to create(a library?, a class?) some structure so than any time I want to generate ...
0
votes
1
answer
24
views
Saving a file locally instead of on the server
I have a php script which opens a csv file, edits it, then saves it using 'file_put_contents'. The saved location is the same server directory which contains the script.
file_put_contents($destination,...
0
votes
1
answer
32
views
Header won't change size and position when I open full page menu
I can't seem to change my header size and position when my menu opens. I would like to move the header up and decrease the size. Instead of doing that, when I toggle the menu button, the header simply ...
0
votes
0
answers
25
views
Kubernetes Apache Headers
How we can edit Apache config file in a Kubernetes environment?
Usually I do edit some security in the .conf for all the headers.
Exemple:
Content-Security-Policy
X-Frame-Options
X-Content-Type-...
1
vote
1
answer
44
views
how to pass bearer token authentication as part of http:get method in MarkLogic?
Trying to fetch the details through xdmp:http:get function using below code but while executing, getting following error:
Socket connect error: SSL_connect 127.0.0.1:65238-127.0.0.1:5001: ...
0
votes
1
answer
21
views
Loading a csv with pd.read_csv and returning a df with column names parsed from the header
Given a csv like:
How can I load it into a pandas df (e.g., with pd.read_csv()) such that it looks like the dataframe below:
0
votes
1
answer
31
views
How to pass URL query string to website header?
I have this type of URL:
www.domain.com/postname?emailid=somethingsomething
I must place this part:
somethingsomething
inside WP header, more accurate inside JS snippet, as follows:
<script>
...
0
votes
2
answers
61
views
SAS Proc report - ODS EXCEL column/header width
I did a proc report and the HTML result shown in SAS gives me what i want which is :
But in EXCEL the output i get doesn't display the text horizontally it skips a line :
Here is my code :
ods excel ...
0
votes
0
answers
11
views
Header Fixed-top issue
<div className='header-div bg-slate-900 top-0 fixed z-10 w-full '>
<CustomLink className='click' to='/home'>Home</CustomLink>
<CustomLink className='click' to='/...