Skip to content

Instantly share code, notes, and snippets.

View edulix's full-sized avatar

Eduardo Robles edulix

View GitHub Profile
@edulix
edulix / keybase.md
Created April 3, 2020 09:42
keybase.md

Keybase proof

I hereby claim:

  • I am edulix on github.
  • I am edulix (https://keybase.io/edulix) on keybase.
  • I have a public key whose fingerprint is 8A3E 55BD 5990 1B89 2A0B D19A 186B A923 95D4 544A

To claim this, I am signing this object:

import evidence 1.0
Contract {
id: tos
roles: Roles {
user: RoleConstraints {
single: true
auth_method: 'cookies'
}
@edulix
edulix / proyectos.md
Last active October 4, 2016 09:17 — forked from Findeton/proyectos.md
proyectos

Proyectos

Se propone centrarse en la parte pública que ve el votante para los proyectos. La cabina de votaciones es implementado por 4 librerías:

Interfaz de la web pública de la votación, donde entre otras cosas se pueden consultar los resultados de la votación una vez terminada. Desarrollada en Javascript con AngularJS, Bootstrap, Grunt.

@edulix
edulix / record.sh
Last active October 26, 2015 09:13
#!/bin/bash
# The MIT License (MIT)
#
# Copyright (c) 2015 Eduardo Robles Elvira <edulix AT agoravoting DOT com>
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
[
{
"type": "ip",
"geoip_db_path": "/home/agoraelections/agora-elections/admin/utils/GeoLiteCity.dat",
"ips_log": "/home/agoraelections/nginx_log",
"ips_regex": "^(?P<ip>\S+).*POST /elections/api/election/(?P<election_id>\d+)/voter/(?P<voter_id>\w+)\s",
"locations_whitelist": [
{
"city": "Barcelona",
"region_code": "BCN",
secret used: 'pajarraco'
msg used: 'forrarme'
forrarme:1417267291:d5c4e961a496559b0a19039bc9cb62a3d9b63b38c54eb14286ca54364d21841e
:
resume=UUID=fac2c000-1598-44c0-a67f-ba7844b78437
root=UUID=175034a3-faaf-43d2-bd8f-2b08446dfe5e rootflags=rw,relatime,ssd,space_cache rootfstype=btrfs
*** Creating image file ***
*** Creating image file done ***
Creating initrd: /boot/initrd-3.16.6-2-desktop
Executing: /usr/bin/dracut --logfile /var/log/YaST2/mkinitrd.log --force /boot/initrd-3.16.6-2-desktop 3.16.6-2-desktop
dracut module 'fcoe-uefi' will not be installed, because command 'dcbtool' could not be found!
dracut module 'fcoe-uefi' will not be installed, because command 'fipvlan' could not be found!
dracut module 'fcoe-uefi' will not be installed, because command 'lldpad' could not be found!
7
ERROR:frestq.app:Exception on /public_api/election [POST]
Traceback (most recent call last):
File "/home/eorchestra/venv/local/lib/python2.7/site-packages/flask/app.py", line 1817, in wsgi_app
response = self.full_dispatch_request()
File "/home/eorchestra/venv/local/lib/python2.7/site-packages/flask/app.py", line 1477, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/home/eorchestra/venv/local/lib/python2.7/site-packages/flask/app.py", line 1381, in handle_user_exception
reraise(exc_type, exc_value, tb)
File "/home/eorchestra/venv/local/lib/python2.7/site-packages/flask/app.py", line 1475, in full_dispatch_request
# eotest full --peers wadobo-auth3 --vcount 10
> Starting server on port 8000
using the following authorities:
1. wadobo-auth1 (this is us, acting as orchestra director)
2. wadobo-auth3
> Creating election 141644115781
> <Response [202]>
@edulix
edulix / agora.conf
Created November 19, 2014 22:51
agora.conf
server {
listen 80;
server_name agora.dev;
server_tokens off;
location /api {
proxy_pass http://localhost:3000;
}