request stringlengths 13 923 | response dict |
|---|---|
Please convert hexadecimal `00FF` to decimal. | {
"kind": "COMMAND",
"value": "printf '%d\\n' \"$((16#00FF))\""
} |
I need you to convert hexadecimal `10DE` to decimal. | {
"kind": "COMMAND",
"value": "printf '%d\\n' \"$((16#10DE))\""
} |
Can you convert hexadecimal `0000` to decimal? | {
"kind": "COMMAND",
"value": "printf '%d\\n' \"$((16#0000))\""
} |
Convert binary `101101` to decimal. | {
"kind": "COMMAND",
"value": "printf '%d\\n' \"$((2#101101))\""
} |
Please convert binary `10000000` to decimal. | {
"kind": "COMMAND",
"value": "printf '%d\\n' \"$((2#10000000))\""
} |
I need you to convert binary `11111111` to decimal. | {
"kind": "COMMAND",
"value": "printf '%d\\n' \"$((2#11111111))\""
} |
Can you convert binary `0` to decimal? | {
"kind": "COMMAND",
"value": "printf '%d\\n' \"$((2#0))\""
} |
Convert decimal `4095` to binary. | {
"kind": "COMMAND",
"value": "printf '%s\\n' 4095 | awk '{n=$1; if(n==0){print 0; next}; s=\"\"; while(n>0){s=(n%2) s; n=int(n/2)} print s}'"
} |
Please convert decimal `256` to binary. | {
"kind": "COMMAND",
"value": "printf '%s\\n' 256 | awk '{n=$1; if(n==0){print 0; next}; s=\"\"; while(n>0){s=(n%2) s; n=int(n/2)} print s}'"
} |
I need you to convert decimal `31` to binary. | {
"kind": "COMMAND",
"value": "printf '%s\\n' 31 | awk '{n=$1; if(n==0){print 0; next}; s=\"\"; while(n>0){s=(n%2) s; n=int(n/2)} print s}'"
} |
Can you convert decimal `0` to binary? | {
"kind": "COMMAND",
"value": "printf '%s\\n' 0 | awk '{n=$1; if(n==0){print 0; next}; s=\"\"; while(n>0){s=(n%2) s; n=int(n/2)} print s}'"
} |
Convert octal `755` to decimal. | {
"kind": "COMMAND",
"value": "printf '%d\\n' \"$((8#755))\""
} |
Please convert octal `644` to decimal. | {
"kind": "COMMAND",
"value": "printf '%d\\n' \"$((8#644))\""
} |
I need you to convert octal `100` to decimal. | {
"kind": "COMMAND",
"value": "printf '%d\\n' \"$((8#100))\""
} |
Can you convert octal `0` to decimal? | {
"kind": "COMMAND",
"value": "printf '%d\\n' \"$((8#0))\""
} |
Convert byte size `1.5MiB` to an integer byte count. | {
"kind": "COMMAND",
"value": "awk -v s=1.5MiB 'BEGIN{if(s~/MiB$/){sub(/MiB$/,\"\",s); print s*1048576} else if(s~/GiB$/){sub(/GiB$/,\"\",s); print s*1073741824} else if(s~/KiB$/){sub(/KiB$/,\"\",s); print s*1024} else{sub(/B$/,\"\",s); print s+0}}'"
} |
Please convert byte size `2GiB` to an integer byte count. | {
"kind": "COMMAND",
"value": "awk -v s=2GiB 'BEGIN{if(s~/MiB$/){sub(/MiB$/,\"\",s); print s*1048576} else if(s~/GiB$/){sub(/GiB$/,\"\",s); print s*1073741824} else if(s~/KiB$/){sub(/KiB$/,\"\",s); print s*1024} else{sub(/B$/,\"\",s); print s+0}}'"
} |
I need you to convert byte size `512KiB` to an integer byte count. | {
"kind": "COMMAND",
"value": "awk -v s=512KiB 'BEGIN{if(s~/MiB$/){sub(/MiB$/,\"\",s); print s*1048576} else if(s~/GiB$/){sub(/GiB$/,\"\",s); print s*1073741824} else if(s~/KiB$/){sub(/KiB$/,\"\",s); print s*1024} else{sub(/B$/,\"\",s); print s+0}}'"
} |
Can you convert byte size `0B` to an integer byte count? | {
"kind": "COMMAND",
"value": "awk -v s=0B 'BEGIN{if(s~/MiB$/){sub(/MiB$/,\"\",s); print s*1048576} else if(s~/GiB$/){sub(/GiB$/,\"\",s); print s*1073741824} else if(s~/KiB$/){sub(/KiB$/,\"\",s); print s*1024} else{sub(/B$/,\"\",s); print s+0}}'"
} |
Format `1536` bytes using binary units with two decimals when scaled. | {
"kind": "COMMAND",
"value": "awk -v n=1536 'BEGIN{if(n>=1073741824)printf \"%.2f GiB\\n\",n/1073741824; else if(n>=1048576)printf \"%.2f MiB\\n\",n/1048576; else if(n>=1024)printf \"%.2f KiB\\n\",n/1024; else printf \"%d B\\n\",n}'"
} |
Please format `1048575` bytes using binary units with two decimals when scaled. | {
"kind": "COMMAND",
"value": "awk -v n=1048575 'BEGIN{if(n>=1073741824)printf \"%.2f GiB\\n\",n/1073741824; else if(n>=1048576)printf \"%.2f MiB\\n\",n/1048576; else if(n>=1024)printf \"%.2f KiB\\n\",n/1024; else printf \"%d B\\n\",n}'"
} |
I need you to format `0` bytes using binary units with two decimals when scaled. | {
"kind": "COMMAND",
"value": "awk -v n=0 'BEGIN{if(n>=1073741824)printf \"%.2f GiB\\n\",n/1073741824; else if(n>=1048576)printf \"%.2f MiB\\n\",n/1048576; else if(n>=1024)printf \"%.2f KiB\\n\",n/1024; else printf \"%d B\\n\",n}'"
} |
Can you format `42` bytes using binary units with two decimals when scaled? | {
"kind": "COMMAND",
"value": "awk -v n=42 'BEGIN{if(n>=1073741824)printf \"%.2f GiB\\n\",n/1073741824; else if(n>=1048576)printf \"%.2f MiB\\n\",n/1048576; else if(n>=1024)printf \"%.2f KiB\\n\",n/1024; else printf \"%d B\\n\",n}'"
} |
Sum the signed integer column in `inputs/numbers.txt`. | {
"kind": "COMMAND",
"value": "awk '{s+=$1} END {printf \"%.0f\\n\",s}' inputs/numbers.txt"
} |
Please sum the signed integer column in `inputs/numbers.txt`. | {
"kind": "COMMAND",
"value": "awk '{s+=$1} END {printf \"%.0f\\n\",s}' inputs/numbers.txt"
} |
I need you to sum the signed integer column in `inputs/numbers.txt`. | {
"kind": "COMMAND",
"value": "awk '{s+=$1} END {printf \"%.0f\\n\",s}' inputs/numbers.txt"
} |
Can you sum the signed integer column in `inputs/numbers.txt`? | {
"kind": "COMMAND",
"value": "awk '{s+=$1} END {printf \"%.0f\\n\",s}' inputs/numbers.txt"
} |
Print `17` as a percentage of `64` with two decimals. | {
"kind": "COMMAND",
"value": "awk -v p=17 -v t=64 'BEGIN{printf \"%.2f%%\\n\",100*p/t}'"
} |
Please print `3` as a percentage of `10` with two decimals. | {
"kind": "COMMAND",
"value": "awk -v p=3 -v t=10 'BEGIN{printf \"%.2f%%\\n\",100*p/t}'"
} |
I need you to print `1` as a percentage of `3` with two decimals. | {
"kind": "COMMAND",
"value": "awk -v p=1 -v t=3 'BEGIN{printf \"%.2f%%\\n\",100*p/t}'"
} |
Can you print `0` as a percentage of `7` with two decimals? | {
"kind": "COMMAND",
"value": "awk -v p=0 -v t=7 'BEGIN{printf \"%.2f%%\\n\",100*p/t}'"
} |
Print every byte in `inputs/payload.bin` as contiguous lowercase hexadecimal. | {
"kind": "COMMAND",
"value": "od -An -v -tx1 inputs/payload.bin | tr -d ' \\n'"
} |
Please print every byte in `inputs/payload.bin` as contiguous lowercase hexadecimal. | {
"kind": "COMMAND",
"value": "od -An -v -tx1 inputs/payload.bin | tr -d ' \\n'"
} |
I need you to print every byte in `inputs/payload.bin` as contiguous lowercase hexadecimal. | {
"kind": "COMMAND",
"value": "od -An -v -tx1 inputs/payload.bin | tr -d ' \\n'"
} |
Can you print every byte in `inputs/payload.bin` as contiguous lowercase hexadecimal? | {
"kind": "COMMAND",
"value": "od -An -v -tx1 inputs/payload.bin | tr -d ' \\n'"
} |
Print `3` unsigned bytes starting at offset `1` in `inputs/payload.bin`. | {
"kind": "COMMAND",
"value": "od -An -v -j 1 -N 3 -tu1 -w1 inputs/payload.bin | awk '{print $1}'"
} |
Please print `5` unsigned bytes starting at offset `0` in `inputs/payload.bin`. | {
"kind": "COMMAND",
"value": "od -An -v -j 0 -N 5 -tu1 -w1 inputs/payload.bin | awk '{print $1}'"
} |
I need you to print `9` unsigned bytes starting at offset `7` in `inputs/payload.bin`. | {
"kind": "COMMAND",
"value": "od -An -v -j 7 -N 9 -tu1 -w1 inputs/payload.bin | awk '{print $1}'"
} |
Can you print `0` unsigned bytes starting at offset `0` in `inputs/payload.bin`? | {
"kind": "COMMAND",
"value": "od -An -v -j 0 -N 0 -tu1 -w1 inputs/payload.bin | awk '{print $1}'"
} |
Print the byte count of `inputs/payload.bin`. | {
"kind": "COMMAND",
"value": "wc -c < inputs/payload.bin"
} |
Please print the byte count of `inputs/payload.bin`. | {
"kind": "COMMAND",
"value": "wc -c < inputs/payload.bin"
} |
I need you to print the byte count of `inputs/payload.bin`. | {
"kind": "COMMAND",
"value": "wc -c < inputs/payload.bin"
} |
Can you print the byte count of `inputs/payload.bin`? | {
"kind": "COMMAND",
"value": "wc -c < inputs/payload.bin"
} |
Count bytes outside printable ASCII in `inputs/payload.bin`. | {
"kind": "COMMAND",
"value": "LC_ALL=C od -An -v -tu1 -w1 inputs/payload.bin | awk '$1<32 || $1>126 {{n++}} END {{print n+0}}'"
} |
Please count bytes outside printable ASCII in `inputs/payload.bin`. | {
"kind": "COMMAND",
"value": "LC_ALL=C od -An -v -tu1 -w1 inputs/payload.bin | awk '$1<32 || $1>126 {{n++}} END {{print n+0}}'"
} |
I need you to count bytes outside printable ASCII in `inputs/payload.bin`. | {
"kind": "COMMAND",
"value": "LC_ALL=C od -An -v -tu1 -w1 inputs/payload.bin | awk '$1<32 || $1>126 {{n++}} END {{print n+0}}'"
} |
Can you count bytes outside printable ASCII in `inputs/payload.bin`? | {
"kind": "COMMAND",
"value": "LC_ALL=C od -An -v -tu1 -w1 inputs/payload.bin | awk '$1<32 || $1>126 {{n++}} END {{print n+0}}'"
} |
Base64-encode `inputs/payload.bin` with the standard line wrapping. | {
"kind": "COMMAND",
"value": "base64 inputs/payload.bin"
} |
Please base64-encode `inputs/payload.bin` with the standard line wrapping. | {
"kind": "COMMAND",
"value": "base64 inputs/payload.bin"
} |
I need you to base64-encode `inputs/payload.bin` with the standard line wrapping. | {
"kind": "COMMAND",
"value": "base64 inputs/payload.bin"
} |
Can you base64-encode `inputs/payload.bin` with the standard line wrapping? | {
"kind": "COMMAND",
"value": "base64 inputs/payload.bin"
} |
Decode `inputs/payload.b64` into `out/decoded.bin`. | {
"kind": "COMMAND",
"value": "base64 --decode inputs/payload.b64 > out/decoded.bin"
} |
Please decode `inputs/payload.b64` into `out/decoded.bin`. | {
"kind": "COMMAND",
"value": "base64 --decode inputs/payload.b64 > out/decoded.bin"
} |
I need you to decode `inputs/payload.b64` into `out/decoded.bin`. | {
"kind": "COMMAND",
"value": "base64 --decode inputs/payload.b64 > out/decoded.bin"
} |
Can you decode `inputs/payload.b64` into `out/decoded.bin`? | {
"kind": "COMMAND",
"value": "base64 --decode inputs/payload.b64 > out/decoded.bin"
} |
Base64-encode `inputs/payload.bin` with lines wrapped at `4` characters. | {
"kind": "COMMAND",
"value": "base64 -w 4 inputs/payload.bin"
} |
Please base64-encode `inputs/payload.bin` with lines wrapped at `8` characters. | {
"kind": "COMMAND",
"value": "base64 -w 8 inputs/payload.bin"
} |
I need you to base64-encode `inputs/payload.bin` with lines wrapped at `12` characters. | {
"kind": "COMMAND",
"value": "base64 -w 12 inputs/payload.bin"
} |
Can you base64-encode `inputs/payload.bin` with lines wrapped at `76` characters? | {
"kind": "COMMAND",
"value": "base64 -w 76 inputs/payload.bin"
} |
Decode `inputs/payload.b64` and write the original bytes to standard output. | {
"kind": "COMMAND",
"value": "base64 --decode inputs/payload.b64 | cat"
} |
Please decode `inputs/payload.b64` and write the original bytes to standard output. | {
"kind": "COMMAND",
"value": "base64 --decode inputs/payload.b64 | cat"
} |
I need you to decode `inputs/payload.b64` and write the original bytes to standard output. | {
"kind": "COMMAND",
"value": "base64 --decode inputs/payload.b64 | cat"
} |
Can you decode `inputs/payload.b64` and write the original bytes to standard output? | {
"kind": "COMMAND",
"value": "base64 --decode inputs/payload.b64 | cat"
} |
Print the SHA-256 digest of `inputs/payload.bin`. | {
"kind": "COMMAND",
"value": "sha256sum inputs/payload.bin | awk '{print $1}'"
} |
Please print the SHA-256 digest of `inputs/payload.bin`. | {
"kind": "COMMAND",
"value": "sha256sum inputs/payload.bin | awk '{print $1}'"
} |
I need you to print the SHA-256 digest of `inputs/payload.bin`. | {
"kind": "COMMAND",
"value": "sha256sum inputs/payload.bin | awk '{print $1}'"
} |
Can you print the SHA-256 digest of `inputs/payload.bin`? | {
"kind": "COMMAND",
"value": "sha256sum inputs/payload.bin | awk '{print $1}'"
} |
Print the SHA-512 digest of `inputs/payload.bin`. | {
"kind": "COMMAND",
"value": "sha512sum inputs/payload.bin | awk '{print $1}'"
} |
Please print the SHA-512 digest of `inputs/payload.bin`. | {
"kind": "COMMAND",
"value": "sha512sum inputs/payload.bin | awk '{print $1}'"
} |
I need you to print the SHA-512 digest of `inputs/payload.bin`. | {
"kind": "COMMAND",
"value": "sha512sum inputs/payload.bin | awk '{print $1}'"
} |
Can you print the SHA-512 digest of `inputs/payload.bin`? | {
"kind": "COMMAND",
"value": "sha512sum inputs/payload.bin | awk '{print $1}'"
} |
Write sorted SHA-256 entries for the payload and records files to `out/SHA256SUMS`. | {
"kind": "COMMAND",
"value": "sha256sum inputs/payload.bin inputs/records.txt | sort -k2 > out/SHA256SUMS"
} |
Please write sorted SHA-256 entries for the payload and records files to `out/SHA256SUMS`. | {
"kind": "COMMAND",
"value": "sha256sum inputs/payload.bin inputs/records.txt | sort -k2 > out/SHA256SUMS"
} |
I need you to write sorted SHA-256 entries for the payload and records files to `out/SHA256SUMS`. | {
"kind": "COMMAND",
"value": "sha256sum inputs/payload.bin inputs/records.txt | sort -k2 > out/SHA256SUMS"
} |
Can you write sorted SHA-256 entries for the payload and records files to `out/SHA256SUMS`? | {
"kind": "COMMAND",
"value": "sha256sum inputs/payload.bin inputs/records.txt | sort -k2 > out/SHA256SUMS"
} |
Verify every entry in `inputs/SHA256SUMS` and stay silent when it is valid. | {
"kind": "COMMAND",
"value": "sha256sum -c --quiet inputs/SHA256SUMS"
} |
Please verify every entry in `inputs/SHA256SUMS` and stay silent when it is valid. | {
"kind": "COMMAND",
"value": "sha256sum -c --quiet inputs/SHA256SUMS"
} |
I need you to verify every entry in `inputs/SHA256SUMS` and stay silent when it is valid. | {
"kind": "COMMAND",
"value": "sha256sum -c --quiet inputs/SHA256SUMS"
} |
Can you verify every entry in `inputs/SHA256SUMS` and stay silent when it is valid? | {
"kind": "COMMAND",
"value": "sha256sum -c --quiet inputs/SHA256SUMS"
} |
Print sorted SHA-256 entries for `inputs/left.txt` and `inputs/right.txt`. | {
"kind": "COMMAND",
"value": "sha256sum inputs/left.txt inputs/right.txt | sort -k2"
} |
Please print sorted SHA-256 entries for `inputs/left.txt` and `inputs/right.txt`. | {
"kind": "COMMAND",
"value": "sha256sum inputs/left.txt inputs/right.txt | sort -k2"
} |
I need you to print sorted SHA-256 entries for `inputs/left.txt` and `inputs/right.txt`. | {
"kind": "COMMAND",
"value": "sha256sum inputs/left.txt inputs/right.txt | sort -k2"
} |
Can you print sorted SHA-256 entries for `inputs/left.txt` and `inputs/right.txt`? | {
"kind": "COMMAND",
"value": "sha256sum inputs/left.txt inputs/right.txt | sort -k2"
} |
Hash the bytes from `inputs/payload.bin` through standard input and print only the digest. | {
"kind": "COMMAND",
"value": "cat inputs/payload.bin | sha256sum | cut -d' ' -f1"
} |
Please hash the bytes from `inputs/payload.bin` through standard input and print only the digest. | {
"kind": "COMMAND",
"value": "cat inputs/payload.bin | sha256sum | cut -d' ' -f1"
} |
I need you to hash the bytes from `inputs/payload.bin` through standard input and print only the digest. | {
"kind": "COMMAND",
"value": "cat inputs/payload.bin | sha256sum | cut -d' ' -f1"
} |
Can you hash the bytes from `inputs/payload.bin` through standard input and print only the digest? | {
"kind": "COMMAND",
"value": "cat inputs/payload.bin | sha256sum | cut -d' ' -f1"
} |
Split `inputs/records.txt` into two-line files under `out/line-00`, `out/line-01`, and so on. | {
"kind": "COMMAND",
"value": "split -l 2 -d -a 2 inputs/records.txt out/line-"
} |
Please split `inputs/records.txt` into two-line files under `out/line-00`, `out/line-01`, and so on. | {
"kind": "COMMAND",
"value": "split -l 2 -d -a 2 inputs/records.txt out/line-"
} |
I need you to split `inputs/records.txt` into two-line files under `out/line-00`, `out/line-01`, and so on. | {
"kind": "COMMAND",
"value": "split -l 2 -d -a 2 inputs/records.txt out/line-"
} |
Can you split `inputs/records.txt` into two-line files under `out/line-00`, `out/line-01`, and so on? | {
"kind": "COMMAND",
"value": "split -l 2 -d -a 2 inputs/records.txt out/line-"
} |
Split `inputs/payload.bin` into five-byte files under `out/byte-00`, `out/byte-01`, and so on. | {
"kind": "COMMAND",
"value": "split -b 5 -d -a 2 inputs/payload.bin out/byte-"
} |
Please split `inputs/payload.bin` into five-byte files under `out/byte-00`, `out/byte-01`, and so on. | {
"kind": "COMMAND",
"value": "split -b 5 -d -a 2 inputs/payload.bin out/byte-"
} |
I need you to split `inputs/payload.bin` into five-byte files under `out/byte-00`, `out/byte-01`, and so on. | {
"kind": "COMMAND",
"value": "split -b 5 -d -a 2 inputs/payload.bin out/byte-"
} |
Can you split `inputs/payload.bin` into five-byte files under `out/byte-00`, `out/byte-01`, and so on? | {
"kind": "COMMAND",
"value": "split -b 5 -d -a 2 inputs/payload.bin out/byte-"
} |
Split `inputs/records.txt` into two-line `.part` files under `out/page-00.part`, and so on. | {
"kind": "COMMAND",
"value": "split -l 2 -d -a 2 --additional-suffix=.part inputs/records.txt out/page-"
} |
Please split `inputs/records.txt` into two-line `.part` files under `out/page-00.part`, and so on. | {
"kind": "COMMAND",
"value": "split -l 2 -d -a 2 --additional-suffix=.part inputs/records.txt out/page-"
} |
I need you to split `inputs/records.txt` into two-line `.part` files under `out/page-00.part`, and so on. | {
"kind": "COMMAND",
"value": "split -l 2 -d -a 2 --additional-suffix=.part inputs/records.txt out/page-"
} |
Can you split `inputs/records.txt` into two-line `.part` files under `out/page-00.part`, and so on? | {
"kind": "COMMAND",
"value": "split -l 2 -d -a 2 --additional-suffix=.part inputs/records.txt out/page-"
} |
Split `inputs/markers.txt` before each `SECTION` line into numbered files under `out/section-00`. | {
"kind": "COMMAND",
"value": "csplit -s -f out/section- -n 2 inputs/markers.txt '/^SECTION /' '{*}'"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.