polv's coding blog

Pinned Health Windows macOS Linux Cross-platform
Pacharapol Withayasakpunt Pacharapol Withayasakpunt
Fri, August 16, 2019
Publish static websites to GitHub Pages (or any Git) cleanly with gh-pages

Publish static websites to GitHub Pages (or any Git) cleanly with gh-pages

This is as simple as npm run build && gh-pages -d dist, and there will be no pollution from build remnants. You can safely as /dist/ to .gitignore.

The new branch called gh-pages will be created, with only built elements, no other code.

See the package here

gh-pages

gh-pages

Publish to a gh-pages branch on GitHub (or any other branch on any other remote)

Pacharapol Withayasakpunt Pacharapol Withayasakpunt
Wed, August 7, 2019
Cordova, TypeScript, Vue and using features beyond WebView

Cordova, TypeScript, Vue and using features beyond WebView

An easy way to set a layout for mobile apps, easier than Flutter, React Native or NativeScript, for instance, is to use Apache Cordova or PhoneGap. This is probably due to CSS/SCSS/HTML (rather than partial CSS support in NativeScript).

Why Vue? Because Vue's Vuetify's Material design looks just like Android! While being easier to set the layout than NativeScript Vue.

An example app I have used all the above-mentioned in the header is

patarapolw/nltkpass-app

patarapolw/nltkpass-app

Mobile application for NLTKPass. Contribute to patarapolw/nltkpass-app development by creating an account on GitHub.

Pacharapol Withayasakpunt Pacharapol Withayasakpunt
Mon, July 29, 2019
Creating and editing Anki's *.apkg and *.anki2 via SQLite

Creating and editing Anki's *.apkg and *.anki2 via SQLite

*.apkg and *.anki2 file structure is very simple, but with some quirks of incompleteness.

*.apkg file structure is a zip of at least two files.

Pacharapol Withayasakpunt Pacharapol Withayasakpunt
Wed, July 24, 2019
Simple dynamic typing in Kotlin with Kotson

Simple dynamic typing in Kotlin with Kotson

Apparently, it is possible to make Kotlin have a very simple dynamic typing, like JavaScript, with a JSON library -- Kotson, with some tweaks.

Pacharapol Withayasakpunt Pacharapol Withayasakpunt
Wed, July 17, 2019
Installing Linux and WiFi support

Installing Linux and WiFi support

I have tried to install Linux (Elementary OS) on both macOS and Windows; and number one impediment? -- the lack of WiFi.

Of course, there is an official troubleshooting here.

https://help.ubuntu.com/stable/ubuntu-help/net-wireless-troubleshooting.html.en

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

Tag Cloud

javascripttypescriptpythonlinuxmarkdownnode.jsvuenuxtmacospdfvscodewebdevchinesecrossplatformdesktopgithub-pagesseosqliteubuntuwindowsbolt-cmscmsconkydigitaloceandockerelectronfrescobaldigooglehealthlatex
Tweets by patarapolw