Skip to content

Instantly share code, notes, and snippets.

View medesko's full-sized avatar
💻
Love to write code

Mohamed KEITA medesko

💻
Love to write code
  • Paris
View GitHub Profile
@medesko
medesko / roles_invesitgation.md
Created February 15, 2018 14:36 — forked from facultymatt/roles_invesitgation.md
Roles and permissions system for Nodejs
@medesko
medesko / node-forever-upstart.conf
Created October 9, 2015 22:36 — forked from hubertursua/node-forever-upstart.conf
NodeJS, Forever, and Upstart (Ubuntu)
#!upstart
start on filesystem and started networking
stop on shutdown
expect fork
setuid ubuntu
env HOME="/home/ubuntu"
@medesko
medesko / InstallationStack.md
Created October 8, 2015 19:16 — forked from pjnovas/InstallationStack.md
Complete Install on Ubuntu Server of Nodejs + MongoDB + NGINX

##Ubuntu Server

NodeJS

sudo apt-get install g++ curl libssl-dev apache2-utils git-core make
cd /usr/local/src
wget http://nodejs.org/dist/v0.10.28/node-v0.10.28.tar.gz
tar -xvzf node-v0.10.28.tar.gz
cd node-v0.10.28
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>HTML5 Local Storage Example</title>
<!-- include Bootstrap CSS for layout -->
<link href="//netdna.bootstrapcdn.com/twitter-bootstrap/2.2.1/css/bootstrap-combined.min.css" rel="stylesheet">