Skip to content

Instantly share code, notes, and snippets.

View bless4's full-sized avatar

Martin Sone bless4

View GitHub Profile
@bless4
bless4 / gist:f609435b1b9e7139036ece5651072d13
Created July 24, 2023 18:20 — forked from teja156/gist:8c35a05f43635da4cbd06b47c0d91e93
Commands for deploying wordpress website on AWS EC2 shown in my YouTube video
YouTube video link: https://youtu.be/8Uofkq718n8
All the commands that are executed in the above youtube video are mentioned in this gist.
1. Install Apache server on Ubuntu
sudo apt install apache2
2. Install php runtime and php mysql connector
sudo apt install php libapache2-mod-php php-mysql
3. Install MySQL server
@bless4
bless4 / chat-frontend.js
Created January 3, 2019 16:25 — forked from martinsik/chat-frontend.js
Node.js chat frontend and server
$(function () {
"use strict";
// for better performance - to avoid searching in DOM
var content = $('#content');
var input = $('#input');
var status = $('#status');
// my color assigned by the server
var myColor = false;