Skip to content

Instantly share code, notes, and snippets.

View scemama's full-sized avatar
🏠
Working from home

Anthony Scemama scemama

🏠
Working from home
View GitHub Profile
@scemama
scemama / gist:2614c4d24c172c24b3391d35aa568698
Created November 2, 2021 21:04 — forked from thomaslee/gist:1631057
Building Debian Packages
Notes from here: http://www.webupd8.org/2010/01/how-to-create-deb-package-ubuntu-debian.html
This assumes you're using autotools to build your project.
1. sudo apt-get install build-essential autoconf automake autotools-dev dh-make debhelper devscripts fakeroot xutils lintian pbuilder
2. We want a source folder with the pattern: <package>-<version>
$ cd ginvoke
$ git archive --format=tar --prefix=ginvoke-$(date +'%Y%m%d')/ master | tar xvf - -C ..
@scemama
scemama / get_bibtex.sh
Last active November 22, 2021 18:59 — forked from TApplencourt/get_bibtex.sh
Gets a bibtex file from a DOI or an ISBN
#!/bin/bash
str_utilisation="$0 (doi|isbn) <value>"
if [ "$#" -ne 2 ];then
echo ${str_utilisation}
exit 1
fi
if [ "$1" == "doi" ];then
@scemama
scemama / add-travis.md
Last active August 29, 2015 14:14 — forked from mbohun/add-travis.md