Skip to content

Instantly share code, notes, and snippets.

View RobertoGraham's full-sized avatar
🤣

Roberto Graham RobertoGraham

🤣
View GitHub Profile
@neo22s
neo22s / README.MD
Created July 19, 2017 10:12
Gimp Curves Presets

About

Collection of 123 curves presets for GIMP.

Installing

You just have to copy the contents of the file into your gimp-curves-tool.settings file. On my version of Linux this was under

@Jonalogy
Jonalogy / handling_multiple_github_accounts.md
Last active June 14, 2024 03:50
Handling Multiple Github Accounts on MacOS

Handling Multiple Github Accounts on MacOS

The only way I've succeeded so far is to employ SSH.

Assuming you are new to this like me, first I'd like to share with you that your Mac has a SSH config file in a .ssh directory. The config file is where you draw relations of your SSH keys to each GitHub (or Bitbucket) account, and all your SSH keys generated are saved into .ssh directory by default. You can navigate to it by running cd ~/.ssh within your terminal, open the config file with any editor, and it should look something like this:

Host *
 AddKeysToAgent yes

> UseKeyChain yes

@rossf7
rossf7 / build_hook.sh
Last active January 14, 2019 07:02
Build hook for a Docker Hub automated build
#!/bin/bash
# File needs to be called /hooks/build relative to the Dockerfile.
# $IMAGE_NAME var is injected into the build so the tag is correct.
echo "Build hook running"
docker build --build-arg BUILD_DATE=`date -u +"%Y-%m-%dT%H:%M:%SZ"` \
--build-arg VCS_REF=`git rev-parse --short HEAD` \
-t $IMAGE_NAME .
@loverdos
loverdos / mvn-project-version.sh
Created May 20, 2015 10:07
Get maven project version from the shell
mvn help:evaluate -Dexpression=project.version | grep -e '^[^\[]'