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,