Managing plugins in Vim: The basics
Let's say the plugin is at a GitHub URL
First get the plugin by either cloning it (
git clone https://github.com/manasthakur.foo.git) or simply downloading it as a zip (from its GitHub page).
Adding a plugin in Vim is equivalent to adding the plugin's code properly into its runtimepath (includes the
$HOME/.vim directory by default).
For example, if the layout of a plugin
foo is as follows:
Docker - How to cleanup (unused) resources
Once in a while, you may need to cleanup resources (containers, volumes, images, networks) ...
// see: https://github.com/chadoe/docker-cleanup-volumes $ docker volume rm $(docker volume ls -qf dangling=true) $ docker volume ls -qf dangling=true | xargs -r docker volume rm
|var React = require('react');|
|var cx = require('classnames');|
|var vjs = require('video.js');|
|var _forEach = require('lodash/collection/forEach');|
|var _debounce = require('lodash/function/debounce');|
|var _defaults = require('lodash/object/defaults');|
|var DEFAULT_HEIGHT = 800;|
|var DEFAULT_WIDTH = 600;|
|var DEFAULT_ASPECT_RATIO = (9 / 16);|
Virtual Hosts on nginx (CSC309)
When hosting our web applications, we often have one public IP
address (i.e., an IP address visible to the outside world)
using which we want to host multiple web apps. For example, one
may wants to host three different web apps respectively for
the same machine using a single IP address.
How can we do that? Well, the good news is Internet browsers