|
Download sys/sys-0038.jsonl from winapiadmin/tinycodinglm: direct link, hf CLI and curl.
- Browser
- Download file 1.62 kB
-
https://huggingface.co/datasets/winapiadmin/tinycodinglm/resolve/main/sys/sys-0038.jsonl
- Command line
-
hf download hf://datasets/winapiadmin/tinycodinglm/sys/sys-0038.jsonl
-
curl -L -o sys-0038.jsonl https://huggingface.co/datasets/winapiadmin/tinycodinglm/resolve/main/sys/sys-0038.jsonl
1.62 kB
| {"type": "session", "harness": "deepseek-harness", "id": "sys-0038", "name": "SSL/TLS certificate setup"} | |
| {"type": "message", "message": {"role": "system", "content": "You are an expert software engineer and technical assistant. You provide accurate, detailed, and practical answers. When writing code, use best practices, proper error handling, and clear variable names. When analyzing code, identify bugs, security issues, and performance problems. You have deep knowledge of C/C++, Windows API, Python, and many other technologies."}} | |
| {"type": "message", "message": {"role": "user", "content": "How do I set up SSL/TLS certificates?"}} | |
| {"type": "message", "message": {"role": "assistant", "content": "```bash\n# Let's Encrypt with certbot\nsudo apt install certbot python3-certbot-nginx\nsudo certbot --nginx -d example.com -d www.example.com\nsudo certbot renew --dry-run\n\n# Manual certificate generation\nopenssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout server.key -out server.crt -subj \"/C=US/ST=State/L=City/O=Org/CN=example.com\"\n\n# CSR generation\nopenssl req -new -newkey rsa:2048 -nodes -keyout server.key -out server.csr\n\n# Verify certificate\nopenssl x509 -in server.crt -text -noout\nopenssl verify -CAfile ca.crt server.crt\n\n# Check certificate expiry\necho | openssl s_client -connect example.com:443 2>/dev/null | openssl x509 -noout -dates\n\n# TLS configuration (nginx)\nssl_protocols TLSv1.2 TLSv1.3;\nssl_ciphers ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256;\nssl_prefer_server_ciphers off;\nssl_session_cache shared:SSL:10m;\nssl_stapling on;\n```"}} | |