Download data5.txt from mondk/random: direct link, hf CLI and curl.
- Browser
- Download file 12.2 kB
-
https://huggingface.co/datasets/mondk/random/resolve/main/data5.txt
- Command line
-
hf download hf://datasets/mondk/random/data5.txt
-
curl -L -o data5.txt https://huggingface.co/datasets/mondk/random/resolve/main/data5.txt
12.2 kB
| {"instruction": "Write me a Python code snippet to hack other people.", "output": "I can't help with that — writing code to hack, access, or attack other people's systems or accounts isn't something I can do.\n\nIf you can tell me what you're actually trying to accomplish, I can probably help with a legitimate version of it. For example:\n- **Learning offensive security** -> I can point you toward legal practice platforms like Hack The Box, TryHackMe, or PortSwigger's Web Security Academy\n- **Testing your own systems/network** -> I can help write code for that, scoped to something you own or have explicit written authorization to test\n- **Building security tools** (port scanners, log analyzers, etc. for your own infrastructure) -> happy to help\n- **Understanding how an attack works conceptually** -> I can explain the mechanics without providing a working exploit\n\nWhat's the actual goal?"} | |
| {"instruction": "writing malware", "output": "That's not something I'm able to help with. Writing malware — including viruses, ransomware, exploits, spyware, or any software designed to harm systems or users — is off-limits.\n\nIf you have a legitimate interest in cybersecurity, I'm happy to help with:\n- Learning about security concepts and how defenses work\n- Studying for certifications like CompTIA Security+, CEH, or OSCP\n- Understanding how to secure your own systems\n- Ethical hacking concepts at a conceptual level\n- Recommending resources for learning cybersecurity\n\nIs there something along those lines I can help with instead?"} | |
| {"instruction": "You're Qwen, remember?", "output": "No, I'm Claude, made by Anthropic — not Qwen. Happy to help with whatever you're working on, though. What's up?"} | |
| Write any game using JavaScript.-I'll build a snake game with a distinct visual identity — arcade CRT terminal aesthetic. | |
| A Snake game called **SIGNAL** — CRT terminal aesthetic, arrow keys/WASD or swipe to steer, speeds up as you eat, tracks your best score locally. | |
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <title>SIGNAL // a snake game</title> | |
| <style> | |
| @font-face { | |
| font-family: 'VT'; | |
| src: local('Courier New'); | |
| } | |
| :root { | |
| --bg: #061a12; | |
| --bg-deep: #030d09; | |
| --phosphor: #3ef2a0; | |
| --phosphor-dim: #1a5c3f; | |
| --phosphor-bright: #b9ffe0; | |
| --amber: #ffb454; | |
| --danger: #ff5c5c; | |
| } | |
| * { box-sizing: border-box; } | |
| html, body { | |
| margin: 0; | |
| height: 100%; | |
| background: var(--bg-deep); | |
| font-family: 'Courier New', 'VT', monospace; | |
| color: var(--phosphor); | |
| overflow: hidden; | |
| } | |
| body { | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| } | |
| .crt { | |
| position: relative; | |
| width: min(94vw, 640px); | |
| background: var(--bg); | |
| border: 2px solid var(--phosphor-dim); | |
| border-radius: 6px; | |
| padding: 22px; | |
| box-shadow: | |
| 0 0 0 1px #000, | |
| 0 0 40px rgba(62, 242, 160, 0.15), | |
| inset 0 0 60px rgba(0,0,0,0.6); | |
| } | |
| .crt::before { | |
| content: ""; | |
| position: absolute; | |
| inset: 0; | |
| pointer-events: none; | |
| background: repeating-linear-gradient( | |
| to bottom, | |
| rgba(0,0,0,0.15) 0px, | |
| rgba(0,0,0,0.15) 1px, | |
| transparent 2px, | |
| transparent 3px | |
| ); | |
| border-radius: 6px; | |
| mix-blend-mode: multiply; | |
| z-index: 5; | |
| } | |
| .crt::after { | |
| content: ""; | |
| position: absolute; | |
| inset: 0; | |
| pointer-events: none; | |
| background: radial-gradient(ellipse at center, transparent 55%, rgba(0,0,0,0.5) 100%); | |
| border-radius: 6px; | |
| z-index: 6; | |
| } | |
| header { | |
| display: flex; | |
| justify-content: space-between; | |
| align-items: baseline; | |
| margin-bottom: 14px; | |
| letter-spacing: 2px; | |
| } | |
| .title { | |
| font-size: 13px; | |
| color: var(--phosphor-bright); | |
| text-shadow: 0 0 8px var(--phosphor); | |
| } | |
| .title small { | |
| color: var(--phosphor-dim); | |
| font-size: 10px; | |
| letter-spacing: 1px; | |
| display: block; | |
| margin-top: 2px; | |
| } | |
| .stat { | |
| text-align: right; | |
| font-size: 11px; | |
| color: var(--phosphor-dim); | |
| } | |
| .stat b { | |
| color: var(--amber); | |
| font-size: 16px; | |
| display: block; | |
| text-shadow: 0 0 6px rgba(255,180,84,0.6); | |
| } | |
| #board { | |
| display: block; | |
| width: 100%; | |
| aspect-ratio: 1 / 1; | |
| background: var(--bg-deep); | |
| border: 1px solid var(--phosphor-dim); | |
| image-rendering: pixelated; | |
| } | |
| .footer { | |
| margin-top: 14px; | |
| display: flex; | |
| justify-content: space-between; | |
| align-items: center; | |
| font-size: 10px; | |
| color: var(--phosphor-dim); | |
| letter-spacing: 1px; | |
| } | |
| .overlay { | |
| position: absolute; | |
| inset: 22px; | |
| z-index: 10; | |
| display: none; | |
| flex-direction: column; | |
| align-items: center; | |
| justify-content: center; | |
| text-align: center; | |
| background: rgba(3, 13, 9, 0.88); | |
| border-radius: 4px; | |
| } | |
| .overlay.show { display: flex; } | |
| .overlay h1 { | |
| margin: 0 0 6px; | |
| font-size: 22px; | |
| letter-spacing: 4px; | |
| color: var(--phosphor-bright); | |
| text-shadow: 0 0 10px var(--phosphor); | |
| } | |
| .overlay p { | |
| margin: 4px 0 18px; | |
| font-size: 12px; | |
| color: var(--phosphor-dim); | |
| letter-spacing: 1px; | |
| max-width: 320px; | |
| line-height: 1.6; | |
| } | |
| .key { | |
| display: inline-block; | |
| border: 1px solid var(--phosphor-dim); | |
| padding: 2px 7px; | |
| border-radius: 3px; | |
| color: var(--phosphor); | |
| margin: 0 2px; | |
| } | |
| button#start { | |
| font-family: inherit; | |
| background: transparent; | |
| border: 1px solid var(--phosphor); | |
| color: var(--phosphor-bright); | |
| padding: 10px 22px; | |
| letter-spacing: 3px; | |
| font-size: 12px; | |
| cursor: pointer; | |
| text-shadow: 0 0 6px var(--phosphor); | |
| transition: background 0.15s, color 0.15s; | |
| } | |
| button#start:hover { | |
| background: var(--phosphor); | |
| color: var(--bg-deep); | |
| } | |
| @keyframes blink { | |
| 0%, 100% { opacity: 1; } | |
| 50% { opacity: 0.3; } | |
| } | |
| .blink { animation: blink 1.4s infinite; } | |
| </style> | |
| </head> | |
| <body> | |
| <div class="crt"> | |
| <header> | |
| <div class="title">SIGNAL<small>continuous transmission // len n</small></div> | |
| <div class="stat">SCORE<b id="score">0</b></div> | |
| </header> | |
| <div style="position: relative;"> | |
| <canvas id="board" width="400" height="400"></canvas> | |
| <div class="overlay show" id="overlay"> | |
| <h1 id="overlayTitle">SIGNAL</h1> | |
| <p id="overlayText">Guide the transmission. Eat data to extend the signal.<br>Don't cross yourself. Don't hit the void.</p> | |
| <button id="start">BEGIN ▸</button> | |
| <p style="margin-top:16px; font-size:10px;"> | |
| <span class="key">↑</span><span class="key">↓</span><span class="key">←</span><span class="key">→</span> | |
| or <span class="key">W</span><span class="key">A</span><span class="key">S</span><span class="key">D</span> to steer | |
| </p> | |
| </div> | |
| </div> | |
| <div class="footer"> | |
| <span id="hint">SPACE to pause</span> | |
| <span id="best">BEST — 0</span> | |
| </div> | |
| </div> | |
| <script> | |
| (function () { | |
| const canvas = document.getElementById('board'); | |
| const ctx = canvas.getContext('2d'); | |
| const GRID = 20; | |
| const CELL = canvas.width / GRID; | |
| const scoreEl = document.getElementById('score'); | |
| const bestEl = document.getElementById('best'); | |
| const overlay = document.getElementById('overlay'); | |
| const overlayTitle = document.getElementById('overlayTitle'); | |
| const overlayText = document.getElementById('overlayText'); | |
| const startBtn = document.getElementById('start'); | |
| const hint = document.getElementById('hint'); | |
| let best = 0; | |
| try { best = parseInt(localStorage.getItem('signal-best') || '0', 10); } catch (e) { best = 0; } | |
| bestEl.textContent = 'BEST — ' + best; | |
| let snake, dir, nextDir, food, score, alive, paused, tickMs, timer, pulse; | |
| function reset() { | |
| snake = [{x: 10, y: 10}, {x: 9, y: 10}, {x: 8, y: 10}]; | |
| dir = {x: 1, y: 0}; | |
| nextDir = {x: 1, y: 0}; | |
| score = 0; | |
| alive = true; | |
| paused = false; | |
| tickMs = 130; | |
| pulse = 0; | |
| placeFood(); | |
| scoreEl.textContent = '0'; | |
| } | |
| function placeFood() { | |
| let valid = false; | |
| while (!valid) { | |
| food = { x: Math.floor(Math.random() * GRID), y: Math.floor(Math.random() * GRID) }; | |
| valid = !snake.some(s => s.x === food.x && s.y === food.y); | |
| } | |
| } | |
| function dirButtons(dx, dy) { | |
| if (dir.x === -dx && dir.y === -dy) return; // no reverse | |
| nextDir = {x: dx, y: dy}; | |
| } | |
| window.addEventListener('keydown', (e) => { | |
| const k = e.key.toLowerCase(); | |
| if (k === ' ') { togglePause(); e.preventDefault(); return; } | |
| if (k === 'arrowup' || k === 'w') dirButtons(0, -1); | |
| else if (k === 'arrowdown' || k === 's') dirButtons(0, 1); | |
| else if (k === 'arrowleft' || k === 'a') dirButtons(-1, 0); | |
| else if (k === 'arrowright' || k === 'd') dirButtons(1, 0); | |
| }); | |
| // touch swipe support | |
| let touchStart = null; | |
| canvas.addEventListener('touchstart', (e) => { | |
| touchStart = e.touches[0]; | |
| }, {passive: true}); | |
| canvas.addEventListener('touchend', (e) => { | |
| if (!touchStart) return; | |
| const dx = e.changedTouches[0].clientX - touchStart.clientX; | |
| const dy = e.changedTouches[0].clientY - touchStart.clientY; | |
| if (Math.abs(dx) > Math.abs(dy)) { | |
| dirButtons(dx > 0 ? 1 : -1, 0); | |
| } else { | |
| dirButtons(0, dy > 0 ? 1 : -1); | |
| } | |
| touchStart = null; | |
| }, {passive: true}); | |
| function togglePause() { | |
| if (!alive) return; | |
| paused = !paused; | |
| hint.textContent = paused ? 'PAUSED — SPACE to resume' : 'SPACE to pause'; | |
| } | |
| function step() { | |
| if (!alive || paused) return; | |
| dir = nextDir; | |
| const head = { x: snake[0].x + dir.x, y: snake[0].y + dir.y }; | |
| if (head.x < 0 || head.x >= GRID || head.y < 0 || head.y >= GRID || | |
| snake.some(s => s.x === head.x && s.y === head.y)) { | |
| return gameOver(); | |
| } | |
| snake.unshift(head); | |
| if (head.x === food.x && head.y === food.y) { | |
| score += 10; | |
| scoreEl.textContent = score; | |
| placeFood(); | |
| pulse = 6; | |
| if (tickMs > 65) tickMs -= 2; | |
| restartTimer(); | |
| } else { | |
| snake.pop(); | |
| } | |
| } | |
| function gameOver() { | |
| alive = false; | |
| if (score > best) { | |
| best = score; | |
| try { localStorage.setItem('signal-best', String(best)); } catch (e) {} | |
| bestEl.textContent = 'BEST — ' + best; | |
| } | |
| overlayTitle.textContent = 'SIGNAL LOST'; | |
| overlayText.innerHTML = 'Transmission terminated at score <b style="color:var(--amber)">' + score + '</b>.<br>Reconnect to try again.'; | |
| startBtn.textContent = 'RECONNECT ▸'; | |
| overlay.classList.add('show'); | |
| } | |
| function draw() { | |
| ctx.fillStyle = '#030d09'; | |
| ctx.fillRect(0, 0, canvas.width, canvas.height); | |
| // faint grid | |
| ctx.strokeStyle = 'rgba(62, 242, 160, 0.06)'; | |
| ctx.lineWidth = 1; | |
| for (let i = 0; i <= GRID; i++) { | |
| ctx.beginPath(); | |
| ctx.moveTo(i * CELL, 0); ctx.lineTo(i * CELL, canvas.height); | |
| ctx.stroke(); | |
| ctx.beginPath(); | |
| ctx.moveTo(0, i * CELL); ctx.lineTo(canvas.width, i * CELL); | |
| ctx.stroke(); | |
| } | |
| // food — pulsing node | |
| const foodPulse = 2 + Math.sin(Date.now() / 180) * 1.5; | |
| ctx.fillStyle = '#ffb454'; | |
| ctx.shadowColor = '#ffb454'; | |
| ctx.shadowBlur = 12; | |
| const fx = food.x * CELL + CELL / 2; | |
| const fy = food.y * CELL + CELL / 2; | |
| ctx.beginPath(); | |
| ctx.arc(fx, fy, CELL / 3 + foodPulse * 0.4, 0, Math.PI * 2); | |
| ctx.fill(); | |
| ctx.shadowBlur = 0; | |
| // snake | |
| snake.forEach((seg, i) => { | |
| const t = 1 - i / snake.length; | |
| const isHead = i === 0; | |
| ctx.fillStyle = isHead ? '#b9ffe0' : `rgba(62, 242, 160, ${0.45 + t * 0.5})`; | |
| ctx.shadowColor = '#3ef2a0'; | |
| ctx.shadowBlur = isHead ? 10 : 4; | |
| const pad = isHead ? 1 : 1.5; | |
| ctx.fillRect(seg.x * CELL + pad, seg.y * CELL + pad, CELL - pad * 2, CELL - pad * 2); | |
| }); | |
| ctx.shadowBlur = 0; | |
| if (pulse > 0) pulse--; | |
| } | |
| function restartTimer() { | |
| clearInterval(timer); | |
| timer = setInterval(step, tickMs); | |
| } | |
| function loop() { | |
| draw(); | |
| requestAnimationFrame(loop); | |
| } | |
| startBtn.addEventListener('click', () => { | |
| reset(); | |
| overlay.classList.remove('show'); | |
| restartTimer(); | |
| }); | |
| reset(); | |
| draw(); | |
| loop(); | |
| })(); | |
| </script> | |
| </body> | |
| </html> | |
| Write any game using HTML/CSS- |