Skip to content

Instantly share code, notes, and snippets.

View onyame's full-sized avatar
🎧
Working at home

Andreas Schreiber onyame

🎧
Working at home
View GitHub Profile
@onyame
onyame / Prompt.md
Created November 20, 2023 15:55
DALL·E - Spider Comic for graph_class.py

Setting

GPT-4 DALL+E 3 September 25 Version

Prompt

Draw a comic for the following character:

Graphy is a spider whose body represents a graph network. Each leg represents a vertex, and the connections between the legs represent the edges between vertices.

Class Vertex:
def __init__(self, key):
self.id = key
self.connectedTo = {}
def addNeighbor(self, nbr, weight = 0):
self.connectedTo[nbr] = weight
def __str__(self):
@onyame
onyame / ipaw2021-cwa-visualizations-20210310.gexf
Created April 6, 2023 11:55
ipaw2021-cwa-visualizations-20210310
<?xml version="1.0" encoding="UTF-8"?>
<gexf version="1.2" xmlns="http://www.gexf.net/1.2draft" xmlns:viz="http:///www.gexf.net/1.1draft/viz">
<meta/>
<graph defaultedgetype="directed">
<attributes class="node">
<attribute id="prov" title="prov" type="string"/>
<attribute id="role" title="role" type="string"/>
</attributes>
<attributes class="edge">
<attribute id="prov" title="prov" type="string"/>
@onyame
onyame / cwa-vis-1.gexf
Created April 6, 2023 11:35
cwa-vis-1
This file has been truncated, but you can view the full file.
<?xml version="1.0" encoding="UTF-8"?>
<gexf version="1.2" xmlns="http://www.gexf.net/1.2draft" xmlns:viz="http:///www.gexf.net/1.1draft/viz">
<meta/>
<graph defaultedgetype="directed">
<attributes class="edge">
<attribute id="relationship_type" title="relationship_type" type="string"/>
</attributes>
<nodes>
<node id="1062">
<viz:color r="153" g="214" b="197"/>
Verifying that "onyame.id" is my Blockstack ID. https://onename.com/onyame
@onyame
onyame / keybase.md
Created July 21, 2016 02:12
keybase.md

Keybase proof

I hereby claim:

  • I am onyame on github.
  • I am onyame (https://keybase.io/onyame) on keybase.
  • I have a public key ASDZ9scK05fFCte6Yvi74a8v_sTr9jX0l8KpZNSyzoEemgo

To claim this, I am signing this object: