Skip to content

Instantly share code, notes, and snippets.

Farhan Saeed farhangithub27

Block or report user

Report or block farhangithub27

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
farhangithub27 / ssh_config
Last active Mar 11, 2020
ssh configurations to store private key passphrase into mac os keychain and ssh agent so that we dont have to enter password each time we ssh into a remote server
View ssh_config
# got into ~/.ssh folder and do vi config
# Enter following lines
# Host
# OR for all host
Host *
IdentityFile ~/.ssh/id_rsa
UseKeychain yes
AddKeysToAgent yes
# Optionally replace ~/.ssh/id_rsa with the path to your key. To add additional keys, add a new line for each key with: IdentityFile /path/to/your_key.
farhangithub27 / git_config
Last active Mar 11, 2020
git configuration
View git_config
repositoryformatversion = 0
filemode = false
bare = false
logallrefupdates = true
ignorecase = true
[color] # colorize output
diff = auto
status = auto
branch = auto
farhangithub27 /
Last active Mar 6, 2020
how to set paths for python and pipenv in vscode and .zshrc file in $PATH variable only for pipenv

MAC OS Catalina

Python Path:

In .vscode folder where your workspace settings are included set your location of python and pipenv package as follows

    "python.pythonPath": "/Users/farhansaeed/.local/share/virtualenvs/ga_loader-8xg8-7fK/bin/python",
    "python.pipenvPath": "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages",
    "python.linting.pylintEnabled": true,
farhangithub27 / oh-my-posh custom plugins
Last active Mar 10, 2020
custom plugins I'm using for oh my zsh/posh
View oh-my-posh custom plugins
farhangithub27 / git_commands
Created Mar 4, 2020
helpful commands for git
View git_commands
git log --graph --abbrev-commit --decorate --date=relative --all
farhangithub27 / mp-etl data pipeline issues and resolutions.
Last active Mar 4, 2020
Issues encountered with mp-etl data pipeline and resolution.
View mp-etl data pipeline issues and resolutions.
1. Vertical value in lake verticals table.
If even one vertical has this value missing it will affect all verticals.
Bhanu reported that myer2 is not getting any data in datamart tables after its mp-etl pipeline deployment.
She also pointed that other verticals have some missing data too like from 1st of march. e.g. Analytic table etc
She pointed out following tables
Analytic – Feb 1st
Search – Feb 15th
farhangithub27 / new mac aws credentials configuration steps
Last active Mar 3, 2020
Steps on how to configure new laptop (Mac Windows) to access aws via terminal/command prompt
View new mac aws credentials configuration steps
Install aws-cli using brew for version 2
$brew install awscli
This will create a hidden ~/.aws inside your ~ (Users/farhansaeed) dir
with an empty config file to carry profiles.
OR aws-shell which comes with command completion.
We can use any of the two. However I have installed both for learning.
Install aws-vault from brew cask
$ brew cask install aws-vault
You can’t perform that action at this time.