Skip to content

Instantly share code, notes, and snippets.

Yago yagop

  • Madrid, Spain
Block or report user

Report or block yagop

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@yagop
yagop / Destinatarios.txt
Last active Apr 8, 2019
Script en Python para enviar correos personalizados a varias personas mediante Gmail (SMTP)
View Destinatarios.txt
ANONIMO PÉREZ SE OMITE mail@dominio.es
ANONIMO PÉREZ SE OMITE mail@dominio.es
View remote_keys.txt
#Normal remote keys
#KEY_0
#KEY_1
#KEY_2
#KEY_3
#KEY_4
#KEY_5
#KEY_6
#KEY_7
#KEY_8
View TVManager.java
package com.tvmanager.greendaogen;
import de.greenrobot.daogenerator.DaoGenerator;
import de.greenrobot.daogenerator.Entity;
import de.greenrobot.daogenerator.Property;
import de.greenrobot.daogenerator.Schema;
import de.greenrobot.daogenerator.ToMany;
public class TVManager {
@yagop
yagop / index.html
Last active Aug 29, 2015
Introducción a Git
View index.html
<!doctype html>
<html>
<head>
<title>Introducción a Git</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<meta name="author" content="Yago Pérez">
<style type="text/css">
@import url(https://fonts.googleapis.com/css?family=Montserrat);
@import url(https://fonts.googleapis.com/css?family=Pacifico);
@import url(https://fonts.googleapis.com/css?family=Ubuntu+Mono:400,700,400italic);
@yagop
yagop / self-luarocks.sh
Created Apr 5, 2015
Luarocks as self-contained
View self-luarocks.sh
#!/usr/bin/env bash
# This script installs luarocks as self-contained inside .luarocks of current dir
THIS_DIR=$(cd $(dirname $0); pwd)
git clone https://github.com/keplerproject/luarocks.git
cd luarocks
git checkout tags/v2.2.1 # Current stable
@yagop
yagop / openresty-luarocks.sh
Last active Aug 17, 2017
OpenResty + LuaRocks
View openresty-luarocks.sh
wget http://openresty.org/download/ngx_openresty-1.7.10.1.tar.gz \
-O ngx_openresty-1.7.10.1.tar.gz
tar xzvf ngx_openresty-1.7.10.1.tar.gz
cd ngx_openresty-1.7.10.1
./configure
make
sudo make install
wget https://codeload.github.com/keplerproject/luarocks/tar.gz/v2.0.13 \
@yagop
yagop / installErlangAndElixir.sh
Last active Sep 10, 2015
Compile and install Erlang OTP-17.5.6.3 and Elixir v1.0.5 from sources
View installErlangAndElixir.sh
#!/bin/bash
cd /tmp
git clone git://github.com/erlang/otp.git
cd otp
git checkout OTP-17.5.6.3
export ERL_TOP=`pwd`
./otp_build autoconf
./configure
make
View emoji.txt
#⃣
0⃣
1⃣
2⃣
3⃣
4⃣
5⃣
6⃣
7⃣
8⃣
@yagop
yagop / installLuvit.sh
Last active Sep 27, 2015
Install luvit
View installLuvit.sh
#!/bin/sh
cd /tmp
curl -L https://github.com/luvit/lit/raw/master/get-lit.sh | sh
./lit make lit://luvit/luvit
sudo cp lit luvi luvit /usr/local/bin
View gist:1cc54fe183f84345e958
CREATE VIEW fix_view AS
SELECT
tag[1] AS Account
, tag[2] AS AdvId
, tag[3] AS AdvRefID
, tag[4] AS AdvSide
, tag[5] AS AdvTransType
, tag[6] AS AvgPx
, tag[7] AS BeginSeqNo
, tag[8] AS BeginString
You can’t perform that action at this time.