Skip to content

Instantly share code, notes, and snippets.

View Xiradorn's full-sized avatar
👹
Working on something

Tony Frost Xiradorn

👹
Working on something
View GitHub Profile
@Xiradorn
Xiradorn / gulp-cjs-to-esm.md
Created February 9, 2024 09:01 — forked from noraj/gulp-cjs-to-esm.md
Moving gulpfile from CommonJS (CJS) to ECMAScript Modules (ESM)

Moving gulpfile from CommonJS (CJS) to ECMAScript Modules (ESM)

Context

del v7.0.0 moved to pure ESM (no dual support), which forced me to move my gulpfile to ESM to be able to continue to use del.

The author sindresorhus maintains a lot of npm packages and does not want to provides an upgrade guide for each package so he provided a generic guide. But this guide is a bit vague because it's generic and not helping for gulp, hence this guide.

Guide

@Xiradorn
Xiradorn / gist:2960b194c57bb4ff3710
Last active August 29, 2015 14:28 — forked from learncodeacademy/gist:5850f394342a5bfdbfa4
SSH Basics - Getting started with Linux Server Administration

###SSH into a remote machine###

ssh user@mydomain.com
#or by ip address
ssh user@192.168.1.1

exit: exit ###Install Something###

#If it's a new server, update apt-get first thing