This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/perl | |
#use utf8; | |
use strict; | |
use warnings; | |
use Getopt::Long; | |
use WWW::Curl::Easy; | |
use HTML::Restrict; | |
use HTML::TableExtract; | |
use Browser::Open qw( open_browser ); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
''' | |
Extremely simple Bill Of Materials creator for KiCad. | |
Creates a MarkDown output from KiCad .xml netlist files. | |
It's a fast and dirty approach that just works, if you need a good BoM creator, forget this. | |
''' | |
__author__ = "Ekaitz Zarraga" | |
__license__= "WTFPL" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Source code | |
SRCS = lambda_function.py # This is the minimum code. Add more if needed. | |
# Insert your libs as folders in root folder | |
#LIBS = psycopg2 # EXAMPLE | |
TARGET = deploy.zip | |
# Creates ZIP ready to upload it to Amazon Web Services Lambda | |
zip: $(TARGET) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Copyright © 2015-2016 Ekaitz Zarraga <ekaitzzarraga@gmail.com> | |
# This work is free. You can redistribute it and/or modify it under the | |
# terms of the Do What The Fuck You Want To Public License, Version 2, | |
# as published by Sam Hocevar. See http://www.wtfpl.net/ for more details. | |
# Makefile for easy documentation in HTML and PDF | |
C = pandoc | |
# Set default to all |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" PIC18FXXXX ASSEMBLY HIGHLIGHTING FOR VIM | |
" TODO: | |
" * CHECK THE FILETYPE search line and get the type | |
" => PROCESSOR 18FXXXX | |
" => LIST p=?? | |
if exists("b:current_syntax") | |
finish | |
endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
Copyright 2016 Ekaitz Zarraga <ekaitzzarraga@gmail.com> | |
This work is free. You can redistribute it and/or modify it under the | |
terms of the Do What The Fuck You Want To Public License, Version | |
as published by Sam Hocevar. See http://www.wtfpl.net/ for more details. | |
""" | |
from datetime import timedelta | |
from datetime import date |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import sys | |
class Progress: | |
""" | |
Simple progress bar | |
""" | |
def __init__(self, total = 100, width=50): | |
self.total = total | |
self.width = width |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import panflute as pf | |
""" | |
Stupid panflute test, capture Image URLs and change them, prints this: | |
Hola, esto es un docu | |
===================== | |
![IMAGEN](otra_url) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[wordpress] | |
# Title of your blog post here | |
# Example: title = My cool blog post in here | |
title = droWMark, postea en Wordpress desde Vim | |
# The status you want for your blog post here. Options are: | |
# draft, published, pending, private | |
# Example: status = published | |
status = draft |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(defn lista | |
([] (lista 1)) | |
([one] (lazy-seq (cons one (lista (+ one 1)))))) | |
(defn fibo | |
([] (fibo 0 1)) | |
([one two] (lazy-seq (cons one (fibo two (+ one two )))))) | |
(defn -main | |
[& args] |
OlderNewer