Skip to content

Instantly share code, notes, and snippets.

@cl4u2
cl4u2 / git-log-to-tikz.rb
Last active October 25, 2020 19:42 — forked from lckarssen/git-log-to-tikz.rb
Extract git history to tikz picture - complete latex document and minimal graph
#!/usr/bin/env ruby
# A small ruby script to extract a git history to a tikz picture
# Author: Michael Hauspie <[email protected]>
# Author: Lennart C. Karssen <[email protected]>
# Author: Claudio Pisa <[email protected]>
#
# Not clean code, not always working well, but does its job in most of
# the cases I needed :)
#
@cl4u2
cl4u2 / sync-projects
Last active September 27, 2018 14:49 — forked from JonasGroeger/sync-projects
Gitlab: Clone / Pull all projects in a group
#!/usr/bin/env bash
# Documentation
# https://docs.gitlab.com/ce/api/projects.html#list-projects
BASE_PATH="https://gitlab.example.com/"
PROJECT_SEARCH_PARAM=""
PROJECT_SELECTION="."
PROJECT_PROJECTION="{ "path": .path_with_namespace, "git": .ssh_url_to_repo, "namespace": .namespace.full_path }