Skip to content

Instantly share code, notes, and snippets.

@casamia918
casamia918 / How to handle canvas.toDataURL securityError.md
Last active February 27, 2022 02:18
How to handle canvas.toDataURL securityError
@casamia918
casamia918 / proxy_server.js
Last active February 19, 2021 10:32
nodejs file upload proxy server & storage server example code
// proxy server
// ref: https://gist.github.com/m99coder/bc9120da4c54fa947466ce1e34c93f3a
// belows are only upload related code
const http = require('http');
const multer = require('multer');
const upload = multer({
storage: multer.memoryStorage(),
limits: {}
})
@casamia918
casamia918 / node.js) ENOENT, no such file or directory when using fs.createWriteStream.md
Last active August 20, 2024 07:12
node.js) ENOENT, no such file or directory when using fs.createWriteStream

If you are facing the "ENOENT, no such file or directory" error message when using fs.createWriteStream, check your file name again.

In my case, the last character is not the last character of file name, but carrage return (\r)

I lost 3 hours to find this simple answer. So I leave this memo.

@casamia918
casamia918 / introrx.md
Last active November 17, 2025 10:50 — forked from staltz/introrx.md
[Korean ver.] The introduction to Reactive Programming you've been missing