Skip to content

Instantly share code, notes, and snippets.

View kevintrannz's full-sized avatar
🎯
Focusing

Kevin Tran kevintrannz

🎯
Focusing
  • Kronus Consulting NZ
  • Auckland, NZ
View GitHub Profile
@kevintrannz
kevintrannz / portable-node.md
Created March 20, 2018 09:49 — forked from domenic/portable-node.md
Tips for Writing Portable Node.js Code

Node.js core does its best to treat every platform equally. Even if most Node developers use OS X day to day, some use Windows, and most everyone deploys to Linux or Solaris. So it's important to keep your code portable between platforms, whether you're writing a library or an application.

Predictably, most cross-platform issues come from Windows. Things just work differently there! But if you're careful, and follow some simple best practices, your code can run just as well on Windows systems.

Paths and URLs

On Windows, paths are constructed with backslashes instead of forward slashes. So if you do your directory manipulation

@kevintrannz
kevintrannz / corporate-linux-desktop-howto.md
Created November 23, 2017 08:12 — forked from anonymous/corporate-linux-desktop-howto.md
How to run Linux desktop in a corporate environment

How to run Linux desktop in a corporate environment

DISCLAIMER

Some of the practices described in this HOWTO are considered to be illegal as they often break internal corporate policies. Anything you do, you do at your own risk.

@kevintrannz
kevintrannz / corporate-linux-desktop-howto.md
Created November 23, 2017 08:12 — forked from anonymous/corporate-linux-desktop-howto.md
How to run Linux desktop in a corporate environment

How to run Linux desktop in a corporate environment

DISCLAIMER

Some of the practices described in this HOWTO are considered to be illegal as they often break internal corporate policies. Anything you do, you do at your own risk.