polv's coding blog

Pinned Health Windows macOS Linux Cross-platform
Pacharapol Withayasakpunt Pacharapol Withayasakpunt
Wed, July 17, 2019
Linux Live CD runs slowly in VirtualBox

Linux Live CD runs slowly in VirtualBox

So, I googled for solution, and found this https://forums.virtualbox.org/viewtopic.php?f=3&t=59456

Another problem is that there is no x64 enabled in VirtualBox, despite running Windows x64

Why does virtualbox only have 32-bit option, no 64-bit option on Windows 7?

Why does virtualbox only have 32-bit option, no 64-bit option on Windows 7?

I have downloaded and installed the newest virtualbox 4.3.20 for my Windows 7 (64-bit OS), but when I want to install 64-bit Linux, the New->Create Virtual Machine only displays 32-bit option, no 6…

Pacharapol Withayasakpunt Pacharapol Withayasakpunt
Tue, July 16, 2019
My tsconfig.json

My tsconfig.json

I tried to make it work best for both Node.js runtime and web browser.

Pacharapol Withayasakpunt Pacharapol Withayasakpunt
Tue, July 16, 2019
Various Node.js sqlite packages. What is the best?

Various Node.js sqlite packages. What is the best?

The official implementation is actually sqlite3, and there are at least 2 packages built on top of it -- sqlite and TypeORM. There are also other packages that can run SQLite including better-sqlite3 and sql.js.

Pacharapol Withayasakpunt Pacharapol Withayasakpunt
Tue, July 9, 2019
Registering domain names -- recurring costs, hidden costs and process

Registering domain names -- recurring costs, hidden costs and process

I have just registered a domain with Namecheap. Although with some costs ($10-35 USD annually), and some difficulties, I am quite glad I chose this one.

Looking back, some alternatives I might choose next time includes DreamHost, Bluehost; but there are some limitations for domain name for the cheapest tier…

Pacharapol Withayasakpunt Pacharapol Withayasakpunt
Mon, July 8, 2019
Injecting unsafe HTML into Bolt entries + CodeMirror/UIKit editor

Injecting unsafe HTML into Bolt entries + CodeMirror/UIKit editor

By default, both Markdown field and HTML field is available for Bolt CMS, but sanitation is done before inserting into the database, making rendering of certain elements impossible; especially, for those starting with < (Unless you use &lt;).

So, I fixed this while preserving the editor (CodeMirror/UIKit) here.

patarapolw/bolt-markup

patarapolw/bolt-markup

Bolt extension to insert unsafe markdown and HTML, while preserving the editor - patarapolw/bolt-markup

Previous Next
  • 1
  • …
  • 13
  • 14
  • 15
  • …
  • 17

Tag Cloud

javascripttypescriptpythonlinuxmarkdownnode.jsvuenuxtmacospdfvscodewebdevchinesecrossplatformdesktopgithub-pagesseosqliteubuntuwindowsbolt-cmscmsconkydigitaloceandockerelectronfrescobaldigooglehealthlatex
Tweets by patarapolw