Skip to content

Instantly share code, notes, and snippets.

View eamanu's full-sized avatar
🎯
Focusing

Emmanuel Arias eamanu

🎯
Focusing
View GitHub Profile
/*
* main.c
*
* Created on: Jan 22, 2017
* Author: eamanu
*/
#include <avr/io.h>
#include <util/delay.h>
/*
* main.c
*
* Created on: Jan 4, 2017
* Author: eamanu
*/
#include <avr/io.h>
#include <avr/interrupt.h>
git log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold cyan)%aD%C(reset) %C(bold green)(%ar)%C(reset)%C(bold yellow)%d%C(reset)%n'' %C(white)%s%C(reset) %C(dim white)- %an%C(reset)' --all
@eamanu
eamanu / utils.py
Created August 23, 2018 13:36
Calculate from datetime ot JDN
def dt_to_jdn(dt):
"""Convert datetime to Julian Day Number
.. warning: Please verify this calculating method
This convertion is based on:
'Practical Astronomy with your Calculator or Spreadsheet',
4th ed., Duffet-Smith and Zwart, 2011.
@eamanu
eamanu / DebianMainteinerTools.sh
Created September 3, 2018 00:49
Installation command for Debian packaging tools
sudo apt install -y python-dev python3-dev autoconf automake autotools-dev dh-make debhelper devscripts fakeroot file gfortran git gnupg lintian patch patchutils pbuilder perl quilt xutils-dev
sudo apt install -y python-dev python3-dev autoconf automake autotools-dev dh-make debhelper devscripts fakeroot file gfortran git gnupg lintian patch patchutils pbuilder cowbuilder perl quilt xutils-dev git-buildpackage gnupg
@eamanu
eamanu / gist:ad59247912d5e6469d094df240d4a850
Created January 3, 2020 21:09
issue 148 asoc_members
eamanu@eamanuPC:~/dev/asoc_members$ make build-dev
docker-compose build
postgres uses an image, skipping
mail uses an image, skipping
Building web
Step 1/14 : FROM python:3.6
3.6: Pulling from library/python
8f0fdd3eaac0: Pull complete
d918eaefd9de: Pull complete
43bf3e3107f5: Pull complete