36 When to use API Keys
When to use API Keys Managing access and safeguarding resources is where API keys come into play. An API may require API keys for part or all of its methods. In this reading, we delve into the con...
When to use API Keys Managing access and safeguarding resources is where API keys come into play. An API may require API keys for part or all of its methods. In this reading, we delve into the con...
Command $ vim all_checks.py Modify code Modify the parameter to min_gb #!/usr/binenv python3 (...) def check_disk_full(disk, min_gb, min_percent): """Returns True if there isn't enough disk sp...
Command $ git checkout -b refactor Code output Switched to a new branch 'refactor' Command $ vim all_checks.py File with code (...) def main(): if check_reboot(): print("Pending Rebo...
Command $ git checkout master Code output Switched to branch 'master' Your branch is up to date with 'origin/master'. Command $ git pull Code output Remote: Enumerating objects: 5, done. Remo...
Command $ vim all_checks.py Modify code Add the function check_no_network (...) import socket (...) def check_root_full(): """Returns True if the root partition is full, False otherwise.""" ...
Study guide: Conflict resolution In Git, merge conflicts, or conflicts that occur when merged branches have competing commits, are not uncommon when working with a team of developers or when workin...
Terms and definitions Application Programming Interface (API) key: This is an authentication token that calls an API, which is then called to identify the person, programmer, or program trying to a...
Command $ git clone https://github.com/artwalker/rearrange.git Code output: Cloning into 'rearrange'... remote: Enumerating objects: 9, done. remote: Counting objects: 100% (9/9), done. remote...
Command $ vim README.md Modify code: Rearrange ========= This module is used for rearranging names. Turns "LastName,FirstName" into "Firstname LastName" # Example Calling `rearrange_name("Tur...
Command $ git rebase -i master Code output: pick 736d754 Add a simple README file pick 01231b0 Add more information to the README (...) Modify file: pick 736d754 Add a simple README file squash...