Skip to content

Instantly share code, notes, and snippets.

View eeslom's full-sized avatar
🏚️
Rest for a while

Islom Murodov eeslom

🏚️
Rest for a while
View GitHub Profile
@eeslom
eeslom / semantic-commit-messages.md
Created September 14, 2024 20:57 — forked from joshbuchea/semantic-commit-messages.md
Semantic Commit Messages

Semantic Commit Messages

See how a minor change to your commit message style can make you a better programmer.

Format: <type>(<scope>): <subject>

<scope> is optional

Example

@antfu
antfu / html2pdf.js
Created May 5, 2020 18:06
HTML to PDF
import puppeteer from 'puppeteer'
import fs from 'fs'
async function buildPDF(htmlString) {
const browser = await puppeteer.launch({ headless: true })
const page = await browser.newPage();
await page.setContent(htmlString, { waitUntil: 'networkidle0' })
const pdf = await page.pdf({
format: 'A4',
displayHeaderFooter: false,
@antfu
antfu / resume.json
Last active September 14, 2024 20:56
{
"basics": {
"name": "Anthony Fu",
"picture": "https://antfu.me/avatar.png",
"label": "Software Engineer",
"headline": "A ship in harbor is safe, but that is not what ships are built for.",
"summary": "My name is Anthony Fu, a master of computer science student and a freelance software engineer. My passion for software lies with dreaming up ideas and making them come true with elegant interfaces. I take great care in the experience, architecture, and code quality of the things I build.\n\nI am also an open-source enthusiast and maintainer. I love how collaboration and knowledge sharing happens through open-source and I am happy to see what I do could eventually feedback to the community and industry.",
"website": "https://antfu.me",
"address": "",
"projects_url": "https://antfu.me/projects",
@joshbuchea
joshbuchea / semantic-commit-messages.md
Last active May 5, 2026 08:44
Semantic Commit Messages

Semantic Commit Messages

See how a minor change to your commit message style can make you a better programmer.

Format: <type>(<scope>): <subject>

<scope> is optional

Example