I hereby claim:
- I am fmariluis on github.
- I am fmariluis (https://keybase.io/fmariluis) on keybase.
- I have a public key whose fingerprint is 4420 3D17 4D84 25B9 6189 AD53 7191 C5B4 58E4 4A60
To claim this, I am signing this object:
" Minimalist vimrc | |
" Install vim-plug first: https://github.com/junegunn/vim-plug?tab=readme-ov-file#installation | |
call plug#begin() | |
" Plugins | |
Plug 'tpope/vim-sensible' | |
Plug 'tpope/vim-vinegar' | |
Plug 'tpope/vim-fugitive' | |
Plug 'tpope/vim-commentary' |
"""Retrieves the public IP of the EC2 instance where an ECS service is running. | |
Requirements: | |
boto3 | |
click | |
tabulate==0.8.7 | |
""" | |
import boto3 | |
from tabulate import tabulate | |
import click |
I hereby claim:
To claim this, I am signing this object:
import jinja2 | |
templateLoader = jinja2.FileSystemLoader(searchpath="templates") | |
templateEnv = jinja2.Environment(loader=templateLoader) | |
templateEnv.trim_blocks = True | |
template = templateEnv.get_template(TEMPLATE_FILE) | |
templateVars = { | |
"nombre_tabla": "ubicaciones", | |
"lista_campos": campos, |
set -xg PYTHONPATH /opt/eleccion/ $PYTHONPATH | |
set -xg PYTHONPATH /opt/operaciones/ $PYTHONPATH | |
set -xg GOROOT /usr/local/go $GOROOT | |
set -xg PATH /usr/local/go/bin $PATH | |
set -xg EDITOR vim $EDITOR | |
setenv EDITOR vim | |
function l | |
ll $argv |
SELECT * FROM | |
( SELECT | |
ROW_NUMBER() OVER (ORDER BY column_to_sort_by ASC) AS ROW_NUMBER, | |
Col1, Col2 | |
FROM table_name | |
) myview_name |
def phone_validator(value): | |
""" | |
Valida un teléfono de Argentina con código de área | |
10 dígitos, sin 0 al comienzo ni caracteres como - o () | |
""" | |
pattern = '^[0]|\D' | |
if len(value) != 10: | |
raise ValidationError("Verifique la cantidad de dígitos. Deben ser 10 sin el \ | |
15 e incluyendo el código de área") |
import base64 | |
from django.db import models | |
class Foo(models.Model): | |
_data = models.TextField( | |
db_column='data', | |
blank=True) |
The following rules of programming style are excerpted from the book "The Elements of Programming Style" by Kernighan and Plauger, published by McGraw Hill. Here is quote from the book: "To paraphrase an observation in The Elements of Style by Strunk and White, the rules of programming style, like those of English, are sometimes broken, even by the best writers. When a rule is broken, however, you will usually find in the program some compensating merit, attained at the cost of the violation. Unless you are certain of doing as well, you will probably do best to follow the rules."
au BufRead,BufNewFile jquery.*.js set ft=javascript syntax=jquery | |
set nocompatible | |
set autoindent | |
set tabstop=2 | |
set showmatch | |
set vb t_vb= | |
set ruler | |
set nohls | |
set incsearch | |
syntax on |