conversations listlengths 2 2 |
|---|
[
{
"from": "human",
"value": "Rotate the piece clockwise or counterclockwise"
},
{
"from": "gpt",
"value": "<x>|<z>"
}
] |
[
{
"from": "human",
"value": "Hold a piece (only one allowed at a time)"
},
{
"from": "gpt",
"value": "<c>"
}
] |
[
{
"from": "human",
"value": "Soft drop the piece"
},
{
"from": "gpt",
"value": "<ArrowDown>"
}
] |
[
{
"from": "human",
"value": "Hard drop the piece"
},
{
"from": "gpt",
"value": "<Space>"
}
] |
[
{
"from": "human",
"value": "Pause/unpause the game"
},
{
"from": "gpt",
"value": "<p>"
}
] |
[
{
"from": "human",
"value": "Quit the game"
},
{
"from": "gpt",
"value": "<q>"
}
] |
[
{
"from": "human",
"value": "Open a dialog box displaying a specific message"
},
{
"from": "gpt",
"value": "kdialog --msgbox \"message\" \"optional_detailed_message\""
}
] |
[
{
"from": "human",
"value": "Open a question dialog with a `yes` and `no` button, returning `0` and `1`, respectively"
},
{
"from": "gpt",
"value": "kdialog --yesno \"message\""
}
] |
[
{
"from": "human",
"value": "Open a warning dialog with a `yes`, `no`, and `cancel` button, returning `0`, `1`, or `2` respectively"
},
{
"from": "gpt",
"value": "kdialog --warningyesnocancel \"message\""
}
] |
[
{
"from": "human",
"value": "Open an input dialog box and print the input to `stdout` when `OK` is pressed"
},
{
"from": "gpt",
"value": "kdialog --inputbox \"message\" \"optional_default_text\""
}
] |
[
{
"from": "human",
"value": "Open a dialog to prompt for a specific password and print it to `stdout`"
},
{
"from": "gpt",
"value": "kdialog --password \"message\""
}
] |
[
{
"from": "human",
"value": "Open a dialog containing a specific dropdown menu and print the selected item to `stdout`"
},
{
"from": "gpt",
"value": "kdialog --combobx \"message\" \"item1\" \"item2\" \"...\""
}
] |
[
{
"from": "human",
"value": "Open a file chooser dialog and print the selected file's path to `stdout`"
},
{
"from": "gpt",
"value": "kdialog --getopenfilename"
}
] |
[
{
"from": "human",
"value": "Open a progressbar dialog and print a D-Bus reference for communication to `stdout`"
},
{
"from": "gpt",
"value": "kdialog --progressbar \"message\""
}
] |
[
{
"from": "human",
"value": "Switch to the other A/B partition"
},
{
"from": "gpt",
"value": "steamos-chroot [-p|--partset] other"
}
] |
[
{
"from": "human",
"value": "Switch to a partition on another drive"
},
{
"from": "gpt",
"value": "steamos-chroot [-d|--disk] /dev/sdX [-p|--partset] A|B"
}
] |
[
{
"from": "human",
"value": "Display help"
},
{
"from": "gpt",
"value": "steamos-chroot [-h|--help]"
}
] |
[
{
"from": "human",
"value": "Add a symbolic link"
},
{
"from": "gpt",
"value": "sudo update-alternatives --install path/to/symlink command_name path/to/command_binary priority"
}
] |
[
{
"from": "human",
"value": "Configure a symbolic link for `java`"
},
{
"from": "gpt",
"value": "sudo update-alternatives --config java"
}
] |
[
{
"from": "human",
"value": "Remove a symbolic link"
},
{
"from": "gpt",
"value": "sudo update-alternatives --remove java /opt/java/jdk1.8.0_102/bin/java"
}
] |
[
{
"from": "human",
"value": "Display information about a specified command"
},
{
"from": "gpt",
"value": "update-alternatives --display java"
}
] |
[
{
"from": "human",
"value": "Display all commands and their current selection"
},
{
"from": "gpt",
"value": "update-alternatives --get-selections"
}
] |
[
{
"from": "human",
"value": "Move a virtual disk"
},
{
"from": "gpt",
"value": "qm disk move vm_id destination index"
}
] |
[
{
"from": "human",
"value": "Delete the previous copy of the virtual disk"
},
{
"from": "gpt",
"value": "qm disk move -delete vm_id destination index"
}
] |
[
{
"from": "human",
"value": "Show the current state of the cgroups and system contexts stored by `systemd-oomd`"
},
{
"from": "gpt",
"value": "oomctl dump"
}
] |
[
{
"from": "human",
"value": "Display suggestions for a given file"
},
{
"from": "gpt",
"value": "hlint path/to/file options"
}
] |
[
{
"from": "human",
"value": "Check all Haskell files and generate a report"
},
{
"from": "gpt",
"value": "hlint path/to/directory --report"
}
] |
[
{
"from": "human",
"value": "Automatically apply most suggestions"
},
{
"from": "gpt",
"value": "hlint path/to/file --refactor"
}
] |
[
{
"from": "human",
"value": "Display additional options"
},
{
"from": "gpt",
"value": "hlint path/to/file --refactor-options"
}
] |
[
{
"from": "human",
"value": "Generate a settings file ignoring all outstanding hints"
},
{
"from": "gpt",
"value": "hlint path/to/file --default > .hlint.yaml"
}
] |
[
{
"from": "human",
"value": "Start `terminator` window"
},
{
"from": "gpt",
"value": "terminator"
}
] |
[
{
"from": "human",
"value": "Start with a fullscreen window"
},
{
"from": "gpt",
"value": "terminator -f"
}
] |
[
{
"from": "human",
"value": "Split terminals horizontally"
},
{
"from": "gpt",
"value": "<Ctrl Shift o>"
}
] |
[
{
"from": "human",
"value": "Split terminals vertically"
},
{
"from": "gpt",
"value": "<Ctrl Shift e>"
}
] |
[
{
"from": "human",
"value": "Open new tab"
},
{
"from": "gpt",
"value": "<Ctrl Shift t>"
}
] |
[
{
"from": "human",
"value": "Lock the screen showing a white background"
},
{
"from": "gpt",
"value": "i3lock"
}
] |
[
{
"from": "human",
"value": "Lock the screen with a simple color background (rrggbb format)"
},
{
"from": "gpt",
"value": "i3lock --color 0000ff"
}
] |
[
{
"from": "human",
"value": "Lock the screen to a PNG background"
},
{
"from": "gpt",
"value": "i3lock --image path/to/file.png"
}
] |
[
{
"from": "human",
"value": "Lock the screen and disable the unlock indicator (removes feedback on keypress)"
},
{
"from": "gpt",
"value": "i3lock --no-unlock-indicator"
}
] |
[
{
"from": "human",
"value": "Lock the screen and don't hide the mouse pointer"
},
{
"from": "gpt",
"value": "i3lock --pointer default"
}
] |
[
{
"from": "human",
"value": "Lock the screen to a PNG background tiled over all monitors"
},
{
"from": "gpt",
"value": "i3lock --image path/to/file.png --tiling"
}
] |
[
{
"from": "human",
"value": "Lock the screen and show the number of failed login attempts"
},
{
"from": "gpt",
"value": "i3lock --show-failed-attempts"
}
] |
[
{
"from": "human",
"value": "Display the default device"
},
{
"from": "gpt",
"value": "eject [-d|--default]"
}
] |
[
{
"from": "human",
"value": "Eject the default device"
},
{
"from": "gpt",
"value": "eject"
}
] |
[
{
"from": "human",
"value": "Eject a specific device (the default order is cd-rom, scsi, floppy and tape)"
},
{
"from": "gpt",
"value": "eject /dev/cdrom"
}
] |
[
{
"from": "human",
"value": "Toggle whether a device's tray is open or closed"
},
{
"from": "gpt",
"value": "eject [-T|--traytoggle] /dev/cdrom"
}
] |
[
{
"from": "human",
"value": "Eject a cd drive"
},
{
"from": "gpt",
"value": "eject [-r|--cdrom] /dev/cdrom"
}
] |
[
{
"from": "human",
"value": "Eject a floppy drive"
},
{
"from": "gpt",
"value": "eject [-f|--floppy] /mnt/floppy"
}
] |
[
{
"from": "human",
"value": "Eject a tape drive"
},
{
"from": "gpt",
"value": "eject [-q|--tape] /mnt/tape"
}
] |
[
{
"from": "human",
"value": "Set whether the physical eject button is [i]gnored (`on` prevents ejecting)"
},
{
"from": "gpt",
"value": "eject [-i|--manualeject] on|off"
}
] |
[
{
"from": "human",
"value": "View documentation for the original command"
},
{
"from": "gpt",
"value": "tldr plasma-apply-lookandfeel"
}
] |
[
{
"from": "human",
"value": "Check quotas on all mounted non-NFS filesystems"
},
{
"from": "gpt",
"value": "sudo quotacheck --all"
}
] |
[
{
"from": "human",
"value": "Force check even if quotas are enabled (this can cause damage or loss to quota files)"
},
{
"from": "gpt",
"value": "sudo quotacheck --force mountpoint"
}
] |
[
{
"from": "human",
"value": "Check quotas on a given filesystem in debug mode"
},
{
"from": "gpt",
"value": "sudo quotacheck --debug mountpoint"
}
] |
[
{
"from": "human",
"value": "Check quotas on a given filesystem, displaying the progress"
},
{
"from": "gpt",
"value": "sudo quotacheck --verbose mountpoint"
}
] |
[
{
"from": "human",
"value": "Check user quotas"
},
{
"from": "gpt",
"value": "sudo quotacheck --user user mountpoint"
}
] |
[
{
"from": "human",
"value": "Check group quotas"
},
{
"from": "gpt",
"value": "sudo quotacheck --group group mountpoint"
}
] |
[
{
"from": "human",
"value": "Show the current number lock status"
},
{
"from": "gpt",
"value": "numlockx status"
}
] |
[
{
"from": "human",
"value": "Turn the number lock on"
},
{
"from": "gpt",
"value": "numlockx on"
}
] |
[
{
"from": "human",
"value": "Turn the number lock off"
},
{
"from": "gpt",
"value": "numlockx off"
}
] |
[
{
"from": "human",
"value": "Toggle the current state"
},
{
"from": "gpt",
"value": "numlockx toggle"
}
] |
[
{
"from": "human",
"value": "List trusted keys"
},
{
"from": "gpt",
"value": "apt-key list"
}
] |
[
{
"from": "human",
"value": "Add a key to the trusted keystore"
},
{
"from": "gpt",
"value": "apt-key add public_key_file.asc"
}
] |
[
{
"from": "human",
"value": "Delete a key from the trusted keystore"
},
{
"from": "gpt",
"value": "apt-key del key_id"
}
] |
[
{
"from": "human",
"value": "Add a remote key to the trusted keystore"
},
{
"from": "gpt",
"value": "wget -qO - https://host.tld/filename.key | apt-key add -"
}
] |
[
{
"from": "human",
"value": "Add a key from keyserver with only key ID"
},
{
"from": "gpt",
"value": "apt-key adv --keyserver pgp.mit.edu --recv KEYID"
}
] |
[
{
"from": "human",
"value": "Install a package"
},
{
"from": "gpt",
"value": "dpkg -i path/to/file.deb"
}
] |
[
{
"from": "human",
"value": "Remove a package"
},
{
"from": "gpt",
"value": "dpkg -r package"
}
] |
[
{
"from": "human",
"value": "List installed packages"
},
{
"from": "gpt",
"value": "dpkg -l pattern"
}
] |
[
{
"from": "human",
"value": "List a package's contents"
},
{
"from": "gpt",
"value": "dpkg -L package"
}
] |
[
{
"from": "human",
"value": "List contents of a local package file"
},
{
"from": "gpt",
"value": "dpkg -c path/to/file.deb"
}
] |
[
{
"from": "human",
"value": "Find out which package owns a file"
},
{
"from": "gpt",
"value": "dpkg -S path/to/file"
}
] |
[
{
"from": "human",
"value": "Purge an installed or already removed package, including configuration"
},
{
"from": "gpt",
"value": "dpkg -P package"
}
] |
[
{
"from": "human",
"value": "Create a shared memory segment"
},
{
"from": "gpt",
"value": "ipcmk --shmem segment_size_in_bytes"
}
] |
[
{
"from": "human",
"value": "Create a semaphore"
},
{
"from": "gpt",
"value": "ipcmk --semaphore element_size"
}
] |
[
{
"from": "human",
"value": "Create a message queue"
},
{
"from": "gpt",
"value": "ipcmk --queue"
}
] |
[
{
"from": "human",
"value": "Create a shared memory segment with specific permissions (default is 0644)"
},
{
"from": "gpt",
"value": "ipcmk --shmem segment_size_in_bytes octal_permissions"
}
] |
[
{
"from": "human",
"value": "Route traffic via Tor"
},
{
"from": "gpt",
"value": "torify command"
}
] |
[
{
"from": "human",
"value": "Toggle Tor in shell"
},
{
"from": "gpt",
"value": "torify on|off"
}
] |
[
{
"from": "human",
"value": "Spawn a Tor-enabled shell"
},
{
"from": "gpt",
"value": "torify --shell"
}
] |
[
{
"from": "human",
"value": "Check for a Tor-enabled shell"
},
{
"from": "gpt",
"value": "torify show"
}
] |
[
{
"from": "human",
"value": "Specify Tor configuration file"
},
{
"from": "gpt",
"value": "torify -c config-file command"
}
] |
[
{
"from": "human",
"value": "Use a specific Tor SOCKS proxy"
},
{
"from": "gpt",
"value": "torify -P proxy command"
}
] |
[
{
"from": "human",
"value": "Redirect output to a file"
},
{
"from": "gpt",
"value": "torify command > path/to/output"
}
] |
[
{
"from": "human",
"value": "Launch a VNC server that allows multiple clients to connect"
},
{
"from": "gpt",
"value": "x11vnc -shared"
}
] |
[
{
"from": "human",
"value": "Launch a VNC server in view-only mode, and which won't terminate once the last client disconnects"
},
{
"from": "gpt",
"value": "x11vnc -forever -viewonly"
}
] |
[
{
"from": "human",
"value": "Launch a VNC server on a specific display and screen (both starting at index zero)"
},
{
"from": "gpt",
"value": "x11vnc -display :display.screen"
}
] |
[
{
"from": "human",
"value": "Launch a VNC server on the third display's default screen"
},
{
"from": "gpt",
"value": "x11vnc -display :2"
}
] |
[
{
"from": "human",
"value": "Launch a VNC server on the first display's second screen"
},
{
"from": "gpt",
"value": "x11vnc -display :0.1"
}
] |
[
{
"from": "human",
"value": "Generate an analyzer from a Lex file, storing it to the file `lex.yy.c`"
},
{
"from": "gpt",
"value": "flex analyzer.l"
}
] |
[
{
"from": "human",
"value": "Write analyzer to `stdout`"
},
{
"from": "gpt",
"value": "flex [-t|--stdout] analyzer.l"
}
] |
[
{
"from": "human",
"value": "Specify the output file"
},
{
"from": "gpt",
"value": "flex analyzer.l [-o|--outfile] analyzer.c"
}
] |
[
{
"from": "human",
"value": "Generate a batch scanner instead of an interactive scanner"
},
{
"from": "gpt",
"value": "flex [-B|--batch] analyzer.l"
}
] |
[
{
"from": "human",
"value": "Compile a C file generated by Lex"
},
{
"from": "gpt",
"value": "cc path/to/lex.yy.c -o executable"
}
] |
[
{
"from": "human",
"value": "Dump a guest virtual machine into the default dump directory (usually `/var/lib/vz/dump/`), excluding snapshots"
},
{
"from": "gpt",
"value": "vzdump vm_id"
}
] |
[
{
"from": "human",
"value": "Back up the guest virtual machines with the IDs 101, 102, and 103"
},
{
"from": "gpt",
"value": "vzdump 101 102 103"
}
] |
[
{
"from": "human",
"value": "Dump a guest virtual machine using a specific mode"
},
{
"from": "gpt",
"value": "vzdump vm_id --mode suspend|snapshot"
}
] |
[
{
"from": "human",
"value": "Back up all guest systems and send an notification email to the root and admin users"
},
{
"from": "gpt",
"value": "vzdump --all --mode suspend --mailto root --mailto admin"
}
] |
[
{
"from": "human",
"value": "Use snapshot mode (no downtime required) and a non-default dump directory"
},
{
"from": "gpt",
"value": "vzdump vm_id --dumpdir path/to/directory --mode snapshot"
}
] |
[
{
"from": "human",
"value": "Back up all guest virtual machines excluding the IDs 101 and 102"
},
{
"from": "gpt",
"value": "vzdump --mode suspend --exclude 101, 102"
}
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.