Categories
Uncategorized

random interesting science articles

Wonder Material Mimics Desert Beetles and Cacti To Suck Water Out of Thin Air

Categories
Resources Software Development

BASH shell scripting links and resources

Bash script cheat sheet

Bash Scripting: Everything you need to know about Bash-shell programming

Categories
Resources Web Security

CORS cross origin resource sharing links and resources for developers

CORS Cross origin resource sharing allows you to decide if a script from a domain other than your website/app can access data aka make AJAX calls etc. to your server. For your frontend API you probably want to limit the origin to just your domain. For a developer API you probably want to allow all origins.

CORS for Developers by W3C – explains CORS for developers in clear wording

Configuring play framework 2.8 CORS filter

 

Categories
Resources Web Security

Server and cloud security resources and links

CSP Cheat Sheet – CSP content security policy is for setting server security policies for accessing your systems content/files etc.

Configuring Play Framework Content Security Policy Headers

Categories
Resources Web Development

Nginx links and resources

Nginx reverse proxy documentation

Configuring NGINX and NGINX Plus as a Web Server  

Nginx pitfalls and common mistakes –  a must read article before using Nginx

 

Categories
Uncategorized

interesting genetic and medical links and resources

Genetic Associations between Voltage-Gated Calcium Channels and Psychiatric Disorders

Categories
Resources Web Development

Bootstrap links and resources

Articles

Tree shaking with bootstrap and webpack

Learn the Bootstrap 4 Grid System in 10 Minutes

Videos

Using the Bootstrap 4 Grid | BOOTSTRAP 4 TUTORIAL


Responsive Bootstrap Website Start To Finish with Bootstrap 4, HTML5 & CSS3


Bootstrap 4 Navbar Concepts | BOOTSTRAP 4 TUTORIAL


Bootstrap 4 Alerts & Modals | BOOTSTRAP 4 TUTORIAL

Categories
Resources Web Development

node.js package.json links and resources

Things Every Developer Should Know About package.json

Categories
Resources Software Development Web Development

CDN content delivery network links and resources

Articles
Using a CDN to Speed Up Static Content Delivery – very nice short article about how CND’s work in general
What is a CDN? | How do CDNs work? – Cloudflare documentation about CDN’s

Videos

What is a Content Delivery Network (CDN)?


GOTO 2016 • What is a CDN and why Developers should Care about using one • Artur Bergman

Categories
Resources Web Development

How to install and update NVM node version manager on Ubuntu

New to node and need to install npm, node.js? Use NVM node version manager so you can install more than one version of nodejs.

I had to look for the answer to this until I found it. You update to a newer version of NVM node version manager the same way you install it regardless of how you install it.  I am not sure what happens if you install nvm with curl then try to update it in another way.

For example I used the following in my terminal as not the root user, just a plain user
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.3/install.sh | bash

 

When I want to install the next version  I replace the v0.35.3 with the next version and it does all the work.  If you installed nvm as a root user then you will not be able to access it easily as any other user.

In fact, if you type nvm –version in the command line as a regular user after you installed it as a root user, you will be told it is not installed, or nvm is not a recognized command would you like to install.   I did this, so that is how I learned not to install it as a root user.

Never ever, ever, not ever use sudo when installing node, npm, nvm or anything like yarn it totally fucks every last thing up.

If you accidentally use sudo follow these instructions to fix the bowl of mashed spaghetti you end up with.

The node world feels as disorganized as Scala here is a link to the latest version

If you are using windows you can install nvm by following these instructions

More info and resources about nvm here.

More info and resources about node package manager