See how a minor change to your commit message style can make you a better programmer.
Format: <type>(<scope>): <subject>
<scope> is optional
| Other 23 hrs 9 mins ββββββββββββββββββββ 70.8% | |
| Vue.js 6 hrs 44 mins ββββββββββββββββββββ 20.6% | |
| TypeScript 1 hr 47 mins ββββββββββββββββββββ 5.5% | |
| PHP 45 mins ββββββββββββββββββββ 2.3% |
| 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, |
| { | |
| "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", |