Skip to content

Instantly share code, notes, and snippets.

View angelbotto's full-sized avatar
🏃

Angel Celis Botto angelbotto

🏃
View GitHub Profile
!function(t){function e(i){if(n[i])return n[i].exports;var r=n[i]={exports:{},id:i,loaded:!1};return t[i].call(r.exports,r,r.exports,e),r.loaded=!0,r.exports}var n={};return e.m=t,e.c=n,e.p="/build/",e(0)}([function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{"default":t}}var r=n(5),o=i(r),s=n(20),a=i(s),u=n(21),c=i(u),l=n(40),h=i(l),f=n(41),d=i(f),p=n(75),v=i(p),m=n(78),g=i(m),y=n(85),b=i(y),_=n(88),w=i(_);n(91),(0,o["default"])(a["default"].config,h["default"].development),a["default"].use(c["default"]),a["default"].use(d["default"]),a["default"].component("modal",g["default"]),a["default"].component("personal",b["default"]),a["default"].component("billing",w["default"]),new a["default"]({el:"#vlipco",components:[v["default"],g["default"],b["default"],w["default"]]})},,,,,function(t,e,n){t.exports={"default":n(6),__esModule:!0}},function(t,e,n){n(7),t.exports=n(10).Object.assign},function(t,e,n){var i=n(8);i(i.S+i.F,"Object",{assign:n(13)})},function(t,e,n){var i=n(9),r=n(10),o=n(11),s="prot
@angelbotto
angelbotto / pre-commit
Created September 12, 2015 22:32
Run all test before commits :)
#!/bin/bash
git stash -q --keep-index
echo -e "👮 Wait, run all test before commit!\n"
FAILS=`rspec --format progress | grep -E '(\d*) failure(s?)' -o | awk '{print $1}'`
git stash pop -q
if [ $FAILS -ne 0 ]; then
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@angelbotto
angelbotto / colombia.dpto.json
Created July 18, 2017 16:38
Colombia departamentos geojson
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@angelbotto
angelbotto / whatsapp_phone_enumerator_floated_div.js
Last active May 12, 2017 17:47
PoC WhatsApp enumeration of phonenumbers, profile pics, about texts and online statuses (floated div)
/*
PoC WhatsApp enumeration of phonenumbers, profile pics, about texts and online statuses
Floated div edition
01-05-2017
(c) 2017 - Loran Kloeze - loran@ralon.nl
This script creates a UI on top of the WhatsApp Web interface. It enumerates certain kinds
of information from a range of phonenumbers. It doesn't matter if these numbers are part
of your contact list. At the end a table is displayed containing phonenumbers, profile pics,
about texts and online statuses. The online statuses are being updated every

Keybase proof

I hereby claim:

  • I am angelbotto on github.
  • I am bottico (https://keybase.io/bottico) on keybase.
  • I have a public key whose fingerprint is 6818 B785 2FCC 7746 0A3F F9A7 5FB3 400B 9445 C11B

To claim this, I am signing this object:

ignore = %w(name dafuq)
replace_with = "*"
data = {
secure: {
name: 'value 1',
last: 'value 2'
},
content: {
dinamic: {
name: 'value 3'
@angelbotto
angelbotto / convert
Created January 2, 2014 21:09
less to scss
1. replace @ with $
Find: @
Replace: $
2. replace mixins
Find: \.([\w\-]*)\s*\((.*)\)\s*\{
Replace: @mixin \1\(\2\)\n{
3. replace includes
Find: \.([\w\-]*\(.*\)\s*;)
@angelbotto
angelbotto / nginx.conf
Created December 13, 2013 12:15
perfect nginx.conf for padrino :)
#user nobody;
worker_processes 2;
worker_priority -5;
error_log /var/www/landmoda/log/nginx.error.log crit;
events {
# use epoll;
worker_connections 1024;
}
# NOTICE: to get Nginx+Unicorn best-practices configuration see the gist https://gist.github.com/3052776
$ cd /usr/src
$ wget http://nginx.org/download/nginx-1.2.1.tar.gz
$ tar xzvf ./nginx-1.2.1.tar.gz && rm -f ./nginx-1.2.1.tar.gz
$ wget ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-8.30.tar.gz
$ tar xzvf pcre-8.30.tar.gz && rm -f ./pcre-8.30.tar.gz
$ wget http://www.openssl.org/source/openssl-1.0.1c.tar.gz