Skip to content

Instantly share code, notes, and snippets.

kapitannwel /
Created June 28, 2020 02:12 — forked from coolaj86/
How to publish packages to NPM

Getting Started with NPM (as a developer)

If you haven't already set your NPM author info, now you should:

npm set "Your Name"
npm set ""
npm set ""

npm adduser

kapitannwel / VirtualBox_UbuntuServer_Laravel_Mysql.txt
Created June 25, 2019 06:48
How to setup Ubuntu Server 18.04, Laravel and MySQL on VirtualBox
download and install virtualbox
download Ubuntu Server LTS
on virtualbox, click 'NEW'
select "create a virtual hardisk" and "vdi (virtual disk image)" and "dynamically allocated"
select location of the virtual hardisk from previous step
select memory size (4gb)
click create
(the virtual machine is now created)
select the virtual machine and click start
select the Ubuntu Server LTS that you downloaded from step 2
kapitannwel / backup.txt
Created April 3, 2019 09:00
Backup, Compress and Encrypt MySQL Database On Linux System
Below are the steps on how you can backup your MySQL database, compress it, then finally encrypt it.
Backup = uses native mysqldump command by Oracle Corporation
Compress = uses zip by Phil Katz
Encrypt = uses ccrypt by Peter Selinger
Install ccrpyt
sudo apt-get install ccrypt