Skip to content

Commit

Permalink
https://youtu.be/e_N4TYS1l60?t=2963 @Normani Hi its a mermaidjs demo …
Browse files Browse the repository at this point in the history
…i hope i pulled the old mermaid code from an old instance of ricothaka i cloned as /astronomy where mermaid works without creating internal .js files to avoid library network filtering @deptofdefense @blackGirlsCode  @nasa-jpl @nasa im online - rashard
  • Loading branch information
ThakaSartu authored Nov 2, 2024
1 parent 22906d2 commit af63365
Show file tree
Hide file tree
Showing 2 changed files with 159 additions and 0 deletions.
7 changes: 7 additions & 0 deletions _layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -52,5 +52,12 @@ <h1>{{ page.title | default: site.title | default: site.github.repository_name }
<p><small>Hosted on GitHub Pages &mdash; Theme by <a href="https://twitter.com/mattgraham">mattgraham</a></small></p>
</footer>
</div>
<script type="text/javascript" src="/js/lightbox.js"></script>
<link rel="stylesheet" href="/css/lightbox.css">
{% if page.mermaid %}
<script src="https://cdn.jsdelivr.net/npm/mermaid/dist/mermaid.min.js"></script>
<script>mermaid.initialize({startOnLoad:true});</script>
{% endif %}

</body>
</html>
152 changes: 152 additions & 0 deletions index.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,158 @@
layout: default
---



gitGraph:
commit "Ashish"
branch newbranch
checkout newbranch
commit id:"1111"
commit tag:"test"
checkout main
commit type: HIGHLIGHT
commit
merge newbranch
commit
branch b2
commit

#Mermaid Sequence Diagram: Blogging app service communication

sequenceDiagram
participant web as Web Browser
participant blog as Blog Service
participant account as Account Service
participant mail as Mail Service
participant db as Storage

Note over web,db: The user must be logged in to submit blog posts
web->>+account: Logs in using credentials
account->>db: Query stored accounts
db->>account: Respond with query result

alt Credentials not found
account->>web: Invalid credentials
else Credentials found
account->>-web: Successfully logged in

Note over web,db: When the user is authenticated, they can now submit new posts
web->>+blog: Submit new post
blog->>db: Store post data

par Notifications
blog--)mail: Send mail to blog subscribers
blog--)db: Store in-site notifications
and Response
blog-->>-web: Successfully posted
end
end



# [Server Procurement Takes Too Long: Causes and Effects](https://github.com/rudolfolah/mermaid-diagram-examples/blob/main/diagrams/cause-and-effect.md)
mindmap
root{{Server Procurement Takes Too Long}}
(Material)
not sure what hardware requirements to use as a baseline
obsolete hardware specifications
high demand for specific hardware components
(Vendors)
convoluted, slow billing process
limited vendor options
long lead times for hardware delivery
inconsistent communication from vendors
(People)
too many approvals required
unclear when costs for server are passed to client
client is unwilling to procure server
budget unavailable until milestone is met
does not see the need for the server
already has on premises servers
client does not want to use public cloud infrastructure
lack of dedicated procurement personnel
miscommunication between teams
(Systems)
procurement is not automated
outdated procurement software
lack of integration between procurement and project management tools
manual tracking of procurement status

# Class Diagram
---
title: Django Watson Class Diagram
---
classDiagram
class SearchAdapter {
fields
exclude
store
__init__(model)
prepare_content(content)
get_title(obj)
get_description(obj)
get_content(obj)
get_url(obj)
get_meta(obj)
serialize_meta(obj)
deserialize_meta(obj)
get_live_queryset()
}

class SearchContextManager {
_stack
__init__()
is_active()
start()
add_to_context(engine, obj)
invalidate()
is_invalid()
end()
update_index()
skip_index_update()
}

class SearchContext {
__init__(context_manager)
__enter__()
__exit__(exc_type, exc_value, traceback)
__call__(func)
}

class SkipSearchContext {
__exit__(exc_type, exc_value, traceback)
}

class SearchEngine {
list _created_engines$
dict _registered_models
str _engine_slug
SearchContextManager _search_context_manager
get_created_engines()$ list
__init__(engine_slug, search_context_manager)
is_registered(model) bool
register(model, adapter_cls, **field_overrides)
unregister(model)
get_registered_models() list
get_adapter(model) SearchAdapter
cleanup_model_index(model)
update_obj_index(obj)
_post_save_receiver(instance, **kwargs)
_pre_delete_receiver(instance, **kwargs)
_create_model_filter(models, backend) list
_get_included_models(models) iter
search(search_text, models, exclude, ranking, backend_name) Queryset
filter(queryset, search_text, ranking, backend_name) Queryset
}

Exception <|-- SearchAdapterError
Exception <|-- SearchEngineError
Exception <|-- SearchContextError
SearchEngineError <|-- RegistrationError
SearchContextManager *-- SearchContext
SearchContext <|-- SkipSearchContext


Text can be **bold**, _italic_, or ~~strikethrough~~.

[Link to another page](./another-page.html).
Expand Down

0 comments on commit af63365

Please sign in to comment.