updated workspace settings and some scripts
This commit is contained in:
Generated
+10
@@ -0,0 +1,10 @@
|
|||||||
|
# Default ignored files
|
||||||
|
/shelf/
|
||||||
|
/workspace.xml
|
||||||
|
# Ignored default folder with query files
|
||||||
|
/queries/
|
||||||
|
# Datasource local storage ignored files
|
||||||
|
/dataSources/
|
||||||
|
/dataSources.local.xml
|
||||||
|
# Editor-based HTTP Client requests
|
||||||
|
/httpRequests/
|
||||||
Generated
+9
@@ -0,0 +1,9 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<module type="JAVA_MODULE" version="4">
|
||||||
|
<component name="NewModuleRootManager" inherit-compiler-output="true">
|
||||||
|
<exclude-output />
|
||||||
|
<content url="file://$MODULE_DIR$" />
|
||||||
|
<orderEntry type="inheritedJdk" />
|
||||||
|
<orderEntry type="sourceFolder" forTests="false" />
|
||||||
|
</component>
|
||||||
|
</module>
|
||||||
+6
@@ -0,0 +1,6 @@
|
|||||||
|
<component name="InspectionProjectProfileManager">
|
||||||
|
<profile version="1.0">
|
||||||
|
<option name="myName" value="Project Default" />
|
||||||
|
<inspection_tool class="Eslint" enabled="true" level="WARNING" enabled_by_default="true" />
|
||||||
|
</profile>
|
||||||
|
</component>
|
||||||
Generated
+9
@@ -0,0 +1,9 @@
|
|||||||
|
<component name="libraryTable">
|
||||||
|
<library name="highlight(1)">
|
||||||
|
<CLASSES>
|
||||||
|
<root url="jar://$PROJECT_DIR$/backend/static/highlight(1).zip!/" />
|
||||||
|
</CLASSES>
|
||||||
|
<JAVADOC />
|
||||||
|
<SOURCES />
|
||||||
|
</library>
|
||||||
|
</component>
|
||||||
Generated
+5
@@ -0,0 +1,5 @@
|
|||||||
|
<project version="4">
|
||||||
|
<component name="ProjectRootManager" version="2" project-jdk-name="25" project-jdk-type="JavaSDK">
|
||||||
|
<output url="file://$PROJECT_DIR$/out" />
|
||||||
|
</component>
|
||||||
|
</project>
|
||||||
Generated
+8
@@ -0,0 +1,8 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<project version="4">
|
||||||
|
<component name="ProjectModuleManager">
|
||||||
|
<modules>
|
||||||
|
<module fileurl="file://$PROJECT_DIR$/.idea/chatapp.iml" filepath="$PROJECT_DIR$/.idea/chatapp.iml" />
|
||||||
|
</modules>
|
||||||
|
</component>
|
||||||
|
</project>
|
||||||
Generated
+6
@@ -0,0 +1,6 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<project version="4">
|
||||||
|
<component name="VcsDirectoryMappings">
|
||||||
|
<mapping directory="" vcs="Git" />
|
||||||
|
</component>
|
||||||
|
</project>
|
||||||
@@ -10,6 +10,12 @@
|
|||||||
"command": "clippy" // rust-analyzer.check.command (default: "check")
|
"command": "clippy" // rust-analyzer.check.command (default: "check")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"nu": {
|
||||||
|
"binary": {
|
||||||
|
"path": "/home/fantasypvp/.cargo/bin/nu",
|
||||||
|
"arguments": ["--lsp"]
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
+11
-1
@@ -94,6 +94,12 @@ def stats [] {
|
|||||||
} | print
|
} | print
|
||||||
}
|
}
|
||||||
|
|
||||||
|
def redis-cache [...args: string] {
|
||||||
|
# print $"redis-cli --csv (...($args | str trim))"
|
||||||
|
|
||||||
|
redis-cli ...($args | str trim) | lines | each { |line| $line | from json } | print
|
||||||
|
}
|
||||||
|
|
||||||
# Display help menu
|
# Display help menu
|
||||||
def help-menu [] {
|
def help-menu [] {
|
||||||
print "Available commands:"
|
print "Available commands:"
|
||||||
@@ -120,7 +126,7 @@ def main [] {
|
|||||||
loop {
|
loop {
|
||||||
print ""
|
print ""
|
||||||
let input = (input "Enter command > ")
|
let input = (input "Enter command > ")
|
||||||
let parts = ($input | split words)
|
let parts = ($input | split row ' ')
|
||||||
let cmd = ($parts | first)
|
let cmd = ($parts | first)
|
||||||
|
|
||||||
match $cmd {
|
match $cmd {
|
||||||
@@ -150,6 +156,9 @@ def main [] {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"sessions" => sessions,
|
"sessions" => sessions,
|
||||||
|
"redis" => {
|
||||||
|
redis-cache ...($parts | skip 1)
|
||||||
|
}
|
||||||
"active-sessions" => active-sessions,
|
"active-sessions" => active-sessions,
|
||||||
"access-codes" => access-codes,
|
"access-codes" => access-codes,
|
||||||
"valid-access-codes" => valid-access-codes,
|
"valid-access-codes" => valid-access-codes,
|
||||||
@@ -164,6 +173,7 @@ def main [] {
|
|||||||
"stats" => stats,
|
"stats" => stats,
|
||||||
"help" => help-menu,
|
"help" => help-menu,
|
||||||
"exit" => break,
|
"exit" => break,
|
||||||
|
"clear" => clear,
|
||||||
_ => $"Unknown command: \($cmd). Type 'help' for available commands."
|
_ => $"Unknown command: \($cmd). Type 'help' for available commands."
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user