Skip to content

Instantly share code, notes, and snippets.

View pkafei's full-sized avatar
💫

Portia Burton pkafei

💫
View GitHub Profile
@pkafei
pkafei / Makefile
Created May 14, 2019 09:41
Error message from building from ipfs-cluster
➜ ipfs-cluster git:(master) make install
/Library/Developer/CommandLineTools/usr/bin/make -C cmd/ipfs-cluster-service install
go install -ldflags "-X main.commit=26b0949b5e066a294a149e0f5379c0402b1cf9d9"
main.go:15:2: cannot find package "github.com/blang/semver" in any of:
/usr/local/go/src/github.com/blang/semver (from $GOROOT)
/Users/protocollabs/go/src/github.com/blang/semver (from $GOPATH)
daemon.go:26:2: cannot find package "github.com/ipfs/go-datastore" in any of:
/usr/local/go/src/github.com/ipfs/go-datastore (from $GOROOT)
/Users/protocollabs/go/src/github.com/ipfs/go-datastore (from $GOPATH)
lock.go:10:2: cannot find package "github.com/ipfs/go-fs-lock" in any of:
@pkafei
pkafei / ipfs-cluster-service.sh
Created May 14, 2019 09:00
Error Message from Installing IPFS Cluster Service
➜ ipfs-cluster-service source ipfs-cluster-service
ipfs-cluster-service:1: command not found: \M-^Z\M-i^A
ipfs-cluster-service:1: command not found: \M-T^N
ipfs-cluster-service:1: parse error near `&'
ipfs-cluster-service:1: parse error in command substitution
@pkafei
pkafei / ipfs-cluster-ctl.sh
Created May 14, 2019 08:50
Error Message from Building ipfs-cluster-ctl
➜ ipfs-cluster-ctl source ipfs-cluster-ctl
ipfs-cluster-ctl:1: command not found: \M-N
ipfs-cluster-ctl:1: command not found: \M-N^A
ipfs-cluster-ctl:1: no matches found: ^@^@^@^@^@^R\M-1\M-\^@^C^@^@^@^@^@^@^@^@^@^@^@^@^@^@^B^@^@^@^@^@^@^@^@^@^@^@^@__zdebug_frame^@^@__DWARF^@^@^@^@^@^@^@^@^@\M-f?\M-h^A^@^@^@^@^M!^C^@^@^@^@^@\M-f\M-_\M-e^@^C^@^@^@^@^@^@^@^@^@^@^@^@^@^@^B^@^@^@^@^@^@^@^@^@^@^@^@__zdebug_pubname__DWARF^@^@^@^@^@^@^@^@^@\M-s
ipfs-cluster-ctl:1: illegal byte sequence: \M-^N^A^@^@^@^@\M-R^@^@^@^@^@^@^@\M-
ipfs-cluster-ctl:1: no such file or directory: \M-\
ipfs-cluster-ctl:183: parse error near `|'
ipfs-cluster-ctl:185: parse error near `;|'
ipfs-cluster-ctl:284: parse error near `}'
ipfs-cluster-ctl:311: parse error near `}'
@pkafei
pkafei / upstream.md
Created February 26, 2019 16:50
Obtaining changes from upstream
@pkafei
pkafei / clean.py
Created January 11, 2017 19:18
looking for https
def clean_content(self):
data = self.cleaned_data['content']
atlantic_site = "http://thealtantic.com"
if "http" and not atlantic_site in data:
raise forms.ValidationError("Please make sure you have only https links")
return data
@pkafei
pkafei / 0_reuse_code.js
Created January 16, 2016 05:33
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
@pkafei
pkafei / custom.css
Created December 9, 2015 03:58
Nerdy Spearmint Theme for Jupyter Notebook
/*
Theme: Nerdy Spearmint
Author: Portia
Website: www.kuriouskoder.com
Changing theme of Jupyter notebook
*/
#header {
background-color: #B7D8BB;
@pkafei
pkafei / readme.md
Last active August 29, 2015 14:06 — forked from max-mapper/readme.md

The Dat project is an open source project housed in the US Open Data Institute and funded by the Sloan Foundation. The best introduction is probably this Wired article.

We are currently looking for a software developer and/or data scientist.

Our team is currently made up of myself in Oakland, CA, an additional software developer in Copenhagen and a Bioinformatics Researcher/Software dev in London. We work remotely and 100% open source, and these open positions are remote work friendly. If the candidates happen to be in the bay area or would like to visit here for hacking trips that would be a plus.

Our mission is to build tools to make sharing datasets easier. Right now we are especially focused on 3 pilot projects in partnership with scientific researchers, two from the bioinformatics world (one DNA and one RNA) and one from astronomy (deep space imagery).

The skills we are looking for:

@pkafei
pkafei / gist:6235715
Last active December 21, 2015 02:29
Not including the endpoints below, are there other endpoints I should include? https://github.com/Trapit/elzar/blob/master/elzar/api.urls What's in these csv's- name, id? Or anything the curator desires?
# ## V3 Groups
/v3/{org}/groups/
GET elzar.resources.groups:GETGroupsCollection()
POST elzar.resources.groups:POSTGroup()
/v3/{org}/groups/{group_id}/
GET elzar.resources.groups:GETGroup()
PUT elzar.resources.groups:PUTGroup()
DELETE elzar.resources.groups:DELETEGroup()
/v3/{org}/groups-by-name/{group_name}/
@pkafei
pkafei / gist:5621649
Created May 21, 2013 17:34
For Individual Tests
TRAPIT_ENV=test nosetests tests.unit.acceptance_tes
tc:TestEndpoints.test_get_user