- Install Keybase and login
$ brew cask install keybase
$ keybase login
- Create a new GPG key on keybase
$ keybase pgp gen --multi
- Follow instructions
- Note: the email used in the key must match the user email in your
~/.gitconfig
- Set up Git to sign all commits
$ gpg --list-secret-keys
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
detect.hub.url=********* | |
detect.hub.timeout=120 | |
detect.hub.username=********* | |
detect.hub.password=********* | |
detect.output.path=blackduck |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /usr/bin/env python | |
import json | |
import logging | |
import sys | |
import requests | |
logger = logging.getLogger(__name__) | |
TOKEN = 'YOUR_TOKEN' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import json | |
import requests | |
RPP = 'ezcuj' | |
CONTRIBUTORS_URL = 'https://api.osf.io/v2/nodes/{}/contributors/' | |
def get_contribs(url): | |
contributors_to_add = [] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /usr/bin/sh | |
PAC_MANAGER='' | |
ELASTICSEARCH_ARCHIVE='elasticsearch-1.5.0.tar.gz' | |
get_package_manager() { | |
echo -n "Is your package manager pacman or apt-get?: " | |
read package_manager | |
case $package_manager in |
I hereby claim:
- I am atelic on github.
- I am atelic (https://keybase.io/atelic) on keybase.
- I have a public key whose fingerprint is 40F6 FD1F 5B57 F726 E175 D846 3629 293D 1542 4EA3
To claim this, I am signing this object:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
from invoke import run, task | |
@task(aliases=['a']) | |
def assets(ctx, watch=False): | |
cmd = './node_modules/.bin/webpack --colors --progress' | |
if watch: | |
cmd += ' --watch' |
This file has been truncated, but you can view the full file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.board-canvas { | |
background-color: #fff !important; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /usr/bin/env bash | |
RUN_TEST_COMMAND="" | |
find . -name "*.pyc" -delete | |
git diff --cached --name-only | while read FILE; do | |
if [[ "$FILE" =~ ^.+(py)$ ]]; then | |
if [[ -f $FILE ]]; then | |
python -m py_compile "$FILE" 1> /dev/null | |
if [ $? -ne 0 ]; then | |
echo -e "\e[1;31mAborting commit due to files with syntax errors.\e[0m" >&2 | |
exit 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /usr/bin/perl | |
use strict; | |
use warnings; | |
use JSON; | |
use LWP::UserAgent; | |
use MIME::Base64; | |
my $json = JSON->new->allow_nonref; | |
my $ua = LWP::UserAgent->new; |
NewerOlder