Skip to content

Instantly share code, notes, and snippets.

View standoge's full-sized avatar
💾
Byting....

Stanley Melgar standoge

💾
Byting....
View GitHub Profile
@standoge
standoge / unistallAll.sh
Last active November 20, 2023 02:22
Uninstall an ArchLinux's package with its children
sudo pacman -Rsc -n <package>
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)
);
@standoge
standoge / devcontainer-py.json
Created November 20, 2023 02:16
A devcontainer file configuration for Python's Django framework
{
"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": {
@standoge
standoge / devcontainer-php.json
Created November 20, 2023 02:18
A devcontainer file configuration file for PHP's Laravel framework. Works for PHP 7.##
{
// 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"],
@standoge
standoge / dotfile
Last active May 14, 2024 04:15
standoge's dotfile
#!/bin/bash
### FUNCTIONS ###
current_branch () {
git rev-parse --abbrev-ref HEAD
}
vir (){
python3 -m venv venv
}