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
# syntax=docker/dockerfile:1 | |
FROM python:3.12.1-slim-bookworm AS base | |
ENV LANG=C.UTF-8 | |
ENV LC_ALL=C.UTF-8 | |
ENV PYTHONUNBUFFERED=1 | |
ENV PYTHONDONTWRITEBYTECODE=1 | |
ENV APP_ROOT=/app | |
WORKDIR ${APP_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
# curl -Lks <link-to-this-gist> | bash | |
set -e | |
#------------------------------------------------------------------------------# | |
# Download | |
#------------------------------------------------------------------------------# | |
echo "> Downloading dotfiles..." | |
dir=.dotfiles | |
git clone --quiet --bare https://github.com/pablospizzamiglio/dotfiles.git "$HOME/$dir" |
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
{ | |
"name": "Gruvbox Dark - Hard", | |
"background": "#1d2021", | |
"foreground": "#fbf1c7", | |
"brightRed": "#Fb4934", | |
"brightGreen": "#b8bb26", | |
"brightYellow": "#fabd2f", | |
"brightBlue": "#83a598", | |
"brightPurple": "#d3869b", | |
"brightCyan": "#8ec07c", |
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
package main | |
import ( | |
"crypto/tls" | |
"fmt" | |
"log" | |
"gopkg.in/ldap.v3" | |
) |