git clone https://gist.github.com/ishu3101/6fb35afd237e42ef25f9
mv 6fb35afd237e42ef25f9 ConvertTo-Markdown
cd ConvertTo-Markdown
#!/usr/bin/python | |
from HTMLParser import HTMLParser | |
class MyHTMLParser(HTMLParser): | |
def handle_starttag(self, tag, attrs): | |
if tag == "a": | |
for name, value in attrs: | |
if name == "href": | |
print name, "=", value | |
parser = MyHTMLParser() | |
parser.feed(your_html_string) |
$ git config credential.helper store
$ git push https://github.com/owner/repo.git
Username for 'https://github.com': <USERNAME>
Password for 'https://[email protected]': <PASSWORD>
Download and install Git from MSysGit or Git SCM.
Download and install getopt.exe
from the util-linux package into C:\Program Files\Git\bin
. (Only getopt.exe
, the others util-linux files are not used). Also install libintl3.dll
and libiconv2.dll
from the Dependencies packages (libintl and libiconv), into the same directory.
Suppose that Git is installed in the folder
c:\bin\git
and GnuWin32 in the folderc:\bin\GnuWin32
.
Clone the git-flow sources from GitHub:
$ git clone --recursive https://github.com/nvie/gitflow.git
#!/bin/sh | |
echo -e "new line in shell script\n" | |
echo -e "new line using echo\n" | |
echo -e "Similar result, using cat\n" | |
echo -e "hello\nworld\n" |
The meaning of this error is that there are two newline characters in the file, git will automatically replace CRLF with LF, so a warning is given.
warning: CRLF will be replaced by LF in [File] . The file will have its original line endings in your working directory.