Plugins: ElixirLinter ElixirLS Beautify Better Comments Bracket Pair Colorizer Docker HtmlSnippets
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
| { | |
| "workbench.colorTheme": "Omni", | |
| "editor.fontSize": 17, | |
| "editor.fontWeight": "500", | |
| "editor.lineHeight": 24, | |
| "editor.fontFamily": "Fira Code", | |
| "editor.fontLigatures": true, | |
| "terminal.integrated.fontSize": 14, | |
| "editor.formatOnSave": true, | |
| "workbench.iconTheme": "material-icon-theme", |
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
| { | |
| "workbench.colorTheme": "Omni", | |
| "workbench.iconTheme": "material-icon-theme", | |
| "editor.fontFamily": "Fira Code", | |
| "editor.fontSize": 18, | |
| "editor.fontLigatures": true, | |
| "terminal.integrated.shell.windows": "C:\\Program Files\\Git\\git-bash.exe", | |
| "json.schemas": [], | |
| "workbench.editorAssociations": [ | |
| { |
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
| .DayPicker { | |
| background: #28262e; | |
| border-radius: 10px; | |
| } | |
| .DayPicker-wrapper { | |
| padding-bottom: 0; | |
| } | |
| .DayPicker, |
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
| -# https://johnbeatty.co/2018/03/09/stimulus-js-tutorial-how-do-i-drag-and-drop-items-in-a-list/ | |
| .grid--draggable{ 'data-controller': 'seating-plan', | |
| 'data-seating-plan-endpoint': endpoint, | |
| 'data-action': 'dragstart->seating-plan#onDragStart dragover->seating-plan#onDragOver dragenter->seating-plan#onDragEnter drop->seating-plan#onDrop dragend->seating-plan#onDragEnd' } | |
| - seating_plan.each do |seat| | |
| - if seat[:is_empty] | |
| .grid__item.grid__item--empty{ 'data-row': seat[:row], | |
| 'data-col': seat[:col], | |
| style: "grid-row: #{seat[:row]}; grid-column: #{seat[:col]};", | |
| class: ('grid__item--border' if seat[:is_border]) } |
This gist is an example of how you can simply install and run and extended Postgres using docker-compose. It assumes that you have docker and docker-compose installed and running on your workstation.
- Requires
dockeranddocker-compose - Clone via http:
git clone https://gist.github.com/b0b7e06943bd389560184d948bdc2d5b.git - Make
load-extensions.shexecutable - Build the image:
docker-compose 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
| #!/usr/bin/env bash | |
| set -e | |
| # https://docs.docker.com/engine/install/ubuntu/ | |
| sudo apt-get -y install apt-transport-https ca-certificates curl software-properties-common | |
| curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add - 2>/dev/null | |
| sudo echo "deb [arch=amd64] https://download.docker.com/linux/$(lsb_release -is | tr '[:upper:]' '[:lower:]') bionic stable" > /etc/apt/sources.list.d/docker.list | |
| sudo apt-get -y update |
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
| # project-repo/app/settings/.env-example | |
| # | |
| # DJANGO | |
| # | |
| SITE_HOST=localhost:8000 | |
| USE_SSL=False | |
| ALLOWED_HOSTS=localhost,127.0.0.1 | |
| SECRET_KEY=asdasd | |
| DEBUG=true # never on production, will cause settings including api keys to leak | |
| DJANGO_LOG_LEVEL=DEBUG |
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
| LoadModule wsgi_module modules/mod_wsgi.so | |
| WSGIPythonHome "ruta_absoluta_entorno_virtual\\" | |
| WSGIPythonPath "ruta_absoluta_apache\\htdocs\\mi_proyecto\\" | |
| <VirtualHost *:*> | |
| WSGIScriptAlias / "ruta_absoluta_apache\\htdocs\\mi_proyecto\\mi_proyecto\\wsgi.py" | |
| Alias /static/ "ruta_absoluta_apache\\htdocs\\mi_proyecto\\deploy\\static\\" | |
| Alias /media/ "ruta_absoluta_apache\\htdocs\\mi_proyecto\\deploy\\media\\" | |
| <Directory "ruta_absoluta_apache\\htdocs\\mi_proyecto\\mi_proyecto\\" > |
NewerOlder