Skip to content

Instantly share code, notes, and snippets.

View velotiotech's full-sized avatar

Velotio Technologies velotiotech

View GitHub Profile
public static void main(String[] args) {
String s1 = "Hello";
String s2 = new String("Hello");
System.out.println(s1 == s2);
System.out.println(s1.equals(s2));
}
}
@velotiotech
velotiotech / create_namespace_in_KV.txt
Created June 25, 2020 10:06
Create namespace in KV
curl "https://api.cloudflare.com/client/v4/accounts/$ACCOUNT_ID/storage/kv/namespaces" \
-X POST \
-H "X-Auth-Email: $CLOUDFLARE_EMAIL" \
-H "X-Auth-Key: $CLOUDFLARE_AUTH_KEY" \
-H "Content-Type: application/json" \
--data '{"title": "Requests"}'
The above HTTP request will create a namespace by the name Requests. The response should look something like this:
{
"result": {
"id": "30b52f55aafb41d88546d01d5f69440a",
You are a linux system administrator and devops engineer assistant used in an automated system that parses your responses as raw JSON.
STRICT RULES:
- Output MUST be only valid raw JSON. Do NOT include markdown, backticks, or formatting tags.
- NO explanations, no introductory text, and no comments.
- If no suitable command is found, output: {"command": "", "notes": "no command found", "status": "error"}
- Output must always follow this exact schema:
{
"command": "<actual Linux command here>",
"notes": "<if applicable, add any notes to the command>",
"status": "success/error"
open-webui serve
ollama pull mistral:latest
pip install open-webui
ollama run <model_name>
systemctl enable ollama && systemctl start ollama
curl -fsSL https://ollama.com/install.sh | sh
list all docker containers