_
__| | _____ __ ___ _ ____ __
/ _` |/ _ \ \ / / / _ \ '_ \ \ / /
| (_| | __/\ V / | __/ | | \ V /
\__,_|\___| \_/ \___|_| |_|\_/
macOS Basic
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 SwiftUI | |
| struct KeyframeValues { | |
| var scale = 1.0 | |
| var horizontalStretch = 1.0 | |
| var verticalStretch = 1.0 | |
| var translation = 0.0 | |
| var rotation = Angle.zero | |
| } |
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
| ### INSTALLATION NOTES ### | |
| # 1. Install Homebrew (https://github.com/mxcl/homebrew) | |
| # 2. brew install zsh | |
| # 3. Install OhMyZsh (https://github.com/robbyrussell/oh-my-zsh) | |
| # 4. brew install reattach-to-user-namespace --wrap-pbcopy-pbpaste && brew link reattach-to-user-namespace | |
| # 5. Install iTerm2 | |
| # 6. In iTerm2 preferences for your profile set: | |
| # Character Encoding: Unicode (UTF-8) | |
| # Report Terminal Type: xterm-256color | |
| # 7. Put itunesartist and itunestrack into PATH |
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
| " URL: http://vim.wikia.com/wiki/Example_vimrc | |
| " Authors: http://vim.wikia.com/wiki/Vim_on_Freenode | |
| " Description: A minimal, but feature rich, example .vimrc. If you are a | |
| " newbie, basing your first .vimrc on this file is a good choice. | |
| " If you're a more advanced user, building your own .vimrc based | |
| " on this file is still a good idea. | |
| "------------------------------------------------------------ | |
| " Features {{{1 | |
| " |
Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000
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
| 1. Descargar la imagen de Docker Hub | |
| docker pull adguard/adguardhome | |
| 2. Creamos los directorios para la persistencia de datos, en mi caso | |
| mkdir -p ~/Projects/docker/adguard/workdir | |
| mkdir -p ~/Projects/docker/adguard/confdir | |
| 3. Arrancamos el contenedor |
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 locale | |
| locale.setlocale(locale.LC_ALL, "es_ES.UTF-8") |

