BelugaDataSetCoder commited on
Commit
7a8c42a
·
verified ·
1 Parent(s): 3d98934

Upload train.jsonl with huggingface_hub

Browse files
Files changed (2) hide show
  1. .gitattributes +1 -0
  2. train.jsonl +3 -69
.gitattributes CHANGED
@@ -58,3 +58,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
58
  # Video files - compressed
59
  *.mp4 filter=lfs diff=lfs merge=lfs -text
60
  *.webm filter=lfs diff=lfs merge=lfs -text
 
 
58
  # Video files - compressed
59
  *.mp4 filter=lfs diff=lfs merge=lfs -text
60
  *.webm filter=lfs diff=lfs merge=lfs -text
61
+ train.jsonl filter=lfs diff=lfs merge=lfs -text
train.jsonl CHANGED
@@ -1,69 +1,3 @@
1
- {"prompt": "show system uptime", "completion": "uptime -p"}
2
- {"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}"}
3
- {"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}"}
4
- {"prompt": "update system and install opencode with clipboard support on arch linux", "completion": "sudo pacman -Syu opencode opencode-desktop wl-clipboard"}
5
- {"prompt": "check active listening ports and process names in linux", "completion": "sudo ss -tulpn"}
6
- {"prompt": "restart ollama systemd service and follow live logs", "completion": "sudo systemctl restart ollama && journalctl -fu ollama"}
7
- {"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"}
8
- {"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"}
9
- {"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)"}
10
- {"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"}
11
- {"prompt": "[zsh] Write a Zsh command to extract a .tar.gz archive into the current directory.", "response": "tar -xzf archive.tar.gz"}
12
- {"prompt": "[zsh] Write a Zsh command to extract a .zip archive into a specific folder.", "response": "unzip archive.zip -d target_dir/"}
13
- {"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"}
14
- {"prompt": "[zsh] Write a Zsh command using glob qualifiers to list only executable regular files in the current folder.", "response": "ls -l *(.x)"}
15
- {"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}\""}
16
- {"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\""}
17
- {"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'"}
18
- {"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"}
19
- {"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\""}
20
- {"prompt": "[zsh] How do I list all files including hidden ones in Zsh?", "response": "ls -la"}
21
- {"prompt": "[zsh] Write a Zsh command to quickly jump back to the previous directory I was in.", "response": "cd -"}
22
- {"prompt": "[zsh] How do I create a nested directory structure like projects/app/src in one command?", "response": "mkdir -p projects/app/src"}
23
- {"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"}
24
- {"prompt": "[zsh] Write a Zsh command to search my command history for anything containing 'docker'.", "response": "history 1 | grep docker"}
25
- {"prompt": "[zsh] How do I make a shell script executable and run it in Zsh?", "response": "chmod +x script.zsh && ./script.zsh"}
26
- {"prompt": "[zsh] How do I check the size of all folders in the current directory in a human-readable format?", "response": "du -sh */"}
27
- {"prompt": "[zsh] Write a Zsh command to find all .log files modified in the last 24 hours.", "response": "find . -name \"*.log\" -mtime -1"}
28
- {"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"}
29
- {"prompt": "[zsh] How do I add a new folder to my PATH environment variable in Zsh?", "response": "export PATH=\"$HOME/bin:$PATH\""}
30
- {"prompt": "[zsh] Write a command to recursively copy a directory named 'assets' to 'backup/assets'.", "response": "cp -r assets backup/"}
31
- {"prompt": "[zsh] How do I find out which process is currently using port 8080?", "response": "lsof -i :8080"}
32
- {"prompt": "[zsh] How can I clear the terminal screen and scrollback buffer in Zsh?", "response": "clear && printf '\\e[3J'"}
33
- {"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"}
34
- {"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"}
35
- {"prompt": "[zsh] How do I check where a specific command or binary is located in Zsh?", "response": "which -a python3"}
36
- {"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"}
37
- {"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}'"}
38
- {"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 &"}
39
- {"prompt": "[zsh] How do I print all currently set environment variables sorted alphabetically?", "response": "env | sort"}
40
- {"prompt": "[fish] How do I set a global exported environment variable in Fish?", "response": "set -gx EDITOR nvim"}
41
- {"prompt": "[fish] How do I permanently add a directory to my PATH in Fish?", "response": "fish_add_path ~/.local/bin"}
42
- {"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\""}
43
- {"prompt": "[fish] How do I create a permanent alias for 'git status' in Fish?", "response": "alias -s gs 'git status'"}
44
- {"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"}
45
- {"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"}
46
- {"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)"}
47
- {"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)"}
48
- {"prompt": "[fish] How do I run a command substitution inside a string in Fish?", "response": "echo \"Current kernel: \"(uname -r)"}
49
- {"prompt": "[fish] Write a Fish one-liner to check the exit status of the last command.", "response": "echo $status"}
50
- {"prompt": "[fish] How do I perform floating-point arithmetic in Fish?", "response": "math '15 / 4'"}
51
- {"prompt": "[fish] Write a Fish command to search my command history for anything containing 'docker'.", "response": "history search --contains docker"}
52
- {"prompt": "[fish] How do I clear all saved command history in Fish?", "response": "history clear"}
53
- {"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"}
54
- {"prompt": "[fish] Write a Fish snippet to iterate over all arguments passed to a function.", "response": "for arg in $argv; echo \"Arg: $arg\"; end"}
55
- {"prompt": "[fish] How do I list all currently set universal variables in Fish?", "response": "set -U"}
56
- {"prompt": "[fish] Write a Fish command to erase a universal variable named MY_TOKEN.", "response": "set -eU MY_TOKEN"}
57
- {"prompt": "[fish] How do I reload my Fish configuration file without restarting the terminal?", "response": "source ~/.config/fish/config.fish"}
58
- {"prompt": "[fish] Write a Fish one-liner to find and delete all .tmp files recursively.", "response": "find . -type f -name '*.tmp' -delete"}
59
- {"prompt": "[fish] How do I measure the execution time of a command in Fish?", "response": "time sleep 2"}
60
- {"prompt": "[fish] Write a Fish command to list all files including hidden ones.", "response": "ls -la"}
61
- {"prompt": "[fish] How do I find out which process is listening on port 8080 in Linux?", "response": "ss -tulpn | grep :8080"}
62
- {"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"}
63
- {"prompt": "[fish] How do I count how many .rs files exist recursively in the current project?", "response": "count **.rs"}
64
- {"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"}
65
- {"prompt": "[fish] How do I open the Fish web-based configuration interface?", "response": "fish_config"}
66
- {"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"}
67
- {"prompt": "[fish] How do I print all environment variables sorted alphabetically in Fish?", "response": "env | sort"}
68
- {"prompt": "[fish] Write a Fish conditional to check if a file named .env exists before sourcing it.", "response": "test -f .env; and source .env"}
69
- {"prompt": "[fish] How do I trim leading and trailing whitespace from a variable in Fish?", "response": "set clean (string trim ' hello world ')"}
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b63fbb36666a3d01f421d9c9cd9b7be10652a391a3347109fcc2086845146c79
3
+ size 11773371