
How do I delete a Git branch locally and remotely?
Jan 5, 2010 · git branch -a Pruning the obsolete local remote-tracking branch origin/X If you didn't delete your remote branch X from the command line (like above), then your local repository will still contain …
How to to resize an ext4 partition from the command line?
What's the easiest way to resize an ext4 partition (or any type partition depending on the method) from the command line (potentially with the fewest commands, but also the easiest to understand)? ...
How to read a file line-by-line into a list? - Stack Overflow
How do I read every line of a file in Python and store each line as an element in a list? I want to read the file line by line and append each line to the end of the list.
How can I verify SSL certificates on the command line?
Jul 7, 2011 · I'm trying to validate/verify that the rsa key, ca-bundle, and certificate stored here are ok. They are not being served by a webserver. How can I verify them?
How do I break a string in YAML over multiple lines?
Sep 6, 2016 · You can control the handling of the final new line in the string, and any trailing blank lines (\n\n) by adding a block chomping indicator character: >, |: "clip": keep the line feed, remove the …
How can I use sed to replace a multi-line string?
Aug 16, 2016 · $!: Every line other than last So expanded, this is what happens on each line of an N line input. 1: h, d 2: H, d 3: H, d . . N-2: H, d N-1: H, d N: H, g The g command is not given a line …
Notepad++ add to every line - Stack Overflow
Jan 16, 2017 · I'm using Notepad++ and I can't figure this out : I have numerous lines all starting with http. I need to add some text in front of it in every line. Also, I need to add different text to the end...
use dhcp on eth0 using command line - Unix & Linux Stack Exchange
Oct 29, 2016 · I am trying to set the eth0 interface to use dhcp to get an ipv4 address, using the command line. I can manually change the ip address using sudo ifconfig eth0 x.x.x.x netmask x.x.x.x …
git - How to change line-ending settings - Stack Overflow
Is there a file or menu that will let me change the settings on how to deal with line endings? I read there are 3 options: Checkout Windows-style, commit Unix-style Git will convert LF to CRLF when
How to add a forced line break inside a table cell - TeX
Feb 20, 2017 · I have some text in a table and I want to add a forced line break. I want to insert a forced line break without having to specify the column width, i.e. something like the following: \\begin{tabular...