conversations
listlengths
2
3
source
stringclasses
1 value
stack
stringclasses
1 value
[ { "from": "system", "value": "Use a more conventional location for sites\n\nit's more common (at meast IME) to use /var/www/example.com rather than\ncreating a new root folder `sites` to put apps in.\n" }, { "from": "human", "value": "# Choose between www and non-www, listen on the *wrong* one a...
digital-command-language
chosen
[ { "from": "system", "value": "Modify apache site template to use a unique process user/group\n\nThis allows multiple instances to be deployed at once and have all\nuse WSGIScriptAlias, which would otherwise not work.\n" }, { "from": "human", "value": "<VirtualHost *:80>\n ServerName xyz.domai...
digital-command-language
chosen
[ { "from": "system", "value": "Fix a typo in the site template\n" }, { "from": "human", "value": "<VirtualHost *:80>\n ServerName xyz.domain.com\n {{ALIAS}}\n DocumentRoot /home/mustard/mustard\n\n WSGIPassAuthorization On\n WSGIDaemonProcess xyz.domain.com user=mustard group=musta...
digital-command-language
chosen
[ { "from": "system", "value": "Update the apache site template for HTTPS/SSL support\n" }, { "from": "human", "value": "<VirtualHost *:80>\n ServerName xyz.domain.com\n {{ALIAS}}\n DocumentRoot /home/mustard/mustard\n\n WSGIPassAuthorization On\n WSGIDaemonProcess xyz.domain.com us...
digital-command-language
chosen
[ { "from": "system", "value": "Change proxy from https to http\n" }, { "from": "human", "value": "server {\n listen 80 default_server;\n listen [::]:80 default_server ipv6only=on;\n\n root /usr/share/nginx/html;\n index index.html index.htm;\n\n # Make site acce...
digital-command-language
chosen
[ { "from": "system", "value": "DOS: Replace simple.com with one that uses more syscalls\n" }, { "from": "human", "value": "\u000e\u001f\u000e\u0001\t!\u0001L!Hello World!\r\r\n$" }, { "from": "gpt", "value": "\u0000]\u0001=!P\u0000e\u0001<!P\u0000\u0000\u0010\u0000\u0000\u0003?!P\u000...
digital-command-language
chosen
[ { "from": "system", "value": "Update apache instance template again\n" }, { "from": "human", "value": "<VirtualHost *:80>\n ServerName xyz.domain.com\n DocumentRoot /home/mustard/mustard\n\n WSGIPassAuthorization On\n WSGIDaemonProcess mustard user=mustard group=everyone processes=1 ...
digital-command-language
chosen
[ { "from": "system", "value": "Add a few more test entries\n" }, { "from": "human", "value": "$TTL 3600\n@ \t\tIN\tSOA\tdns1.wyvernsquare.com. helpdesk.wyvernsquare.com. (\n\t\t\t2017040402\t; serial\n\t\t\t300\t\t; refresh\n\t\t\t300\t\t; retry\n\t\t\t1209600\t\t; expire\n\t\t\t300 )\t\t; minimu...
digital-command-language
chosen
[ { "from": "system", "value": "Add white space for comment." }, { "from": "human", "value": "# www to non-www redirect -- duplicate content is BAD:\n# https://github.com/h5bp/html5-boilerplate/blob/5370479476dceae7cc3ea105946536d6bc0ee468/.htaccess#L362\n# Choose between www and non-www, listen o...
digital-command-language
chosen
[ { "from": "system", "value": "Replace example key with some nonsense text\n" }, { "from": "human", "value": "-----BEGIN RSA PRIVATE KEY-----\nMIICXAIBAAKBgQCqGKukO1De7zhZj6+H0qtjTkVxwTCpvKe4eCZ0FPqri0cb2JZfXJ/DgYSF6vUp\nwmJG8wVQZKjeGcjDOL5UlsuusFncCzWBQ7RKNUSesmQRMSGkVb1/3j+skZ6UtW+5u09lHNsj6tQ5...
digital-command-language
chosen
[ { "from": "system", "value": "Add error log to nginx config.\n" }, { "from": "human", "value": "server {\n listen 3000;\n server_name api.quran.com;\n\n access_log /var/log/nginx/api.quran.com/access.log;\n\n location / {\n passenger_enabled on;\n passenger_user app;\n passenger...
digital-command-language
chosen
[ { "from": "system", "value": "Remove extra passenger_ruby from nginx config\n\nThis causes nginx to fail to start the backend server." }, { "from": "human", "value": "server {\n listen 3000;\n server_name api.quran.com;\n\n access_log /var/log/nginx/api.quran.com/access.log;\n error_log ...
digital-command-language
chosen
[ { "from": "system", "value": "Throw out hash elements we don't need\n" }, { "from": "human", "value": "{\n \"1\": {\n \"id\": \"coinbase.com\",\n \"base\": \"https://coinbase.com/api/v1/\",\n \"docs\": \"https://coinbase.com/api/doc\",\n \"control\": \"https://coinbase.com/transacti...
digital-command-language
chosen
[ { "from": "system", "value": "Improve the apache service instance template\n" }, { "from": "human", "value": "<VirtualHost *:80>\n ServerName xyz.domain.com\n DocumentRoot /home/mustard/mustard\n\n WSGIPassAuthorization On\n WSGIDaemonProcess mustard user=mustard group=everyone proce...
digital-command-language
chosen
[ { "from": "system", "value": "Fix typo in db addr\n" }, { "from": "human", "value": "gearman_bind_address: 0.0.0.0\n\nnodepool_mysql_host: zuul.bonncyi.portbleu.com\nnodepool_gearman_servers:\n - host: zuul.bonnyci.portbleu.com\n port: 4730\n" }, { "from": "gpt", "value": "gearma...
digital-command-language
chosen
[ { "from": "human", "value": "Use well known names for gearman and mysql\n\nRather than use ansible to determine the IP for gearman and mysql lets\nmanage it manually for specific hosts. This will simplify things whilst\nwe have a small number of servers.\n" }, { "from": "gpt", "value": "nodepool...
digital-command-language
chosen
[ { "from": "human", "value": "Add an unfinished apache mustard instance template\n" }, { "from": "gpt", "value": "<VirtualHost *:80>\n ServerName xyz.domain.com\n DocumentRoot /home/mustard/mustard\n\n WSGIPassAuthorization On\n WSGIDaemonProcess mustard user=mustard group=everyone pr...
digital-command-language
chosen
[ { "from": "human", "value": "Add DELTREE.COM script to delete a directory tree on OpenVMS\n" }, { "from": "gpt", "value": "$ ivfy = f$verify(0)\n$ on control_y then goto out\n$!\n$! DELTREE.COM - AUTHORS: Joseph G. Slater\n$! Alexander Saprykin\n$!\n$! DELTREE dele...
digital-command-language
chosen
[ { "from": "human", "value": "Create Gaussian input file for orbital analysis.\n\nThis makes Gaussian to print orbital info for Molden." }, { "from": "gpt", "value": "!this Gaussian input will print out orbital info for Molden to read.\n%mem=300Mb\n%nproc=1\n#HF/6-31g** sp GFINPUT IOP(6/7=3)\n\nk...
digital-command-language
chosen