Skip to content

Instantly share code, notes, and snippets.

View agucova's full-sized avatar
馃憢
Hi there!

Agust铆n Covarrubias agucova

馃憢
Hi there!
View GitHub Profile
@agucova
agucova / GuiaLAMPEnUbuntu
Last active January 15, 2016 18:22
Gu铆a LAMP en Ubuntu
# Guia para instalar LAMP en Ubuntu 15.10 (Linux, Apache, MySQL, and PHP)
## Preparaci贸n
Primero debemos actualizar los paquetes y repos a la 煤ltima versi贸n, usando los comandos:
`sudo apt-get update`
`sudo apt-get upgrade`
## Instalar Apache2
Abrimos una consola y ponemos:
`sudo apt-get install apache2`
Una vez finalizada la instalaci贸n, necesitamos comprobar que apache2 est谩 funcionando.
Puedes probarlo entrando a:

Keybase proof

I hereby claim:

  • I am agucova on github.
  • I am agucova (https://keybase.io/agucova) on keybase.
  • I have a public key ASCJeungKWt2hdXXFJiPBE44WU07s1biZdKF2yXsIC2CbQo

To claim this, I am signing this object:

@agucova
agucova / minimal.nim
Last active April 14, 2020 23:21
Log while trying to import WebGUI. Version 0.4.0 installed via Nimble on MacOS Catalina 10.15.3, nim installed via Homebrew.
import webgui
@agucova
agucova / conducta.md
Last active June 2, 2020 00:45
Reglamento de los Grupos de Novat@s en Ingenier铆a UC. R11.

C贸digo de Conducta y Reglas

Grupos Novat@s Ing. UC

Reglas Operativas

  1. Los miembros que formen parte de los grupos ser谩n considerados adherentes de facto a este cuerpo de reglas.

  2. La discusi贸n en los grupos se mantendr谩, en un margen razonable, dentro de los temas dispuestos para cada grupo.

@agucova
agucova / conducta.md
Last active February 11, 2021 18:38
Reglas Ing. Disidente

C贸digo de Conducta y Reglas

Reglas

  1. La discusi贸n en los grupos se mantendr谩, razonablemente, dentro de los temas de cada grupo.

  2. Salvo en aquellos espacios d贸nde se indique lo contrario, la propaganda de pol铆tica externa y el spam (mensajes repetitivos o muy frecuentes) est谩n prohibidos.

  3. Toda expulsi贸n temporal o permanente de une integrante, salvo en situaciones que sean juzgadas como urgentes, deber谩 seguir las condiciones expresadas aqu铆, con comunicaci贸n activa con el miembro en cuesti贸n (de ser posible).

#include <packets.pb.h>
#include <pb_encode.h>
#include <pb_decode.h>
// Solo el codigo relevante
byte packet[512];
size_t packet_length;
{
#
# .zshrc is sourced in interactive shells.
# It should contain commands to set up aliases,
# functions, options, key bindings, etc.
#
autoload -U compinit
compinit
#allow tab completion in the middle of a word
@agucova
agucova / requirements.md
Last active July 22, 2021 19:25
Technical requirements for Reguleque

Currently our setup for our search engine is merely an InstantSearch front-end to an open-source engine called TypeSense. We made specialized scripts to clean and load the government transparency data into the Typesense instance.

Currently, the front-end is public and has unlimited usage, but we want to limit the daily searches available for each visitor (similar to newspaper paywalls), while still allowing people to request a fair use account (for journalists, by example).

Technically this means:

  • Implement a back-end that acts as a proxy to the search requests to Typesense and checks for user authentication. This needs to implement full-fledged user management under reasonable security standards, preferabily implemented through existing authentication solutions or libraries.
  • Modifying the InstantSearch-ba
+(/Users/agucova/.pyenv/bin/pyenv:23): enable -f /Users/agucova/.pyenv/bin/../libexec/pyenv-realpath.dylib realpath
+(/Users/agucova/.pyenv/bin/pyenv:30): '[' -z '' ']'
++(/Users/agucova/.pyenv/bin/pyenv:32): type -P greadlink readlink
++(/Users/agucova/.pyenv/bin/pyenv:32): head -1
+(/Users/agucova/.pyenv/bin/pyenv:32): READLINK=/opt/homebrew/bin/greadlink
+(/Users/agucova/.pyenv/bin/pyenv:33): '[' -n /opt/homebrew/bin/greadlink ']'
+(/Users/agucova/.pyenv/bin/pyenv:58): '[' -z /Users/agucova/.pyenv ']'
+(/Users/agucova/.pyenv/bin/pyenv:61): PYENV_ROOT=/Users/agucova/.pyenv
+(/Users/agucova/.pyenv/bin/pyenv:63): export PYENV_ROOT
+(/Users/agucova/.pyenv/bin/pyenv:65): '[' -z '' ']'
[flake8]
max-line-length = 88
extend-ignore = E203, W503, E501
exclude =
# No need to traverse our git directory
.git,
# There's no value in checking cache directories
__pycache__,
# This contains our built documentation
build,