This file contains hidden or 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
| UNWIND ['module1.*', 'module2.*', 'module3.*'] as module | |
| CALL { | |
| WITH module | |
| MATCH (s:File)-[:DEPENDS_ON]->(d:File)<-[:DEPENDS_ON*]-(c:File) | |
| WHERE s.name =~ module | |
| AND NOT c.name =~ module | |
| AND NOT d.name =~ 'common/.*' | |
| WITH DISTINCT s.name as subject, | |
| d.name as dependency, | |
| collect(DISTINCT c.name) as consumers |
This file contains hidden or 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
| MATCH (s:File)<-[*]-()-->(consumer:Folder) | |
| WHERE s.name =~ 'common.*' | |
| RETURN DISTINCT s.name as subject, | |
| collect(DISTINCT consumer.name) as consumers |
This file contains hidden or 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
| MATCH (s:File)<-[:DEPENDS_ON*]-(consumer:File) | |
| WHERE s.name =~ 'common.*' | |
| RETURN DISTINCT s.name as subject, | |
| collect(DISTINCT consumer.name) as consumers |
This file contains hidden or 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
| UNWIND ['module1.*', 'module2.*', 'module3.*'] as module | |
| CALL { | |
| WITH module | |
| MATCH (s:File)-[:DEPENDS_ON*]->(d:File) | |
| WHERE s.name =~ module | |
| AND NOT d.name =~ module | |
| AND NOT d.name =~ 'common.*' | |
| RETURN DISTINCT s.name as subject, | |
| collect(DISTINCT d.name) as dependencies | |
| } |
This file contains hidden or 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
| UNWIND ['module1.*', 'module2.*', 'module3.*'] as module | |
| CALL { | |
| WITH module | |
| MATCH (s:File)-[:DEPENDS_ON]->(d:File) | |
| WHERE s.name =~ module | |
| AND NOT d.name =~ module | |
| AND NOT d.name =~ 'common.*' | |
| RETURN DISTINCT s.name as subject, | |
| d.name as dependency | |
| } |
This file contains hidden or 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
| <body> | |
| <div id="game"></div> | |
| <script> | |
| var app = Elm.Main.init({ | |
| node: document.getElementById('game'), | |
| flags: window.screen.width | |
| }); | |
| </script> | |
| </body> |
This file contains hidden or 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
| main : Program Int Model Msg | |
| main = | |
| Browser.element | |
| { init = init | |
| , view = view | |
| , update = update | |
| , subscriptions = subscriptions | |
| } | |
| init : Int -> ( Model, Cmd Msg ) |
This file contains hidden or 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
| add : Int -> Int -> Int | |
| add a b = | |
| a + b | |
| dashify : String -> String -> String | |
| dashify a b = | |
| if a == "" then | |
| b |
This file contains hidden or 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
| heroList : Model -> List (Html Msg) | |
| heroList model = | |
| List.map | |
| (\x -> | |
| card [ style "margin-top" "1.5rem" ] | |
| [ cardContent [] | |
| [ media [ onClick <| ChangeHero x ] | |
| [ mediaLeft [ style "width" "40%" ] | |
| [ image (OneByOne Unbounded) | |
| [] |
This file contains hidden or 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
| type Msg | |
| = Idle | |
| | Eat (List Tags) | |
| | Damage Int | |
| | HpCheck Int | |
| | ChangeHero Hero | |
| | ShuffleFood | |
| | Shuffle (List Food) | |
| | Animate AnimatedObject Animation.Msg | |
NewerOlder