Check anyenv
pyenv install
This method can be used when you want to detect if 2 entities are next to each other
In this example you get -1 if the entities are next to each other, you can change the order of the operation like in the example 2 to get the positive number 1.
https://help.github.com/articles/removing-sensitive-data-from-a-repository/ | |
Removing sensitive data from a repository | |
If you commit sensitive data, such as a password or SSH key into a Git repository, you can remove it from the history. To entirely remove unwanted files from a repository's history you can use either the git filter-branch command or the BFG Repo-Cleaner. | |
The git filter-branch command and the BFG Repo-Cleaner rewrite your repository's history, which changes the SHAs for existing commits that you alter and any dependent commits. Changed commit SHAs may affect open pull requests in your repository. We recommend merging or closing all open pull requests before removing files from your repository. | |
You can remove the file from the latest commit with git rm. For information on removing a file that was added with the latest commit, see "Removing files from a repository's history." |
<iframe id="background-website" src="https://www.website.com" scrolling="yes" frameborder="0"></iframe> |
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8" /> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
<title>Page Title</title> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<!--<link rel="stylesheet" type="text/css" media="screen" href="main.css" />--> | |
<script src="main.js"></script> | |
</head> |
nslookup google.com |
By typing ctrl+p and ctrl+q after each other, you turn interactive mode to daemon mode, which keeps the container running but frees up your terminal. |
birdJson := `{"birds":{"pigeon":"likes to perch on rocks","eagle":"bird of prey"},"animals":"none"}` | |
var result map[string]interface{} | |
json.Unmarshal([]byte(birdJson), &result) | |
// The object stored in the "birds" key is also stored as | |
// a map[string]interface{} type, and its type is asserted from | |
// the interface{} type | |
birds := result["birds"].(map[string]interface{}) | |
for key, value := range birds { |
# Make sure you have Python 3 installed | |
python3 -v | |
# Install pyenv | |
pip3 install pyenv | |
# Add the following lines to your .bashrc or .zshrc as estipulated on the Pyenv Github: | |
# export PYENV_ROOT="$HOME/.pyenv" | |
# export PATH="$PYENV_ROOT/bin:$PATH" |