Skip to content

Instantly share code, notes, and snippets.

Logo of the project

Name of the project

Additional information or tag line

A brief description of your project, what it is used for.

Installing / Getting started

A quick introduction of the minimal setup you need to get a hello world up &

### Node ###
# Logs
logs
npm-debug.log*
yarn-debug.log*
yarn-error.log*
# Optional npm cache directory
.npm
@jgabuya
jgabuya / update-packages.sh
Last active August 7, 2017 00:25
Updates ubuntu packages
#!/usr/bin/env bash
sudo rm /var/lib/apt/lists/lock
sudo rm /var/cache/apt/archives/lock
sudo rm /var/lib/dpkg/lock
sudo apt-get update
sudo apt-get upgrade -y
@jgabuya
jgabuya / sample-vhost.conf
Created May 26, 2017 06:28
Apache Virtual Host Conf (ubuntu)
<VirtualHost *:80>
# The ServerName directive sets the request scheme, hostname and port that
# the server uses to identify itself. This is used when creating
# redirection URLs. In the context of virtual hosts, the ServerName
# specifies what hostname must appear in the request's Host: header to
# match this virtual host. For the default virtual host (this file) this
# value is not decisive as it is used as a last resort host regardless.
# However, you must set it for any further virtual host explicitly.
ServerName app.dev
@jgabuya
jgabuya / index.html
Last active May 26, 2017 06:29
Generate circles (random colors, position) across the browser window
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href="style.css" />
</head>
<body>
<div id="wrapper"></div>
<script