This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Scenario 1: | |
# Your repo is at https://github.com/myuser/myrepo | |
# You have your SSH key added to GitHub. | |
# You want to use git commands in a server but don't wanna copy your private key to the server. | |
# first we test our SSH pubkey auth to GitHub, it should print something like: | |
# Hi user! You've successfully authenticated, but GitHub does not provide shell access. | |
ssh -T git@github.com | |
# then, we authenticate and forward the agent |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### Keybase proof | |
I hereby claim: | |
* I am yuriescl on github. | |
* I am yuriescl (https://keybase.io/yuriescl) on keybase. | |
* I have a public key ASBv4o1lTPx5SDivh-EIaPOrLDY95YriRAMxv_skaBto5Qo | |
To claim this, I am signing this object: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
''' | |
Focus i3 container by title or title_format (matches using similarity score) | |
Example: | |
i3-focus-title.sh title | |
If you want to execute "focus child" after focusing the container by the title, | |
you can choose how many times "focus child" will be executed by passing |