Stage All Delete files
git rm $(git ls-files --deleted)
OR
git add `git ls-files --deleted`
Unstage File in git
git reset -- fileName
Example: git reset -- index.html
Stage All Delete files
git rm $(git ls-files --deleted)
OR
git add `git ls-files --deleted`
Unstage File in git
git reset -- fileName
Example: git reset -- index.html
from bs4 import BeautifulSoup | |
import requests | |
url = 'https://en.wikipedia.org/wiki/Transhumanism' | |
# get contents from url | |
content = requests.get(url).content | |
# get soup | |
soup = BeautifulSoup(content,'lxml') # choose lxml parser | |
# find the tag : <img ... > | |
image_tags = soup.findAll('img') |
// It is important to declare your variables. | |
(function() { | |
var foo = 'Hello, world!'; | |
print(foo); //=> Hello, world! | |
})(); | |
// Because if you don't, the become global variables. | |
(function() { |