updated workspace settings and some scripts

This commit is contained in:
2026-04-01 21:53:38 +01:00
parent a0e9244d6a
commit 3dfaab4865
9 changed files with 70 additions and 1 deletions
+10
View File
@@ -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/
+9
View File
@@ -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
View File
@@ -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>
+9
View File
@@ -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>
+5
View File
@@ -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>
+8
View File
@@ -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
View File
@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="VcsDirectoryMappings">
<mapping directory="" vcs="Git" />
</component>
</project>
+6
View File
@@ -10,6 +10,12 @@
"command": "clippy" // rust-analyzer.check.command (default: "check")
}
}
},
"nu": {
"binary": {
"path": "/home/fantasypvp/.cargo/bin/nu",
"arguments": ["--lsp"]
}
}
}
}
+11 -1
View File
@@ -94,6 +94,12 @@ def stats [] {
} | 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
def help-menu [] {
print "Available commands:"
@@ -120,7 +126,7 @@ def main [] {
loop {
print ""
let input = (input "Enter command > ")
let parts = ($input | split words)
let parts = ($input | split row ' ')
let cmd = ($parts | first)
match $cmd {
@@ -150,6 +156,9 @@ def main [] {
}
},
"sessions" => sessions,
"redis" => {
redis-cache ...($parts | skip 1)
}
"active-sessions" => active-sessions,
"access-codes" => access-codes,
"valid-access-codes" => valid-access-codes,
@@ -164,6 +173,7 @@ def main [] {
"stats" => stats,
"help" => help-menu,
"exit" => break,
"clear" => clear,
_ => $"Unknown command: \($cmd). Type 'help' for available commands."
}
}