Skip to content

Instantly share code, notes, and snippets.

View samtux's full-sized avatar

Samuel Mesa samtux

View GitHub Profile
-- Database generated with pgModeler (PostgreSQL Database Modeler).
-- pgModeler version: 1.2.0-beta
-- PostgreSQL version: 15.0
-- Project Site: pgmodeler.io
-- Model Author: ---
-- Database creation must be performed outside a multi lined SQL file.
-- These commands were put in this file only as a convenience.
--
-- object: municipio | type: DATABASE --
@samtux
samtux / elfeed-ttrsss.org
Last active November 8, 2024 15:33
Instructions to help configure and install TTRSS

After a long, long time trying to set up various RSS services, I have finally succeeded through TTRSS. I share instructions if these can be of help:

  1. Download some of the plugins TTRSS on a shared volume with Docker:
    > mkdir -p /home/myuser/srv/ttrss/plugins/
    > cd /home/myuser/srv/ttrss/plugins/
    > git clone https://github.com/SqrtMinusOne/elfeed-sync.git elfeed_sync
    > git clone https://github.com/DigitalDJ/tinytinyrss-fever-plugin fever
        
@samtux
samtux / pcraster.log
Created November 7, 2021 00:36
PCRaster error in Arch Linux
This file has been truncated, but you can view the full file.
-` samtux@ultrabook
.o+` ----------------
`ooo/ OS: Manjaro Linux x86_64
`+oooo:
`+oooooo: Kernel: 5.14.10-1-MANJARO
-+oooooo+: Uptime: 2 hours, 15 mins
`/:-:++oooo+: Battery: 100% [Full]
`/++++/+++++++:
`/++++++++++++++: Packages: 3381 (pacman)
`/+++ooooooooooooo/` Shell: zsh
@samtux
samtux / PKGBUILD
Created November 7, 2021 00:07
PCRaster Build
# Maintainer: Samuel Mesa <[email protected]>
pkgname=pcraster
pkgver=4.3.1
pkgrel=1
pkgdesc="Environmental modelling software"
arch=(i686 x86_64)
license=('GPL')
url="http://www.pcraster.eu "
depends=('gdal' 'proj' 'qt5-base' 'xerces-c' 'boost' 'python-numpy' 'python-docopt' 'ncurses')
# Maintainer: Leonidas Arvanitis <[email protected]>
_binname=evolus-pencil-bin
_pkgname_base=pencil
_pkgname=evolus-pencil
_desktopfile="${_pkgname_base}.desktop"
_mimefile="${_pkgname}-mime.xml"
pkgname=${_pkgname}-bin
pkgver=3.1.0
@samtux
samtux / PKGBUILD
Last active June 28, 2021 19:13
Update build with ITK4 Fix
# Maintainer: Argyros Argyridis <[email protected]>
# Contributor: Samuel Mesa <[email protected]>
pkgname=orfeo-toolbox
pkgver=7.3.0
_pkgver=7.3
pkgrel=2
pkgdesc="ORFEO Toolbox (OTB) is an open source library of image processing algorithms"
arch=(x86_64 i686)
url="http://www.orfeo-toolbox.org/otb/"
@samtux
samtux / PKGBUILD
Last active May 1, 2020 02:13
PKGBUILD orfeo-toolbox v7.1.0
# Maintainer: Argyros Argyridis <[email protected]>
# Contributor: Samuel Mesa <[email protected]>
pkgname=orfeo-toolbox
pkgver=7.1.0
_pkgver=7.1
pkgrel=3
pkgdesc="ORFEO Toolbox (OTB) is an open source library of image processing algorithms"
arch=(x86_64 i686)
url="http://www.orfeo-toolbox.org/otb/"
@samtux
samtux / ERROR
Created December 14, 2019 22:57
/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I/usr/include -I/opt/hdf4/include -I/usr/include -DSHRDOBJ -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -Wno-trigraphs -rdynamic -c -o libgradspy_la-bufrstn.lo `test -f 'bufrstn.c' || echo './'`bufrstn.c
gasdf.c: En la función ‘read_metadata’:
gasdf.c:2421:5: aviso: ‘strncpy’: el límite especificado depende de la longitud del argumento origen [-Wstringop-overflow=]
2421 | strncpy(pvar->longnm,name,len+1);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gasdf.c:2420:11: nota: la longitud se calcula aquí
2420 | len = strlen(name);
| ^~~~~~~~~~~~
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I. -I/usr/include -I/opt/hdf4/include -I/usr/include -DSHRDOBJ -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -Wno-trigraphs -rdynamic -c bufrstn.c -fPIC -DPIC -o .libs/libgradspy_la-bufrstn.o
/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -
@samtux
samtux / PKGBUILD
Created November 10, 2019 12:32
DXFLIB PKGBUILD
# Maintainer: Justin R. St-Amant <jstamant24 at gmail dot com>
# Contributor: Samuel Mesa <[email protected]>
pkgname=dxflib
pkgver=3.17.0
pkgrel=1
pkgdesc="Open source C++ library mainly for parsing DXF files"
arch=("x86_64" "i686")
url="http://www.ribbonsoft.com/en/what-is-dxflib"
license=('GPL')
@samtux
samtux / PKGBUILD
Last active November 1, 2019 21:57
PKGBUILD Orfeo Toolbox 7.0.0
# Maintainer: Argyros Argyridis <[email protected]>
# Contributor: Samuel Mesa <[email protected]>
pkgname=orfeo-toolbox
pkgver=7.0.0
minorver=1
pkgrel=1
pkgdesc="ORFEO Toolbox (OTB) is an open source library of image processing algorithms"
arch=(x86_64 i686)
url="http://www.orfeo-toolbox.org/otb/"