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
# | |
# A.L.I.C.E. AIML Set loader | |
# | |
# Authored by Makopoppo (@makopo) | |
# | |
# 1. Register to https://pandorabots.com/ | |
# to get your application's "User Key" and "Application ID" | |
# | |
# 2. Download AIML files from here: | |
# https://code.google.com/archive/p/aiml-en-us-foundation-alice/ |
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
list CHARACTER_GRID = [ | |
"00e9f9f7-0669-181c-c192-7f8e67678c8d", | |
"347a5cb6-0031-7ec0-2fcf-f298eebf3c0e", | |
"4e7e689e-37f1-9eca-8596-a958bbd23963", | |
"19ea9c21-67ba-8f6f-99db-573b1b877eb1", | |
"dde7b412-cda1-652f-6fc2-73f4641f96e1", | |
"af6fa3bb-3a6c-9c4f-4bf5-d1c126c830da", | |
"a201d3a2-364b-43b6-8686-5881c0f82a94", | |
"b674dec8-fead-99e5-c28d-2db8e4c51540", | |
"366e05f3-be6b-e5cf-c33b-731dff649caa", |
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
<auto-complete> | |
<input ref="acinput" onkeyup={complete}> | |
<ul show={ filtered.length }> | |
<li each={ c, i in filtered } onclick="{ selected }" class="{ active: parent.active==i}">{ c }</li> | |
</ul> | |
<style> | |
auto-complete ul { | |
list-style: none; |
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
FROM neo4j:latest | |
ADD ["target/procedure*.jar", "/var/lib/neo4j/plugins"] |
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
package example; | |
import org.neo4j.graphdb.Node; | |
import org.neo4j.graphdb.Path; | |
import org.neo4j.procedure.Description; | |
import org.neo4j.procedure.Name; | |
import org.neo4j.procedure.UserFunction; | |
import java.util.List; | |
import java.util.stream.Collectors; |
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
CREATE (root:node:root {name:''}) | |
CREATE (n1:node {name:'あ'}) | |
CREATE (n2:node {name:'い'}) | |
CREATE (n3:node {name:'う'}) | |
CREATE (n4:node {name:'え'}) | |
CREATE (n5:node {name: 'お', value:'あああ'}) | |
CREATE | |
(root)-[:HAS]->(n1), | |
(n1)-[:HAS]->(n2), |
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
package example; | |
import java.util.List; | |
import java.util.Map; | |
import java.util.Set; | |
import java.util.stream.Stream; | |
import org.neo4j.graphdb.GraphDatabaseService; | |
import org.neo4j.graphdb.Label; | |
import org.neo4j.graphdb.Node; |
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
class View(object): | |
def show_popup_menu(self, items, on_select, flags = 0): | |
""" | |
on_select is called when the the quick panel is finished, and should accept a | |
single integer, specifying which item was selected, or -1 for none | |
""" | |
return sublime_api.view_show_popup_table(self.view_id, items, | |
on_select, flags, -1) |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>scope</key> | |
<string>source.ossl</string> | |
<key>settings</key> | |
<dict> | |
<key>icon</key> | |
<string>file_type_ossl</string> |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>scope</key> | |
<string>source.lsl</string> | |
<key>settings</key> | |
<dict> | |
<key>icon</key> | |
<string>file_type_lsl</string> |