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
-- Based on the original articel at http://www.codeproject.com/Articles/22824/A-Model-to-Represent-Directed-Acyclic-Graphs-DAG-o | |
-- Here is a port to MySQL | |
-- Edge table | |
DROP TABLE IF EXISTS `Edge`; | |
CREATE TABLE IF NOT EXISTS `Edge` ( | |
`id` int(11) NOT NULL, | |
`entry_edge_id` int(11) DEFAULT NULL COMMENT 'The ID of the incoming edge to the start vertex that is the creation reason for this implied edge; direct edges contain the same value as the Id column', | |
`direct_edge_id` int(11) DEFAULT NULL COMMENT 'The ID of the direct edge that caused the creation of this implied edge; direct edges contain the same value as the Id column', | |
`exit_edge_id` int(11) DEFAULT NULL COMMENT 'The ID of the outgoing edge from the end vertex that is the creation reason for this implied edge; direct edges contain the same value as the Id column', |
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
<gistThat info="this is a manifest for gistThat VBA code distribution - see ramblings.mcpher.com for details"> | |
<manifest description="cDataset and associated classes and modules" contact="[email protected]"> | |
<gists> | |
<item1 gistid="3414216" version="" filename="cCell.cls" module="cCell" type="class" /> | |
<item2 gistid="3414216" version="" filename="cDataSet.cls" module="cDataSet" type="class" /> | |
<item3 gistid="3414216" version="" filename="cDataSets.cls" module="cDataSets" type="class" /> | |
<item4 gistid="3414216" version="" filename="cDataColumn.cls" module="cDataColumn" type="class" /> | |
<item5 gistid="3414216" version="" filename="cDataRow.cls" module="cDataRow" type="class" /> | |
<item6 gistid="3414216" version="" filename="cHeadingRow.cls" module="cHeadingRow" type="class" /> | |
<item7 gistid="3414346" version="" filename="" module="usefulStuff" type="module" /> |
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
'IMPORTANT - CHANGE gtExampleLoad() to include gtDoit() for each Gist you want to load | |
' bootstrap code to update VBA modules from gists | |
' all code is in this module - so no classes etc. | |
' latebinding is used to avoid need for any references | |
' can be found at https://gist.github.com/3403537 | |
Option Explicit | |
' v2.04 - 3403537 | |
' if you are using your own gists - change this | |
Const gistOwner = "brucemcpherson" | |
Dim gistOwners As New Collection |
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
<gistThat info="this is a manifest for gistThat VBA code distribution - see ramblings.mcpher.com for details"> | |
<manifest description="restlibrary associated classes and modules" contact="[email protected]"> | |
<gists> | |
<item1 gistid="3423885" version="" filename="restLibrary.vba" module="restLibrary" type="module"/> | |
<item2 gistid="3423885" version="" filename="cRest.cls" module="cRest" type="class"/> | |
<item3 gistid="3423912" version="" filename="cBrowser.cls" module="cBrowser" type="class"/> | |
<item11 gistid="6937529" version="" filename="usefulEncrypt.vba" module="usefulEncrypt" type="module"/> | |
<item4 guid="{000204EF-0000-0000-C000-000000000046}" name="VBA" major="4" minor="0" description="Visual Basic For Applications" type="reference"/> |