This is a simplistic setup trying to emulate at least part of i3 behaviour on MacOS using yabai. Key-bindings are partially replicated due to the presence of MacOS built-in bindings
Start with installing (and understanding) following tools
This is a simplistic setup trying to emulate at least part of i3 behaviour on MacOS using yabai. Key-bindings are partially replicated due to the presence of MacOS built-in bindings
Start with installing (and understanding) following tools
2PACX-###
of Web Published Google SpreadsheetThis is a sample script for retrieving the direct links of all sheets from the URL like https://docs.google.com/spreadsheets/d/e/2PACX-###/pubhtml
of the web published Google Spreadsheet. This sample script can be used for the following situation.
https://docs.google.com/spreadsheets/d/e/2PACX-###/pubhtml
is knownUnder above situation, unfortunately, the direct links of each sheet cannot be directly retrieved. I think that this is the specification of Google side. So in this post, I would like to introduce a workaround for retrieving the direct links of each sheet under above situation.
# uses simple terminal (could be replaced with i3-sensible-terminal) | |
# replace xclip with the clipboard tool of your choice | |
# will have last selection as content in the editor per default | |
bindsym $mod+Ctrl+Return exec "zsh -c 'file=$(mktemp); xclip -o > $file; st -n FloatingST -e vim $file; head -c -1 $file| xclip -se c;'" | |
for_window [instance="Floating.*"] floating enable | |
Whenever I want to create pull requests to a repo that I don't have write access to, I:
# Reinstall SpaceVim along with useful bunch of tools that work well together with SpaceVim. | |
# This is for Ubuntu 20.04 | |
sudo apt install -y ctags miscfiles python3-dev python3-pip rsync shellcheck software-properties-common wbritish wbritish-huge ruby ruby-dev nodejs gcc g++ make universal-ctags python3-pygments ripgrep | |
sudo select-default-wordlist | |
sudo apt-get update | |
sudo apt-get install -y --reinstall neovim | |
sudo update-alternatives --install /usr/bin/vi vi /usr/bin/nvim 5 | |
sudo update-alternatives --install /usr/bin/vim vim /usr/bin/nvim 5 |
#!/usr/bin/env python | |
""" | |
===================================== | |
PEP 20 (The Zen of Python) by example | |
===================================== | |
Usage: %prog | |
:Author: Hunter Blanks, hblanks@artifex.org / hblanks@monetate.com |