Questions tagged [heading]
227 questions
487
votes
14 answers
How to export table as CSV with headings on Postgresql?
I'm trying to export a PostgreSQL table with headings to a CSV file via command line, however I get it to export to CSV file, but without headings.
My code looks as follows:
COPY products_273 to '/tmp/products_199.csv' delimiters',';

Elitmiar
- 35,072
- 73
- 180
- 229
73
votes
11 answers
Calculate compass bearing / heading to location in Android
I want to display an arrow at my location on a google map view that displays my direction relative to a destination location (instead of north).
a) I have calculated north using the sensor values from the magnetometer and accelerometer. I know this…

Damian
- 8,062
- 4
- 42
- 43
31
votes
9 answers
Process CSV Into Array With Column Headings For Key
I have a CSV with the first row containing the field names. Example data is...
"Make","Model","Note"
"Chevy","1500","loaded"
"Chevy","2500",""
"Chevy","","loaded"
I need my data formatted in an array of key-value pairs where the key name is the…

Bit Bucket
- 942
- 4
- 10
- 13
15
votes
2 answers
emacs orgmode do not insert line between headers?
In emacs org-mode, when I make a new sub-heading,(org-insert-subheading), sometimes it adds a blank line, sometimes it doesn't based on some pattern in text above.
Can I force emacs to never insert a line break?
I.e,
* Heading 1
** Heading 2 #no…

Leo Ufimtsev
- 6,240
- 5
- 40
- 48
13
votes
6 answers
How to underline section-headings in LaTeX?
EDIT: As I see in the first answer, underline is the wrong word. I want a line under the section heading, separating the heading from the following text.
I want to separate section headings from the following text with a horizontal line. At the…

Mnementh
- 50,487
- 48
- 148
- 202
11
votes
2 answers
Numbered headings and table of contents in Google Colab
Is there a way to enable numbered headings and table of contents in Google Colab?
Similar question: markdown - Numbered headers in jupyter notebooks - Stack Overflow for Jupyter Notebook (which requires an nbextension).
Need solution for Google…

Shreck Ye
- 1,591
- 2
- 16
- 32
11
votes
2 answers
Incorrect results arrow (angle) to geolocation
I have a question about showing an arrow to a location.
This is what I have:
You can save your current location in the localstorage. A while later when you are for example 30 meters further you can click on the second button "Show direction to…

nielsv
- 6,540
- 35
- 111
- 215
10
votes
4 answers
Android accessibility identify heading
I have the latest version of Talkback and its announcing "My Top level Text Heading". Android native behaviour is adding "Heading" for my top level elements. I could not find a way to switch ON/OFF heading announcement. Is there an API to control…

Shivam
- 123
- 1
- 1
- 5
10
votes
1 answer
How to detect compass calibration switch state on iOS
I am currently working with the CLLocationManager and want to get informed about the current heading of the device. So far everything works fine, features are implemented and now i try to polish my app.
There is a corner case, if the user will turn…

Alathink
- 263
- 1
- 3
- 11
9
votes
3 answers
How to link to heading containing dot (.) or comma (,) in markdown file (Table of contents)?
In my Readme.MD markdown file I want to create Table of Contents (for Github). [TOC] (generated by Typora) doesn't show on Github. It shows like [TOC]. Some of my headings contain characters like a dot or a comma. Is there any way to link to these…

LowLevel
- 1,085
- 1
- 13
- 34
8
votes
2 answers
How do I change markdown heading color by heading level in VS Code editor?
My question is similar to this one but the answer given there is for Vim and I need one for VS Code. I'm a real newbie, and I tried to solve this myself, but these attempts failed me:
Markdown Preview GitHub Styling - Says it allows user-defined…

user276198
- 81
- 1
- 2
8
votes
3 answers
How to bind an action to the heading of a tkinter treeview in python?
I am using the tkinter Treeview widget to show a database. The command when clicking on one of the headings is used for sorting the table based on the clicked column.
Additionally I want a tooltip box show up as soon as I hover (or right click) over…

Jonnnny
- 95
- 1
- 2
- 6
8
votes
2 answers
Which iOS class/code returns the magnetic North?
I want to get the device's deviation from the magnetic North in degrees, and use that value in some code I'm writing.
I don't want to use the device's location services and therefore I'm not interested in getting the True north but rather the…
user1073400
6
votes
1 answer
How to set correct heading for Google Maps JavaScript API Version 3 in case of postal address is specified?
I am struggling with the following problem and can not find any solution in the Goolge Maps API docs or in the net, therefore I will try to post my question here:
I was using Googles Static StreetView Image API, where you can pass as a location a…

Alathink
- 263
- 1
- 3
- 11
6
votes
1 answer
Point to location using compass
I am trying to develop a compass for an appliation which has a set of annotations on a map. I would like to be able to choose an annotation and then have the compass point the user to the chosen location.
I have calculated the degress from the…

simonbs
- 7,932
- 13
- 69
- 115