This file contains 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/bash | |
### FUNCTIONS ### | |
current_branch () { | |
git rev-parse --abbrev-ref HEAD | |
} | |
vir (){ | |
python3 -m venv venv | |
} |
This file contains 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://code.visualstudio.com/docs/remote/devcontainerjson-reference | |
"name": "PHP", | |
"image": "jrouaix/phpdevcontainer", | |
// "dockerFile": "Dockerfile", | |
// Comment out the next line to run as root instead. Linux users, update | |
// Dockerfile with your user's UID/GID if not 1000. | |
"runArgs": ["-u", "vscode"], |
This file contains 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": "DJANGO", | |
"image": "python:3.7.5-slim", | |
"features": { | |
"ghcr.io/devcontainers/features/git:1": {}, | |
"ghcr.io/devcontainers-contrib/features/neovim-apt-get:1": {}, | |
"ghcr.io/itsmechlark/features/doppler:2": {} | |
"ghcr.io/withfig/features/fig:1": {} | |
}, | |
"customizations": { |
This file contains 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
create table usuarios | |
( | |
usuario_id int not null auto_increment, | |
usuario varchar(10) not null, | |
contrasenia varchar(20) not null, | |
fecha_creacion datetime not null, | |
unique (usuario, contrasenia), | |
primary key (usuario_id) | |
); |
This file contains 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
sudo pacman -Rsc -n <package> |