Skip to content

Instantly share code, notes, and snippets.

@mgoellnitz
mgoellnitz / bucketsnip.sh
Last active June 8, 2025 23:15
Bitbucket Snippet Command Line Tool
#!/bin/sh
#
# Copyright 2017-2025 Martin Goellnitz
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
@mgoellnitz
mgoellnitz / snip.sh
Last active September 27, 2025 02:40
GitLab Snippet Command Line Tool
#!/bin/bash
#
# Copyright 2016-2021 Martin Goellnitz
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
@mgoellnitz
mgoellnitz / gist.sh
Last active March 31, 2025 13:35
Gist Command Line Tool for Single File Gists
#!/bin/sh
#
# Copyright 2016-2025 Martin Goellnitz
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
@mgoellnitz
mgoellnitz / git-recover.sh
Last active June 8, 2025 23:18
GIT recovery support script to easily set some defaults when (re-)cloning a set of repositories
#!/bin/bash
#
# Copyright 2016-2025 Martin Goellnitz
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
@codegirl-007
codegirl-007 / gist:9c7f7458387f9310b7bd
Last active August 29, 2015 14:17
Create a ManyToMany relationship in EBean
public class EntityList extends Model {
@Id
private Integer id;
@Constraints.Required
public String title;
@Constraints.Required
public String type;