conversations
listlengths
2
3
source
stringclasses
1 value
stack
stringclasses
1 value
[ { "from": "system", "value": "Add timestamps to log view.\n" }, { "from": "human", "value": "<!DOCTYPE html>\n<html>\n<head>\n <title>Mongo Logs</title>\n <style>\n td { border-top: 1px dotted black; vertical-align: top; }\n </style>\n</head>\n<body>\n <p>Log records (latest/newest entrie...
html+erb
chosen
[ { "from": "system", "value": "Delete host-only users from mysql on startup\n" }, { "from": "human", "value": "GRANT ALL PRIVILEGES ON *.* TO '<%= properties.mysql.admin_username %>'@'%' WITH GRANT OPTION;\nUPDATE mysql.user SET Password=PASSWORD('<%= properties.mysql.admin_password %>') WHERE Us...
html+erb
chosen
[ { "from": "system", "value": "Add class to chapters ol on books/show to style it\n" }, { "from": "human", "value": "<h1><%= @book.title %></h1>\n\n<ol>\n <% @book.chapters.each do |chapter| %>\n <li><%= link_to chapter.title, [@book, chapter] %></li>\n <% end %>\n</ol>" }, { "from":...
html+erb
chosen
[ { "from": "system", "value": "Check for existence of variant_images in _thumbnails partial\n" }, { "from": "human", "value": "<!-- no need for thumnails unless there is more then one image -->\n<% if product.images.size > 1 %>\n <ul id=\"product-thumbnails\" class=\"thumbnails inline\" data-hoo...
html+erb
chosen
[ { "from": "system", "value": "Configure the default locale on ubuntu16.04 docker\n\nwithout this, we may get the following error during puppets exec\nresources: Error: invalid byte sequence in US-ASCII puppet\n" }, { "from": "human", "value": "---\n# This file is managed via modulesync\n# https:...
html+erb
chosen
[ { "from": "system", "value": "Fix upstart master init script.\n" }, { "from": "human", "value": "start on (started network-interface\n or started network-manager\n or started networking)\n\nstop on (stopping network-interface\n or stopping network-manager\n or s...
html+erb
chosen
[ { "from": "system", "value": "Add explicit include directory to zabbix server.\n\nFor my opinion - it is good way to explicitly declare 'include'\ndirectories to services, so I removed old non-working conditional\nstatement about it at all rather then recreate new one.\n\nChange-Id: I4e973b1f8f6ec94bd0840a6...
html+erb
chosen
[ { "from": "system", "value": "Fix destroy path in study_set edit view\n" }, { "from": "human", "value": "<h1>Edit Study Set</h1>\n<%= render 'form' %>\n<div class=\"\">\n <%= button_to \"Destroy study set\", folder_path(@study_set), class: \"btn btn-default\", method: \"delete\" %>\n</div>\n" ...
html+erb
chosen