Skip to content

Instantly share code, notes, and snippets.

Avatar

Alessandro Cuttin afcuttin

  • Trieste
View GitHub Profile
@afcuttin
afcuttin / .gitignore
Created Mar 27, 2020
LaTeX .gitignore file
View .gitignore
## Created from https://github.com/afcuttin/gitignore/blob/master/TeX.gitignore
## but, because it is not possible to checkout a single file from a repository, I stick to the gist approach
## Core latex/pdflatex auxiliary files:
*.aux
*.lof
*.log
*.lot
*.fls
*.out
@afcuttin
afcuttin / seafile-ignore.txt
Last active Mar 26, 2020
Seafile ignore file
View seafile-ignore.txt
# A blank line matches no files.
# A line starting with # serves as a comment.
# Seafile supports wildcards in the pattern. For example, "foo/*" matches "foo/1" and "foo/hello". "foo/?" matches "foo/1" but not "foo/hello". Note that the wildcard character * recursively matches all the paths under a folder. For instance, "foo/*.html" matches "foo/a.html" and "foo/templates/b.html".
# If the pattern ends with a slash, it would only match a folder. In other words, "foo/" will match a folder "foo" and paths underneath it, but will not match a regular file or a symbolic link "foo".
# If a pattern doesn't end with a slash or a wildcard, it would not match a folder. For example, "foo" can only match regular file "foo" or a symbolic link; while "foo/" and "foo*" match a folder and paths under it.
## Example
## a regular file
#test-file
#
@afcuttin
afcuttin / bump-version.sh
Created Jul 26, 2019 — forked from mareksuscak/bump-version.sh
Bump version shell script.
View bump-version.sh
#!/bin/bash
# Thanks goes to @pete-otaqui for the initial gist:
# https://gist.github.com/pete-otaqui/4188238
#
# Original version modified by Marek Suscak
#
# works with a file called VERSION in the current directory,
# the contents of which should be a semantic version number
# such as "1.2.3" or even "1.2.3-beta+001.ab"
@afcuttin
afcuttin / glossaries.cwl
Created Jul 15, 2016
Autocompletion file for the glossaries package
View glossaries.cwl
# autogenerated by txs edited by Stefan Kraus 2013-09-09, completed by Denis Bitouz\'e 13-10-2014
#include:amsgen
#include:etoolbox
#include:ifthen
#include:mfirstuc
#include:translator
#include:xfor
#include:xkeyval
\CustomAcronymFields#S
\CustomNewAcronymDef#S
View bumpversion.sh
#!/bin/bash
# works with a file called VERSION in the current directory,
# the contents of which should be a semantic version number
# such as "1.2.3"
# this script will display the current version, automatically
# suggest a "minor" version update, and ask for input to use
# the suggestion, or a newly entered value.
You can’t perform that action at this time.