Skip to content

Instantly share code, notes, and snippets.

Avatar

Yago yagop

  • Madrid, Spain
View GitHub Profile
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 / 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
@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 emoji.txt
#⃣
0⃣
1⃣
2⃣
3⃣
4⃣
5⃣
6⃣
7⃣
8⃣
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
@yagop
yagop / gist:92d896a58808c2005dda
Created Oct 26, 2015 — forked from jeremybeard/gist:d6f36681852787127629
Sample FIX messages using ASCII 001 delimiter
View gist:92d896a58808c2005dda
8=FIX.4.19=6135=A34=149=EXEC52=20121105-23:24:0656=BANZAI98=0108=3010=003
8=FIX.4.19=6135=A34=149=BANZAI52=20121105-23:24:0656=EXEC98=0108=3010=003
8=FIX.4.19=4935=034=249=BANZAI52=20121105-23:24:3756=EXEC10=228
8=FIX.4.19=4935=034=249=EXEC52=20121105-23:24:3756=BANZAI10=228
8=FIX.4.19=10335=D34=349=BANZAI52=20121105-23:24:4256=EXEC11=135215788257721=138=1000040=154=155=MSFT59=010=062
8=FIX.4.19=13935=834=349=EXEC52=20121105-23:24:4256=BANZAI6=011=135215788257714=017=120=031=032=037=138=1000039=054=155=MSFT150=2151=010=059
8=FIX.4.19=15335=834=449=EXEC52=20121105-23:24:4256=BANZAI6=12.311=135215788257714=1000017=220=031=12.332=1000037=238=1000039=254=155=MSFT150=2151=010=230
8=FIX.4.19=10335=D34=449=BANZAI52=20121105-23:24:5556=EXEC11=135215789503221=138=1000040=154=155=ORCL59=010=047
8=FIX.4.19=13935=834=549=EXEC52=20121105-23:24:5556=BANZAI6=011=135215789503214=017=320=031=032=037=338
@yagop
yagop / flooders-and-spammers.md
Last active Nov 9, 2015
Telegram Hall of Shame
View flooders-and-spammers.md

Flooders

Name Nick ID Reason Screen Shots
Haidar ibrahem @Haidar_r 145725071 Added flooder
حيدوش @Haidar_q 125225419 Flooder
Mck @X1xbot 128358359 Bot used in flood
BØT_X N X X @Xnxx_bot 56572777 Bot used in flood
Easy destroy @easydestroy_bot 130512548 Bot for flooding 1
Null Name @romeuzinho 147965962 Flooder 1
@yagop
yagop / LinkifyWeb.java
Last active Dec 1, 2015
WhatsApp blocking Telegram links
View LinkifyWeb.java
package com.whatsapp.util;
import android.text.Spannable;
import android.text.style.URLSpan;
import java.net.MalformedURLException;
import java.net.URL;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
public class LinkifyWeb {
You can’t perform that action at this time.