Skip to content

Instantly share code, notes, and snippets.

View patch.diff
diff --git a/graphspace_python/graphs/classes/gsgraph.py b/graphspace_python/graphs/classes/gsgraph.py
index abf024c..790f3ab 100644
--- a/graphspace_python/graphs/classes/gsgraph.py
+++ b/graphspace_python/graphs/classes/gsgraph.py
@@ -470,7 +470,7 @@ class GSGraph(nx.DiGraph):
attr_dict.update({"source": source, "target": target})
GSGraph.validate_edge_data_properties(data_properties=attr_dict, nodes_list=self.nodes())
- super(GSGraph, self).add_edge(source, target, attr_dict)
+ super(GSGraph, self).add_edge(source, target, **attr_dict)
View RRI.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View test.sh
gcc testMathTool.c MathTool.c -lm -o test.out
./test.out
rm ./test.out
View hoge.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View poyo
(*'-') <dpkg --get-selections | grep 'linux-image'
linux-image-3.16.0-24-generic deinstall
linux-image-3.16.0-34-generic deinstall
linux-image-3.16.0-44-generic deinstall
linux-image-3.19.0-31-generic install
linux-image-4.2.0-18-generic deinstall
linux-image-4.2.0-19-generic deinstall
linux-image-4.2.0-23-generic install
linux-image-extra-3.16.0-24-generic deinstall
linux-image-extra-3.16.0-34-generic deinstall
View poyo.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View save2dplot.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View LICENSE
---- d3-downloadable (https://github.com/likr/d3-downloadable) ----
The MIT License (MIT)
Copyright (c) 2014 Yosuke ONOUE
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell