See how a minor change to your commit message style can make you a better programmer.
Format: <type>(<scope>): <subject>
<scope>
is optional
@layer utilities { | |
/* extra helper classes to account for mobile safe areas */ | |
.p-safe { | |
padding: env(safe-area-inset-top) env(safe-area-inset-right) | |
env(safe-area-inset-bottom) env(safe-area-inset-left); | |
} | |
.px-safe { | |
padding-left: env(safe-area-inset-left); | |
padding-right: env(safe-area-inset-right); |
const axios = require('axios'); | |
const fs = require('fs'); | |
const url = <path_to_file> | |
axios({ | |
method: 'get', | |
url: url, | |
responseType:'stream' | |
}) | |
.then(res => { | |
res.data.pipe(fs.createWriteStream('new.zip')); |