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
| /* ==UserStyle== | |
| @name Red Youtube (Cairo Refresh color changes) | |
| @author Veikko Lehmuskorpi | |
| @version 1.2.0 | |
| @namespace https://gist.github.com/VeikkoLehmuskorpi/9955c6f382c7fd1c0468f4ba8f5454de | |
| @homepageURL https://gist.github.com/VeikkoLehmuskorpi/9955c6f382c7fd1c0468f4ba8f5454de | |
| @supportURL https://gist.github.com/VeikkoLehmuskorpi/9955c6f382c7fd1c0468f4ba8f5454de | |
| @updateURL https://gist.github.com/VeikkoLehmuskorpi/9955c6f382c7fd1c0468f4ba8f5454de | |
| @license MIT | |
| ==/UserStyle== */ |
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/sh | |
| # Track and checkout a remote branch with fzf | |
| git fetch | |
| branch=$(git for-each-ref refs/remotes/origin --format='%(refname:short)'|fzf) | |
| if [ -n "$branch" ]; then | |
| git checkout -t "$branch" | |
| fi |
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/sh | |
| # Checkout a local branch with fzf | |
| branch=$(git for-each-ref refs/heads --format='%(refname:short)'|fzf) | |
| if [ -n "$branch" ]; then | |
| git checkout "$branch" | |
| fi |
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
| -----BEGIN PGP PUBLIC KEY BLOCK----- | |
| mQINBGCOxxwBEADhv1ux8fHwPM9TLoUupBejww6+jhNzoGhfjSgLfm2KKxbc2pGD | |
| UMuZCDidvwHwO0ju10EAsGqJmINc9tMr1jmAxUKZOvskEKDCUzEXl3go4T2JQF0C | |
| 834Nf+Ge6njK+312rbhFA61o0J8Mi3z/YB364XKf0kDyWzMYGMc30RBC5MpUUiNu | |
| 5PItiNEOxYp60vbjCXWr7MnJvgibI/FgdeVfdebWNQsj2Fc5pjybWMqBBuUZTvAR | |
| GM6I7LfIhCGn35a6i2L9877yKcS+YqO3MXHyLX7APIdTg+M4HfxvczPPI+S0eSHo | |
| 8zLQw2yds25a3FVJ4XCOMd0PrtZPUUea6M41NDk50bH6boBvU5b0w8W+yFXA1j0Y | |
| cq4j94q21yu3bdNSoO5XFqRU12n6Ye7Yg35FouthgjhXTZL1fKdjf8TxUn0+PnTy | |
| s+EhhTyjahmJc4CTwdIfSq546aijCSSxK/imh8w65lhHftEsgbk2RYOBo4JRPStL |
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
| #!/usr/bin/env bash | |
| # Searches the output of "docker ps" matching a string, | |
| # and views the logs of the first matching container | |
| # | |
| # Usage: | |
| # ./dlogs.sh <search_string> | |
| function dlogs() { | |
| if [ -z "$1" ] ; then | |
| echo "Usage: ./dlogs.sh <search_string>" |
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
| #!/usr/bin/env bash | |
| # Searches the output of "docker ps" matching a string, | |
| # and executes an interactive bash shell on the first matching | |
| # container | |
| # | |
| # Usage: | |
| # ./dexec.sh <search_string> | |
| function dexec() { | |
| if [ -z "$1" ] ; then |
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
| # dependencies | |
| /node_modules | |
| # public | |
| /public | |
| # production | |
| /build |
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
| // ==UserScript== | |
| // @name Typings.gg Shortcuts | |
| // @namespace veikko.dev/typings-shortcuts | |
| // @version 0.1.1 | |
| // @description typings.gg shortcuts | |
| // @author Veikko Lehmuskorpi | |
| // @match https://typings.gg/ | |
| // @grant none | |
| // ==/UserScript== |