This file contains hidden or 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
| /*------------- --------------------*/ | |
| /* Typography */ | |
| /*------------- --------------------*/ | |
| /*-----------------------------*/ | |
| /* Colors */ | |
| /*-----------------------------*/ | |
| /*-------------------------------------*/ | |
| /* CSS Variables */ | |
| /*-------------------------------------*/ | |
| :root { |
This file contains hidden or 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
| import json | |
| data = json.loads( | |
| '{"tracks":[{"album":{"album_type":"single","artists":[{"external_urls":{"spotify":"https://open.spotify.com/artist/3TVXtAsR1Inumwj472S9r4"},"href":"https://api.spotify.com/v1/artists/3TVXtAsR1Inumwj472S9r4","id":"3TVXtAsR1Inumwj472S9r4","name":"Drake","type":"artist","uri":"spotify:artist:3TVXtAsR1Inumwj472S9r4"}],"available_markets":["CA","MX","US"],"external_urls":{"spotify":"https://open.spotify.com/album/1YxmW7DO2dM05gwMKTbr7l"},"href":"https://api.spotify.com/v1/albums/1YxmW7DO2dM05gwMKTbr7l","id":"1YxmW7DO2dM05gwMKTbr7l","images":[{"height":640,"url":"https://i.scdn.co/image/5b14b24dea78b0a14244ccb86f3bfd20bf77326d","width":640},{"height":300,"url":"https://i.scdn.co/image/177939e6656bd0ae46d12e1f36e9162016d28a3c","width":300},{"height":64,"url":"https://i.scdn.co/image/7b42b976267520f4dbb2f67e1baa63ca13bdbfdb","width":64}],"name":"Fake Love","type":"album","uri":"spotify:album:1YxmW7DO2dM05gwMKTbr7l"},"artists":[{"external_urls":{"spotify":"https://open.spotify.com/ |
This file contains hidden or 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
| #!/bin/bash | |
| alias brewup="brew update && brew outdated | rg '^[^ ]+' | fzf -m | tr '\n' ' ' | xargs brew upgrade" | |
| brew update && brew outdated | rg '^[^ ]+' | fzf -m | tr '\n' ' ' | xargs brew upgrade | |
| # __________________________ ___________ _______ ___________ __________________ | |
| # | | | | | | |
| # | | | | ---------------- pass args to brew upgrade | |
| # | | | --------------------------------- join multiline results to single line | |
| # | | -------------------------------------------- use fuzzy finder to select multiple packages |
This file contains hidden or 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
| # add to .gitconfig | |
| [alias] | |
| ch = !git checkout $(git reflog show --pretty=format:'%gs ~ %gd' --date=relative | grep 'checkout:' | grep -oE '[^ ]+ ~ .*' | awk -F~ '!seen[$ 1]++' | head -n 20 | cut -d '~' -f 1 | fzf) | |
| # add to .zshrc | |
| alias gcoo="git ch" | |
| # use as: |
OlderNewer