Skip to content

Instantly share code, notes, and snippets.

@kapitannwel
kapitannwel / readme.md
Created June 28, 2020 02:12 — forked from coolaj86/how-to-publish-to-npm.md
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 init.author.name "Your Name"
npm set init.author.email "you@example.com"
npm set init.author.url "http://yourblog.com"

npm adduser

@kapitannwel
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
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
STEP 1.
Install ccrpyt
sudo apt-get install ccrypt