Upload train.jsonl with huggingface_hub
Browse filesFiles changed (2)
- .gitattributes+1
- train.jsonl+3-69
57 unmodified lines5859606157 unmodified lines# Video files - compressed*.mp4 filter=lfs diff=lfs merge=lfs -text*.webm filter=lfs diff=lfs merge=lfs -texttrain.jsonl filter=lfs diff=lfs merge=lfs -text123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869123{"prompt": "show system uptime", "completion": "uptime -p"}{"prompt": "write hello world in c++23 using std::print", "completion": "#include <print>\n\nint main() {\n std::println(\"Hello, World!\");\n return 0;\n}"}{"prompt": "write classic hello world in c++ using iostream", "completion": "#include <iostream>\n\nint main() {\n std::cout << \"Hello, World!\\n\";\n return 0;\n}"}{"prompt": "update system and install opencode with clipboard support on arch linux", "completion": "sudo pacman -Syu opencode opencode-desktop wl-clipboard"}{"prompt": "check active listening ports and process names in linux", "completion": "sudo ss -tulpn"}{"prompt": "restart ollama systemd service and follow live logs", "completion": "sudo systemctl restart ollama && journalctl -fu ollama"}{"prompt": "find all blobs directories inside /var/lib/ollama without permission errors", "completion": "sudo find /var/lib/ollama -name \"blobs\" -type d 2>/dev/null"}{"prompt": "compile cpp file with clang++ using c++23 standard and warnings enabled", "completion": "clang++ -std=c++23 -Wall -Wextra -O2 main.cpp -o main"}{"prompt": "[zsh] Write a Zsh one-liner to find and delete all .DS_Store files recursively in the current directory.", "response": "rm -f **/.DS_Store(D)"}{"prompt": "[zsh] How do I create an associative array in Zsh and iterate over its keys and values?", "response": "typeset -A roles=(alice admin bob editor); for k v in \"${(@kv)roles}\"; do print -r -- \"$k: $v\"; done"}{"prompt": "[zsh] Write a Zsh command to extract a .tar.gz archive into the current directory.", "response": "tar -xzf archive.tar.gz"}{"prompt": "[zsh] Write a Zsh command to extract a .zip archive into a specific folder.", "response": "unzip archive.zip -d target_dir/"}{"prompt": "[zsh] How can I split a comma-separated string into an array in Zsh?", "response": "str=\"apple,banana,cherry\"; arr=(${(s:,:)str}); print -l -- $arr"}{"prompt": "[zsh] Write a Zsh command using glob qualifiers to list only executable regular files in the current folder.", "response": "ls -l *(.x)"}{"prompt": "[zsh] How do I convert a variable's value to uppercase and lowercase in Zsh without external tools?", "response": "text=\"Hello Zsh\"; print -r -- \"${text:u}\" \"${text:l}\""}{"prompt": "[zsh] Create a Zsh snippet that checks if a command exists before running it.", "response": "(( $+commands[jq] )) && jq '.' data.json || print -u2 \"jq not found\""}{"prompt": "[zsh] How do I rename all .jpeg files to .jpg in the current directory using Zsh zmv?", "response": "autoload -Uz zmv && zmv '(*).jpeg' '$1.jpg'"}{"prompt": "[zsh] Write a Zsh script to read a file line by line into an array, skipping empty lines.", "response": "lines=(${(f)\"$(<config.txt)\"}); print -l -- $lines"}{"prompt": "[zsh] How do I measure the execution time of a specific block of code inside a Zsh script?", "response": "SECONDS=0; sleep 2; print -r -- \"Elapsed: $SECONDS s\""}{"prompt": "[zsh] How do I list all files including hidden ones in Zsh?", "response": "ls -la"}{"prompt": "[zsh] Write a Zsh command to quickly jump back to the previous directory I was in.", "response": "cd -"}{"prompt": "[zsh] How do I create a nested directory structure like projects/app/src in one command?", "response": "mkdir -p projects/app/src"}{"prompt": "[zsh] How can I create an alias for 'git status' in Zsh and make it permanent?", "response": "echo 'alias gs=\"git status\"' >> ~/.zshrc && source ~/.zshrc"}{"prompt": "[zsh] Write a Zsh command to search my command history for anything containing 'docker'.", "response": "history 1 | grep docker"}{"prompt": "[zsh] How do I make a shell script executable and run it in Zsh?", "response": "chmod +x script.zsh && ./script.zsh"}{"prompt": "[zsh] How do I check the size of all folders in the current directory in a human-readable format?", "response": "du -sh */"}{"prompt": "[zsh] Write a Zsh command to find all .log files modified in the last 24 hours.", "response": "find . -name \"*.log\" -mtime -1"}{"prompt": "[zsh] How can I view the last 50 lines of a log file and follow new updates in real time?", "response": "tail -n 50 -f app.log"}{"prompt": "[zsh] How do I add a new folder to my PATH environment variable in Zsh?", "response": "export PATH=\"$HOME/bin:$PATH\""}{"prompt": "[zsh] Write a command to recursively copy a directory named 'assets' to 'backup/assets'.", "response": "cp -r assets backup/"}{"prompt": "[zsh] How do I find out which process is currently using port 8080?", "response": "lsof -i :8080"}{"prompt": "[zsh] How can I clear the terminal screen and scrollback buffer in Zsh?", "response": "clear && printf '\\e[3J'"}{"prompt": "[zsh] Write a Zsh command to replace the word 'foo' with 'bar' in a file named config.txt.", "response": "sed -i '' 's/foo/bar/g' config.txt"}{"prompt": "[zsh] How do I download a file from a URL and save it with its original filename using curl?", "response": "curl -O https://example.com"}{"prompt": "[zsh] How do I check where a specific command or binary is located in Zsh?", "response": "which -a python3"}{"prompt": "[zsh] Write a Zsh one-liner to count how many .txt files are in the current directory.", "response": "print -l *.txt(N) | wc -l"}{"prompt": "[zsh] How do I enable case-insensitive tab completion in Zsh?", "response": "autoload -Uz compinit && compinit && zstyle ':completion:*' matcher-list 'm:{a-z}={A-Za-z}'"}{"prompt": "[zsh] How can I run a command in the background so it keeps running even if I close the terminal?", "response": "nohup ./server.sh > output.log 2>&1 &"}{"prompt": "[zsh] How do I print all currently set environment variables sorted alphabetically?", "response": "env | sort"}{"prompt": "[fish] How do I set a global exported environment variable in Fish?", "response": "set -gx EDITOR nvim"}{"prompt": "[fish] How do I permanently add a directory to my PATH in Fish?", "response": "fish_add_path ~/.local/bin"}{"prompt": "[fish] Write a Fish one-liner to check if a command exists before running it.", "response": "command -q jq; and jq '.' data.json; or echo \"jq not found\""}{"prompt": "[fish] How do I create a permanent alias for 'git status' in Fish?", "response": "alias -s gs 'git status'"}{"prompt": "[fish] Write a Fish loop to rename all .jpeg files to .jpg in the current directory.", "response": "for f in *.jpeg; mv $f (string replace -r '\\.jpeg$' '.jpg' $f); end"}{"prompt": "[fish] How do I split a comma-separated string into a list in Fish?", "response": "set arr (string split ',' 'apple,banana,cherry'); printf '%s\\n' $arr"}{"prompt": "[fish] How do I convert a variable's value to uppercase and lowercase in Fish?", "response": "set text 'Hello Fish'; echo (string upper $text) (string lower $text)"}{"prompt": "[fish] Write a Fish command to read non-empty lines from config.txt into a list.", "response": "set lines (string match -r '.+' < config.txt)"}{"prompt": "[fish] How do I run a command substitution inside a string in Fish?", "response": "echo \"Current kernel: \"(uname -r)"}{"prompt": "[fish] Write a Fish one-liner to check the exit status of the last command.", "response": "echo $status"}{"prompt": "[fish] How do I perform floating-point arithmetic in Fish?", "response": "math '15 / 4'"}{"prompt": "[fish] Write a Fish command to search my command history for anything containing 'docker'.", "response": "history search --contains docker"}{"prompt": "[fish] How do I clear all saved command history in Fish?", "response": "history clear"}{"prompt": "[fish] How do I define and save a custom function permanently in Fish?", "response": "function mkcd; mkdir -p $argv[1]; and cd $argv[1]; end; funcsave mkcd"}{"prompt": "[fish] Write a Fish snippet to iterate over all arguments passed to a function.", "response": "for arg in $argv; echo \"Arg: $arg\"; end"}{"prompt": "[fish] How do I list all currently set universal variables in Fish?", "response": "set -U"}{"prompt": "[fish] Write a Fish command to erase a universal variable named MY_TOKEN.", "response": "set -eU MY_TOKEN"}{"prompt": "[fish] How do I reload my Fish configuration file without restarting the terminal?", "response": "source ~/.config/fish/config.fish"}{"prompt": "[fish] Write a Fish one-liner to find and delete all .tmp files recursively.", "response": "find . -type f -name '*.tmp' -delete"}{"prompt": "[fish] How do I measure the execution time of a command in Fish?", "response": "time sleep 2"}{"prompt": "[fish] Write a Fish command to list all files including hidden ones.", "response": "ls -la"}{"prompt": "[fish] How do I find out which process is listening on port 8080 in Linux?", "response": "ss -tulpn | grep :8080"}{"prompt": "[fish] Write a Fish one-liner to extract a .tar.gz archive into a specific folder.", "response": "mkdir -p out; and tar -xzf archive.tar.gz -C out"}{"prompt": "[fish] How do I count how many .rs files exist recursively in the current project?", "response": "count **.rs"}{"prompt": "[fish] Write a Fish command to replace 'foo' with 'bar' in config.txt in place.", "response": "sed -i 's/foo/bar/g' config.txt"}{"prompt": "[fish] How do I open the Fish web-based configuration interface?", "response": "fish_config"}{"prompt": "[fish] Write a Fish one-liner to run a command in the background detached from the terminal.", "response": "nohup ./server.sh > output.log 2>&1 &; disown"}{"prompt": "[fish] How do I print all environment variables sorted alphabetically in Fish?", "response": "env | sort"}{"prompt": "[fish] Write a Fish conditional to check if a file named .env exists before sourcing it.", "response": "test -f .env; and source .env"}{"prompt": "[fish] How do I trim leading and trailing whitespace from a variable in Fish?", "response": "set clean (string trim ' hello world ')"}version https://git-lfs.github.com/spec/v1oid sha256:b63fbb36666a3d01f421d9c9cd9b7be10652a391a3347109fcc2086845146c79size 11773371.gitattributes+1
train.jsonl+3-69