- Word:
docx2txt(brew install docx2txt) - Excel:
xlsx2txt - PDF:
pdf2txt(brew install poppler) - Images:
exiftool(brew install exiftool)
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
| body { | |
| background-color: #002b36; | |
| color: #839496; | |
| font-size: 14px; | |
| white-space: pre !important; | |
| font-family: "Source Code Pro", monospace; | |
| } | |
| .property { | |
| font-weight: bold; |
direnvzsh-direnv(only with zsh)tj/n
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
| (function (window) { | |
| var log = window.console.log, fn = function () { return log; }; | |
| Object.defineProperty(window.console, 'log', { set: fn, get: fn }); | |
| })(window); |
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
| temp() { | |
| while true; do | |
| printf "\r$(vcgencmd measure_temp)"; | |
| sleep 1; | |
| done; | |
| } |
This gist explains how to setup direnv together with tj/n. When a node version isn't available at the moment the envrc file gets loaded the node version will be downloaded automatically. Happy coding! ☕
Use Homebrew to install the direnv tool.
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 | |
| # -*- coding: utf-8 -*- | |
| # usage: | |
| # ./pvc-migrate <forward|backward> <namespace> [<source> [<dest>]] | |
| DIRECTION="${1}" | |
| NAMESPACE="${2}" |