The command python -m simplehttpserver starts a simple HTTP server in Python 2 that serves files from the current directory.
However, this module was removed in Python 3.
For modern Python, you should use the http.server module instead.
| { | |
| "default": true, | |
| "extends": null, | |
| "MD001": true, | |
| "MD003": { | |
| "style": "consistent" | |
| }, | |
| "MD004": { | |
| "style": "consistent" | |
| }, |
| #!/bin/bash | |
| # Set permission for this file: chmod +x file-name.sh | |
| # Function to perform the required actions in each directory | |
| function process_directory() { | |
| local target_dir="$1" | |
| if [[ ! -d "$target_dir" ]]; then | |
| echo "Error: Directory $target_dir does not exist." |
curl 'https://waa-pa.xx.google.com/$rpc/xx.xx.v1.Waa/Create' \
-H 'Accept: */*' \
-H 'Accept-Language: en-GB-oxendict,en-US;q=0.9,en;q=0.8' \
-H 'Authorization: SAPISIDHASH 1750645628_xx SAPISID1PHASH 1750645628_xxx SAPISID3PHASH 1750645628_xxx' \
--data-raw '["/<app-name-hased>"]'In the request payload, we would want to send a list of feature flags
These faeature flags are abbreviated to minimize payload size and tampering.
We determine the supported functionalities in the client - The client could be a Mobile App, A web view, or web app running inside a browser.
We send these to the backend API - Each type code represents a specific capability that the client can handle or is requesting to use.
"capabilities": [{
"type": "EC"export PATH=$HOME/Downloads/nexus-3.58.1-02-unix/nexus-3.58.1-02/bin:$PATH| div { | |
| width: 100%; | |
| margin-top: 5%; | |
| text-align: center; | |
| } | |
| p { | |
| display: inline-block; | |
| width: 20%; | |
| margin: 5% auto; |
| { | |
| "workbench.colorCustomizations": { | |
| "activityBar.activeBackground": "#ff00ff", | |
| "activityBar.background": "#0000ff", | |
| "activityBar.foreground": "#00ff00", | |
| "activityBar.inactiveForeground": "#00ff0099", | |
| "activityBarBadge.background": "#ff00ff", | |
| "activityBarBadge.foreground": "#000000", | |
| "commandCenter.border": "#00ff0099", | |
| "sash.hoverBorder": "#ff00ff", |
To create a git hist alias in your Bash profile that:
you can add the following lines to your ~/.bash_profile or ~/.bashrc file:
# define a Bash function called git hist
git hist() {