Questions tagged [head]

DO NOT USE as this is an ambigous tag. It might refer to HTML <head> element, UNIX command, HTTP HEAD method. Instead use [html] for questions about html, [http-head] for questions about the HTTP HEAD method, [unix-head] for question about the UNIX head command.

Filter by
Sorted by
Tagged with
0 votes
0 answers
34 views

How to fix my Git HEAD after inadvertent branch push?

I've been a Git user for many moons - in Windows. I used to use CLI+Tortoise Git and rarely encountered problems. I made the switch to Linux (kubuntu 23.10), install VS Code (beauty, btw), and ...
Dennis Jorgenson's user avatar
0 votes
0 answers
17 views

How to send a HEAD request with WebClient in C#? [duplicate]

I'm trying to download just the headers of the response. I wanted to use the HTTP HEAD method like this: var response = client.UploadString(url, "HEAD", string.Empty); Unfortunately this ...
aurel's user avatar
  • 1,127
0 votes
1 answer
34 views

Magic Link blocked by Outlook SafeLink policy

I've created a login system with NextAuth where I send a magic link so the user can login through it. When I try to login with Gmail everything is ok. The problem shows up when I try to use Outlook. ...
Simão Quintela's user avatar
0 votes
1 answer
37 views

Git Log After Git Fetch Upstream

I really wanted to understand how git behaves and what's happening underneath the plans after I run a git fetch upstream HEAD on a clean local repository. Basically the steps were as follows: Create ...
rhuanpk's user avatar
  • 117
0 votes
1 answer
39 views

Difference Between HEAD and HEAD:HEAD

What is the difference between HEAD and HEAD:HEAD notation in git commands e.g.: git fetch origin HEAD:HEAD I can even understand what git fetch origin HEAD does, however, not using the other ...
rhuanpk's user avatar
  • 117
1 vote
2 answers
41 views

The POST method is not supported for route admin/bill. Supported methods: GET, HEAD

In Laravel i use ajax for adding and fetching data from MySQL Database through blade template, i have add form summation on onsubmit event. Please Help me. My codes are. Route.php Route::get('admin/...
M kumar's user avatar
0 votes
3 answers
46 views

why does the 'head' command read the string starting with '\0' correctly, with fgets doing wrong?

here the file I wanted to read out, with some unexpected '\0' inside 1 2 Mon Aug 28 14:29:29 2023 admin[::ffff:192.168.7.116]:59927: brief-show slot 1 ont-info 3 Mon Aug 28 14:29:33 2023 ...
zyh_idler's user avatar
0 votes
0 answers
17 views

Multinational page head Google Analytics code differently

I created a multinational page using Polylang. I need to put the Google Analytics code in the head, but I want to put it differently in Korean and English. Currently, the header is used together, the ...
곽이브's user avatar
0 votes
2 answers
87 views

Extending Title Service in Angular

I am very new to TypeScript and I am still trying to figure out how to extend the TitleService. Because of customizations involved in coining the Page Titles on my angular site, I have to extend the ...
hillcountry99's user avatar
0 votes
1 answer
59 views

Why do `sort | sed '1,5p'` and `sort | head -n 5` behave differently when pipefail is in use? [duplicate]

there is a different strange behavior,when it comes to pipe. bash --version GNU bash, version 4.4.20 NAME="Ubuntu" VERSION="18.04.3 LTS (Bionic Beaver)" ID=ubuntu ID_LIKE=debian ...
focus zheng's user avatar
0 votes
1 answer
32 views

My header moves when changing the page, tell me how to fix it

<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1....
Artur Chub's user avatar
-2 votes
1 answer
32 views

Coloring the head in html

Is it possible to color the head in an html file? I tried doing the same thing you do to color the body, <body style="background-color:rgb(255, 255, 255);">. I did the same with the ...
ran32's user avatar
  • 9
0 votes
1 answer
381 views

How can I load assets from the static folder in the head using Nuxt3 and nuxt.config.ts?

I'm attempting to call files from the root static/css folder into the head (via the nuxt.config.ts file), but I can't work out how to get them to load. Using npm run dev, in case that matters? My code:...
Justin Parks's user avatar
4 votes
2 answers
66 views

awk array to print line before the first match

For a block of text: USB2.1 Hub: Product ID: 0x0610 Dell Universal Dock D6000: Product ID: 0x6006 Vendor ID: 0x17e9 (DisplayLink (UK) Ltd.)...
da4's user avatar
  • 167
-1 votes
3 answers
391 views

What is the difference between <header> and <h1> in html

What is the difference between and in html, I've been recently learning it and someone asked me this question and I'm unable to conclude the perfect answer for it h1 and header can both perform the ...
Shweta Nikam's user avatar
0 votes
0 answers
39 views

How to sort Head() and Tail() function in a data item in COGNOS?

I have a quick question. I am working on crosstab in COGNOS. Here I want amount, count and average, variance1 (selected year/prior year) and variance (prior year/2year prior) of payment line code for ...
Hajrah Naeem's user avatar
-5 votes
2 answers
37 views

Head() is not showing the result

import pandas as pd df = pd.read_csv("stock_data.csv") df.head() Is not showing the result: suggestion for improvement?
karthik sekar's user avatar
1 vote
0 answers
156 views

How to render SEO component dynamically in gatsby js

I want to show the title of my page as preview when someone copy a url from this site and past it on whatsapp. The problem is index.js page loading title as preview correctly but dynamic nested page ...
Mohammad syied bin salim's user avatar
0 votes
1 answer
53 views

Dropbox returns incorrect content-type for HEAD requests

When making a HEAD request to a Dropbox link that points to an image, it responds with "content-type: application/json". I would expect image/jpeg I have tried raw=1 and dl=1 - same thing. ...
GalvaniObst's user avatar
0 votes
0 answers
101 views

Question about Head Tracker HID Protocol in Android 13

I realized that google publish a Head Tracker HID Protocol in Android 13 for supporting spatial audio. And I'm now pay some efforts on this protocol. The one question from my side is that which kind ...
Chuck.CHENG's user avatar
0 votes
1 answer
59 views

How to put script file in the head of view using EJS

I included layout to my view and also i need to make JS script to load for this view directly in the head. How to do that ? // view file <%- layout('/layout/boilerplate.ejs') %> <script> ...
Nikita Vologdins's user avatar
0 votes
0 answers
26 views

Python head of table (names) reformatingdata

Hello I would like to ask according to the following Python code: APPLE_DATA = api.get_bars('AAPL', TimeFrame.Day, "2021-01-01", "2023-02-01", adjustment='raw', limit=5000).df ...
flush83boy's user avatar
0 votes
1 answer
40 views

I want to find average of this loop

import random player = ['H','T'] player_win = [] for x in range(10): while True: random.shuffle(player) #print(player) if player[(0)] == 'H' : player_win....
Kavya Morakhiya's user avatar
2 votes
1 answer
48 views

put .js content from file in wordpress head

I want to load a .js file from my custom plugin into the section of my wordpress installation. If I use the function file_get_contents and than echo this string output, it will be placed into body ...
stips's user avatar
  • 23
0 votes
0 answers
271 views

Add javascript in script tag with React Helmet to HEAD element

I have to add this javascript: var myData = { "myPageType":"foo" } in a <script> tag to HEAD element in my React app (on a specific page). Is this the correct way: import { ...
meez's user avatar
  • 4,010
0 votes
0 answers
98 views

In ColdFusion do I add to the title tag from a document that is "Included"?

I have an index page that calls several includes using variables. Part of my site has an inventory section. I would like to insert the name of the inventory item into the title tag. From the index, I ...
kirkdickinson's user avatar
0 votes
1 answer
125 views

How to add another website by using iframe in a webpage by using html

which tag we will use for adding another webpage and how to remake it's size full length I have tried by using CSS in html of head section
V.SURYA PRAKASH REDDY's user avatar
0 votes
0 answers
15 views

Printing data past .head()

I am using this example to print zip codes given latitudes and longitudes: How do I get zipcodes from longitude and latitude on python? The first answer got me what I needed. However, now I want to ...
Language. Do you believe in it's user avatar
0 votes
2 answers
45 views

how to add background image in a webpage by using css

which tag and css we will use for adding background image and how remake it's size full length I have tried by using external css in html of head section background-image: url() ;
Pavan Kumar Bhojanapu's user avatar
1 vote
5 answers
58 views

How to find first and last sections of an alphabetically sorted list in R

how would I go about sorting a vector alphabetically and then getting the first 10 names and last 10 names printed according to the new alphabetical order? i know to use sort(names) to get the vector ...
jumpsuitgallion's user avatar
1 vote
0 answers
463 views

Favicon doesn't show on social media link previews

I have a favicon added in my HTML this way <link rel="shortcut icon" href="favicon.ico" type="image/x-icon" />. The favicon shows when opened on web browsers ...
Jeremy0x's user avatar
0 votes
1 answer
84 views

iClusterPlus error for clustering HNSC TCGA data

I'm doing clustering for HNSC TCGA dataset using iClusterPlus package I have two errors First **fit.single=iClusterPlus(dt1=df_m_tong1,dt2=df_c_tong1,dt3=df_e_tong1, type=c(&...
coding_beginner's user avatar
-1 votes
1 answer
491 views

Angular remove content of style tag in head

I use Angular 13. Angular does not display the content of the style tag in head, although it is present in the code. The content of the tag is not important, neither is the total number of tags. The ...
Mechanoid's user avatar
0 votes
3 answers
482 views

How to use head while iterating through a linked list?

We are iterating through the linked list with the help of head, that is, we are updating our head as we move forward towards i th position. Please have a look at the fuction insertIthnode. I am ...
Nakul Deshmukh's user avatar
0 votes
1 answer
661 views

Next JS Redirect Preserve SEO

I have a page called /work that contains a load or projects and their details. Individual projects don't have their own page as all their details are shown on the work page. My goal is to: Go to a ...
Luke's user avatar
  • 333
0 votes
1 answer
286 views

How to track changes between a production version and its github repo at certain hash point

We have the next situation: A while ago we cloned a develop branch repo from GitHub to our live production server. Then I started to made new commits to the dev branch at GitHub. At the same time the ...
Eugeny K's user avatar
0 votes
1 answer
753 views

How to stop Spring MVC from automatically adding the "Content-Length: 0" header to HEAD responses?

I'm specifically trying to test the case where my application doesn't receive a Content-Length header from the server, so I've set up my code not to include that header, but for some reason Spring is ...
Dasmowenator's user avatar
  • 5,621
0 votes
0 answers
24 views

White screen with no error when working with product IDs in "wp_head" hook [duplicate]

I'm trying to add a "noindex" tag for out of stock products. When I import the product IDs with global $product;, the product page and homepage are white without any errors. And when I ...
ersezar's user avatar
  • 57
1 vote
1 answer
2k views

Next JS Global and Page Specific Share Images

The Goal: I have a Next JS website with lots of pages. Some pages will have specific OG Share images for that page for Facebook etc. but some won't have specific images and will just use a generic or ...
Luke's user avatar
  • 333
0 votes
1 answer
116 views

Function defined in head not recognized in body?

Hi all I'm learning javascript and have run into a problem when defining a function in head utilizing imported functions: <script type="module"> import {g1} From './scripts/main.js'; ...
hijit's user avatar
  • 23
4 votes
1 answer
8k views

Defer attribute for the Google Tag Manager

I want to set the defer attribute for the GTM tag and it works well. But, my GTM contains another 10 scripts. The j.defer = true does not affect those scripts. How can I make those script attribute as ...
Jack Noob's user avatar
1 vote
3 answers
521 views

Instantly redirect stdout and stderr from app to file with max size

In my startup script for app on vm I have: exec /usr/java/latest/bin/java $JAVA_OPTS -jar $JAR_FILE >> /logs/$APP_NAME/startup.out 2>&1 & This causes issues with the size of the ...
jelonek's user avatar
  • 13
-1 votes
1 answer
550 views

RStudio: I cannot knit to PDF, Error: could not find function "head" Execution halted

When i try to knit a .Rmd file to PDF (or html or word) in RStudio i get the following error: could not find function "head" Execution halted What do i do? Thanks in advance!
Alexandra Goder's user avatar
2 votes
2 answers
3k views

Assets within public directory give 404 errors in Next.js App

I have been trying to get the favicon for my site (uses next.js) to show up. After going through countless Stack Overflow posts and tutorials, I am starting to get frustrated. My project's structure, ...
wisenickel's user avatar
0 votes
0 answers
1k views

How to add My SVG Logo to the tab bar of my website

I got my logo which is an SVG file for my react project which is saved in my images folder , i wanted to use this SVG icon on my browser tab , am i able to use SVG files ? and how i can link to it , i ...
user avatar
4 votes
1 answer
3k views

Blazor PageTitle tag not working after migrating to .NET Core 6

I tried to configure the page title in my Blazor Server application but, unfortunatelly, the tag <PageTitle> not working. This project was started before Microsoft release .NET Core 6 and, after ...
Berzohr's user avatar
  • 326
0 votes
0 answers
442 views

Is there a way to use the order() and head() functions together in order to print the row of the highest observation of a variable within a dataframe?

I'm trying to use order to locate the highest observation of a variable and then head to print the whole row of the dataframe that includes that observation. For example, if there were three variables ...
redwoods's user avatar
0 votes
1 answer
520 views

Count Lines, grep, head, and tail inside Feather Files

Setup: I am contemplating switching from writing large (~20GB) data files with csv to feather format, since I have plenty of storage space and the extra speed is more important. One thing I like about ...
Adrian Keister's user avatar
1 vote
1 answer
177 views

Docker container doesn't have the same behaviour in Pipeline(grep,head,sed,awk)

i got a docker container(docker:stable) where i want to get the version of a pom.xml file with the command: grep version pom.xml | grep -v -e '<?xml|~'| head -n 1 | sed 's/[[:space:]]//g' | sed -E '...
Yasin Yildiz's user avatar
-2 votes
2 answers
685 views

How to edit head tag in PHP with DOM with only DOMDocument

Just trying to edit/modify the head tag in order to add something inside with DOM and PHP. $dom = new DOMDocument(); $dom->loadHtml(utf8_decode($html), LIBXML_HTML_NOIMPLIED | ...
OverSu's user avatar
  • 110

1
2 3 4 5
17