13,154 questions
-1
votes
3
answers
8k
views
how to make text below my heading?
I want to put a heading above my 3 images saying "Staff Picks". I dont understand why but for some reason it goes underneath the heading instead of below. Please help i know its basic but usually it ...
2
votes
2
answers
3k
views
Gitbook header add id and internal links
I am new to the programming community and new to Gitbook. I have searched gitbook doc but still having some syntax problems.
I have been trying to add internal links so that, on a long web page, I can ...
0
votes
1
answer
11k
views
Linux Kernel Header File Location
I am running a linux OS.
I want to know the locations of the header files.
I have tried the following :-
cd /lib/modules/$(uname -r)
But there are only two .ko files inside it. I expected results ...
0
votes
3
answers
11k
views
Inserting a background image into a Header
I was trying to insert a background image to act as a backdrop for my Header. It went well if I were to use background color to act as the backdrop for the Header
h2 {
background-color: red;
...
4
votes
1
answer
556
views
PHP How to prevent mail from leaking script and IP in header [duplicate]
I'm using PHPMailer to send out an email.
In the raw message of the email, the header contains
X-PHP-Script: /path/to/my/script.php myip6address, myip4address
I edited into the php.ini these settings
[...
-3
votes
0
answers
85
views
HttpClient and headers
I have a legacy .NET 4.8 framework project.
I have tried to get these headers:
Accept-Encoding
CacheControl
sent to my endpoint.
But looking with Fiddler, they are not sent, even if I explicitly set ...
0
votes
0
answers
26
views
How to translate CI to IC of the header of a in gtsummary table?
How to translate CI to IC (brazilian portuguese) of the header of a gtsummary table? Using theme_gtsummary_language() function, it doesn't work. I tried the modify_header() function too, but doesn't ...
3
votes
1
answer
10k
views
Websocket invalid frame header
I am sending data from a java server to a javascript client via a websocket in the following manner:
private byte[] makeFrame(String message) throws IOException {
byte[] bytes = message.getBytes(...
1
vote
1
answer
19k
views
Using authorization http header in Chrome
I am trying to see what's in an API URL however it request basic authorization http header. how do i use the header to watch the URL directly from Chrome.
1
vote
2
answers
195
views
Split columns of a table into multiple columns
I'm trying to code a PowerShell script that can iterate through the whole table, find every column with multiple values (they're delimited either by ";" or "/"), and split them. ...
6
votes
0
answers
3k
views
Expandable ListView with section header
I want to create an Expandable list view with section headers.
I managed to get these to work using listView, however, when I switch into using expandableListView, I have encountered few issues:
As I ...
-1
votes
1
answer
82
views
White Screen, Translation Loading Warning, and Header Errors with Medservice Child Theme after WordPress 6.8.3 [closed]
My site shows a white screen and some PHP warnings when I try to:
Activate any plugin
Log in to wp-admin (if logged out)
Save changes in the page builder
This happens only when using the Medservice-...
4
votes
2
answers
8k
views
Include external header file for C on Compiler Explorer
I want to run a C project on Compiler Explorer (godbolt.org) which includes some external header files. What is the procedure to include these third-party header files on there?
Screenshot of the ...
0
votes
1
answer
55
views
Grid header on the first column instead of the first row
Would it be possible to have the first column of the table or grid to be a grid.header or table.header?
I am trying to make something similar to this:
⁞ SECTION TITLE ⁞ text text text text text text ...
65
votes
6
answers
83k
views
How to get header only retrieval in PHP via curl?
Actually I have two questions.
Is there any reduction in processing power or bandwidth used on remote server if I retrieve only headers as opposed to full page retrieval using php and curl?
Since I ...
790
votes
22
answers
545k
views
*.h or *.hpp for your C++ headers / class definitions [closed]
I've always used a *.h file for my class definitions, but after reading some boost library code, I realised they all use *.hpp. I've always had an aversion to that file extension, I think mainly ...
0
votes
1
answer
9k
views
Download a CSV file using PHP
I know this subject has been discussed over and over, I've been reading possible solutions the whole day but none solves my problem.
I need to make a script to create a csv from mysql data and ...
-1
votes
1
answer
163
views
How to sort groups for a table into two proper different columns [closed]
I have the following data table
comdataframetests0
TEST GROUP mean_pre se_pre mean_post se_post std_diff p_value
1 MemTest1 PLACEBO 45.2 1.12 46.7 1.19 -1.12 0.0021
...
1
vote
1
answer
4k
views
Is there a way to specify flextable header labels by just listing the new header names in order?
I'm using flextable with a dataset that has many columns, and I want to use set_header_labels() to change them all at once, in order, without having to specify which name goes with each specific value....
0
votes
0
answers
1k
views
How to proxy a HTTP request completely by PHP?
In some PHP projects, I need to use PHP as a proxy. Below, there are examples of what I mean:
Non-Proxied requests: Website A sends data to website B and B returns responses to A.
Proxied requests: ...
2
votes
2
answers
3k
views
LocalProtocolError, the error specifically mentions an "Illegal header value" related to the Bearer token
The error you encountered is a LocalProtocolError. This error typically indicates an issue with the HTTP protocol, such as an illegal header value or a violation of the HTTP specification. In my case, ...
1
vote
1
answer
4k
views
What makes an image download instead of opening in a new tab?
Don't know where to begin debugging this.
I have a local Apache server running a PHP backend that spits out a list of links from an API to the front.
...
<li>
<a href="http://example.com/...
0
votes
0
answers
77
views
PHP readfile() problem on download content (I read all related posts before send it) [duplicate]
I'm having trouble creating a secure download on my site. It's not uploaded yet, and it's currently being tested on the XAMPP server on my PC. It should be noted that my operating system is Windows 11....
0
votes
3
answers
3k
views
PHP readfile doesn't work, but only for files greater than 20 megabyte
Here is the small script, being used to send one of two .pdf files to the user based on the GET string:
if ($fileToSend == "bigone") {
$filename = "largefile.pdf";
$header = &...
4
votes
1
answer
950
views
How to have multiple font sizes in a flextable header
I have a flextable() where I want to make the header have two font sizes. One size for the main text (say, 20 pt font), and a smaller for the parenthetical text (12 pt font). Here's code that makes ...
466
votes
21
answers
583k
views
HTTP headers in Websockets client API
Looks like it's easy to add custom HTTP headers to your websocket client with any HTTP header client which supports this, but I can't find how to do it with the web platform's WebSocket API.
Anyone ...
3
votes
1
answer
10k
views
Header search paths with gcc using C_INCLUDE_PATH
i'm confused about the following include files(with GCC)
i've A.c and B.c in folder AAA
and B.h in folder BBB
in A.c:
#include <stdio.h>
#include "B.h"
main()
{
errPrint();
}
in B.c:
#...
123
votes
5
answers
371k
views
Pythonically add header to a csv file
I wrote a Python script merging two csv files, and now I want to add a header to the final csv. I tried following the suggestions reported here and I got the following error: expected string, float ...
1
vote
2
answers
10k
views
React Native searchbar with react-navigation
I would like to add a searchbar in my header. I am using react-navigation, and want to create an effect like in the below 2 pictures. When you press the search icon, the hamburger icon becomes a arrow-...
0
votes
2
answers
104
views
VBA for Index match lookup to return multiple columns by Column name.but column name is not the first column for the lookup
I have a complex situation where I could not find answer in any forums so I'm posting this as a new question.
Basically this is a Lookup script from Sheet"Data" to my Search sheet which is ...
19
votes
12
answers
26k
views
What is the smallest Windows header I can #include to define DWORD?
I have a small header file of my own which declares a couple of functions, one of which has a return type of DWORD. I'm reluctant to drag in windows.h just to get the official definition of this type ...
1
vote
1
answer
12k
views
Color only header with pandas
Is there a way to give a colour to the header of a dataframe column with pandas?
What I have now is:
def funct(x):
c1 = 'background-color: #add8e6'
df1 = pd.DataFrame('', index=x.index, columns = ...
1
vote
3
answers
11k
views
create bitmap with filestream
I need to create a bitmap with a filestream. So far I have this Code:
using (FileStream bmp = File.Create(@"C:\test.bmp"))
{
BinaryWriter writer = new BinaryWriter(bmp);
...
0
votes
1
answer
46
views
I want to insert a button in a webpage header that is created in Tampermonkey
I would like to include/positioning a button in the header of a webpage.
It would be helpful if you could tell me how I can place a button in the header. When I tried to position that button in the ...
110
votes
6
answers
163k
views
What does a zlib header look like?
In my project I need to know what a zlib header looks like. I've heard it's rather simple but I cannot find any description of the zlib header.
For example, does it contain a magic number?
231
votes
11
answers
183k
views
Where does gcc look for C and C++ header files?
On a Unix system, where does gcc look for header files?
I spent a little time this morning looking for some system header files, so I thought this would be good information to have here.
1
vote
1
answer
290
views
How to tell which C/C++ file is including a header that's causing compiler errors
Just wondering how I work out which of my C/C++ files is resulting in me getting an error.
The error is #error: error STL1003: Unexpected compiler, expected C++ compiler. which comes from yvals_core....
0
votes
2
answers
2k
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 ...
3
votes
2
answers
25k
views
When auto-submitting a form, how do I add a header?
I’m using JQuery 1.9.2, although this question might not concern JQuery. I’m auto-submitting an HTML form using this code …
<script type="text/javascript">
$(function() {
$('#...
1
vote
1
answer
232
views
How to systematically change multiple headers' labels
I'm looking to change the S_1 through S_4 here with a one-liner, instead of typing them all out in set_header_label.
`
how I made up ft1
ft1 <- head(iris) %>%
flextable() %>%
...
18
votes
1
answer
32k
views
Extract just email headers in python
I'm having some issues trying to extract all the email headers in python. I know how to get the ones I'm looking for but I want to save all the headers and I'm not sure how to do that.
I have it ...
0
votes
0
answers
31
views
Load headers/footers without creating a page
I’m trying to generate a single PDF with multiple headers/footers and different page formats/orientations.
Here’s the situation:
I have a loop that dynamically changes the page format and orientation....
37
votes
8
answers
198k
views
C++, how to declare a struct in a header file
I've been trying to include a structure called "student" in a student.h file, but I'm not quite sure how to do it.
My student.h file code consists of entirely:
#include<string>
using namespace ...
0
votes
0
answers
53
views
Session token/headers not detected in production (Vercel)
When deployed, it fails
Cookie validation
Bypass Vercel firewall rules for API routes
even though cookie + header is seen from the browser
middleware.ts
import { NextResponse } from 'next/server';
...
2
votes
3
answers
20k
views
restore wordpress deleted menus [closed]
I am new in wordpress
I have database backup of my wordpress site
and by-mistake I have deleted all top menus
can I restore from database backup, or it is being stored in some files
which tables I ...
0
votes
0
answers
39
views
Apache CXF: how to change a SOAP Header value programatically?
I have to change the value of "To" element of the soap:Header, like this:
<To xmlns="http://www.w3.org/2005/08/addressing">https://MY_NEW_SERVER_URL</To>
I created an ...
0
votes
1
answer
257
views
How do I add page headers and footers to a MacOS print in Swift?
I have a Mac app that includes the ability to print some HTML. That part works fine and I get the print dialog popup and can print the output. However, the output needs have headers and footers added (...
50
votes
3
answers
47k
views
std::find 'error no matching function'
Say that I have a class A and a class B that look like that:
Class A
{
private:
int a;
public :
bool operator==(const A &) const;
//other methods(...)
}
Class B
{
private:
std::vector<A&...
17
votes
1
answer
3k
views
browsers don't display authorization header in devtools
Sometimes we need to troubleshoot NTLM or Kerberos configurations.
But browsers (I tried Edge, Firefox, Chrome) don't show the HTTP Authorization header in F12 devtools anymore. This header was shown ...
10
votes
4
answers
5k
views
Set a header by Content-Type
I have used this before;
<IfModule mod_expires.c>
ExpiresActive On
ExpiresByType image/gif "now plus 2 weeks"
// Lots omitted here
</IfModule>
And this;
<IfModule mod_headers.c&...