Skip to content

Instantly share code, notes, and snippets.

View artpar's full-sized avatar
🏠
Working from home

Parth Mudgal artpar

🏠
Working from home
View GitHub Profile
console.log('Hello World');
@artpar
artpar / {{filename}}
Created August 21, 2025 07:50
{{description}}
• {
• {
• e
• x
• t
• r
• a
• c
• t
• -
@artpar
artpar / {{filename}}
Created August 21, 2025 07:35
{{description}}
• {
• {
• e
• x
• t
• r
• a
• c
• t
• -
@artpar
artpar / {{filename}}
Created August 21, 2025 07:31
{{description}}
• {
• {
• e
• x
• t
• r
• a
• c
• t
• -
@artpar
artpar / {{filename}}
Created August 21, 2025 07:30
{{description}}
• {
• {
• e
• x
• t
• r
• a
• c
• t
• -
@artpar
artpar / hackernews-titles-2025-08-15.md
Created August 16, 2025 17:32
Hacker News frontpage titles extracted on August 15, 2025

Hacker News Frontpage Titles - August 15, 2025

  1. Toothpaste made from hair provides natural root to repair teeth
  2. Good system design
  3. Payment Processor Fun 2025 – Making Your Own Merchant Service Provider
  4. Pfeilstorch
  5. PuTTY has a new website
  6. Writing a competitive BZip2 encoder in Ada from scratch in a few days – part 2
  7. Traps to Developers
  8. The future of large files in Git is Git
@artpar
artpar / hackernews-transparent.md
Created August 16, 2025 13:11
Test gist with transparent DOM
  • {"attributes":{"class":"athing submission","id":"44921137"},"boundingRect":{"bottom":86.18750381469727,"height":37.330360412597656,"left":0,"right":448.5714416503906,"top":48.85714340209961,"width":448.5714416503906,"x":0,"y":48.85714340209961},"innerHTML":"<td align="right" valign="top" class="title"><span class="rank">1.<td valign="top" class="votelinks"><a id="up_44921137" href="vote?id=44921137&how=up&goto=news"><div class="votearrow" title="upvote"><td class="title"><span class="titleline"><a href="https://www.seangoedecke.com/good-system-design/\">Everything I know about good system design<span class="sitebit comhead"> (<a href="from?site=seangoedecke.com"><span class="sitestr">seangoedecke.com)","tagName":"TR","textContent":"1.Everything I know about good system design (seangoedecke.com)"}
  • {"attributes":{"class":"athing submission","id":"44919891"},"boundingRect":{"bottom":127.758935
@artpar
artpar / random-content.js
Created August 16, 2025 11:17
Random JavaScript code with data generators and quotes
// Random JavaScript Code Example
function generateRandomData() {
const colors = ['red', 'blue', 'green', 'yellow', 'purple', 'orange'];
const animals = ['cat', 'dog', 'elephant', 'tiger', 'rabbit', 'dolphin'];
const numbers = Array.from({length: 10}, () => Math.floor(Math.random() * 100));
return {
randomColor: colors[Math.floor(Math.random() * colors.length)],
randomAnimal: animals[Math.floor(Math.random() * animals.length)],
randomNumber: numbers[Math.floor(Math.random() * numbers.length)],
@artpar
artpar / hackernews-transparent.md
Created August 16, 2025 06:10
Test gist with transparent DOM
  • {"attributes":{"class":"athing submission","id":"44919891"},"boundingRect":{"bottom":74.85714530944824,"height":22.000001907348633,"left":0,"right":686.857177734375,"top":52.85714340209961,"width":686.857177734375,"x":0,"y":52.85714340209961},"innerHTML":"<td align="right" valign="top" class="title"><span class="rank">1.<td valign="top" class="votelinks"><a id="up_44919891" href="vote?id=44919891&how=up&goto=news"><div class="votearrow" title="upvote"><td class="title"><span class="titleline"><a href="https://putty.software/\">PuTTY has a new website<span class="sitebit comhead"> (<a href="from?site=putty.software"><span class="sitestr">putty.software)","tagName":"TR","textContent":"1.PuTTY has a new website (putty.software)"}
  • {"attributes":{"class":"athing submission","id":"44919647"},"boundingRect":{"bottom":116.42857551574707,"height":22.000001907348633,"left":0,"right":686.857177734375,
  • {"attributes":{"class":"athing submission","id":"44911423"},"boundingRect":{"bottom":91.90178680419922,"height":39.04464340209961,"left":0,"right":448.5714416503906,"top":52.85714340209961,"width":448.5714416503906,"x":0,"y":52.85714340209961},"innerHTML":"<td align="right" valign="top" class="title"><span class="rank">1.<td valign="top" class="votelinks"><a id="up_44911423" href="vote?id=44911423&how=up&goto=news"><div class="votearrow" title="upvote"><td class="title"><span class="titleline"><a href="https://www.josefprusa.com/articles/open-hardware-in-3d-printing-is-dead/\">Open hardware desktop 3D printing is dead – you just don't know it yet<span class="sitebit comhead"> (<a href="from?site=josefprusa.com"><span class="sitestr">josefprusa.com)","tagName":"TR","textContent":"1.Open hardware desktop 3D printing is dead – you just don't know it yet (josefprusa.com)"}
  • {"attributes":{"class