Skip to content

Instantly share code, notes, and snippets.

@milmazz
milmazz / imposter-handbook-links.md
Last active Aug 25, 2021
Useful links found in The Imposter's Handbook by Rob Conery
View imposter-handbook-links.md
@milmazz
milmazz / ipv4parser.ex
Last active Jan 15, 2021
The Little Elixir & OTP Guidebook
View ipv4parser.ex
defmodule IPv4Parser do
@moduledoc """
Exercise 2.8.6 from the book The Little Elixir & OTP Guidebook
The idea is to take a look at the IPv4 packet spec and try to write a
parser.
"""
def parse(packet) do
<<
View README.md
View keybase.md

Keybase proof

I hereby claim:

  • I am milmazz on github.
  • I am milmazz (https://keybase.io/milmazz) on keybase.
  • I have a public key ASC6uy5gPTM00J1l639F1dsCIqs779YJuWdRF1MKw1l2ygo

To claim this, I am signing this object:

@milmazz
milmazz / ex_doc.md
Last active Apr 17, 2016
Elixir + ExDoc
View ex_doc.md
@milmazz
milmazz / Portfile
Last active Jan 24, 2016
Portfile for Elixir programming language
View Portfile
# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
# $Id$
PortSystem 1.0
PortGroup github 1.0
github.setup elixir-lang elixir 1.2.1 v
epoch 1
categories lang
platforms darwin
@milmazz
milmazz / laziness.py
Last active Dec 11, 2015
Merge info from two excel files, after that, create another excel file with the results.
View laziness.py
#!/usr/bin/python
# -*- coding: utf-8 -*-
__version__ = '0.1'
import xlrd
import re
import xlwt
import argparse
@milmazz
milmazz / kindle-es.rst
Created Dec 8, 2010
Kindle Cheat Sheet
View kindle-es.rst

Kindle Cheat Sheet

Global
Alt-Shift-G | Captura de pantalla
@milmazz
milmazz / trac_query.pl
Created Nov 17, 2010
Trac tickets queries
View trac_query.pl
#!/usr/bin/perl
use warnings;
use strict;
use Net::Trac;
use Class::CSV;
# Estableciendo la conexion a la instancia remota de Trac
my $trac = Net::Trac::Connection->new(
@milmazz
milmazz / post-commit.pl
Created Apr 23, 2010
Subversion's post-commit hook (svn-notify)
View post-commit.pl
#!/usr/bin/perl -w
use strict;
use SVN::Notify;
my $path = $ARGV[0];
my $rev = $ARGV[1];
my %params = (
repos_path => $path,