Skip to content

Instantly share code, notes, and snippets.

View m-antoni's full-sized avatar
:octocat:
Developing something great

Michael Antoni m-antoni

:octocat:
Developing something great
View GitHub Profile
@m-antoni
m-antoni / emmet-jsx-sublime-text.md
Created November 23, 2019 14:49
How to enable Emmet with jsx files in Sublime Text 3

How to enable Emmet with jsx files in Sublime Text 3

  • First is to Install the Package Emmet here

  • Next is Go to Preferences > Package Settings > Emmet > Key Bindings-User

  • Finally Paste the following code.


@m-antoni
m-antoni / mongodb_doesnt_start.md
Created November 22, 2019 16:41
MongoDB doesn't start in Ubuntu 18.04

MongoDB doesn't start in Ubuntu

Failed to start mongod.service: Unit mongod.service not found.

Solution

$ sudo nano /etc/systemd/system/mongodb.service

[Unit]
Description=High-performance, schema-free document-oriented database
@m-antoni
m-antoni / php_apache_mysql_win10.md
Created November 22, 2019 16:38
How to Setup PHP 7.2, Apache and MySQL in Windows 10

How to Setup PHP 7.2, Apache and MySQL in Windows 10

  1. First is to download php 7 to this website https://windows.php.net/download/

    • download VC15 x86 or x64 Thread Safe
    • download x86 for 32bit and x64 for 64bit system
  2. Make a directory and save it to this path C:/php

  3. Go to https://www.apachelounge.com/download/ to download the Apache server

  • Download Apache 2.4.39 Win64 or Apache 2.4.39 Win32
@m-antoni
m-antoni / create_vhost_ubuntu.md
Last active November 22, 2019 17:54
Create a Virtual Host in Ubuntu 18.04

Create a Virtual Host in Ubuntu 18.04

  • On your Terminal

      $ cd /etc/apache2/sites-available/
    
      $ ls
    
      $ sudo cp /etc/apache2/sites-avalable/000-default.conf /etc/apache2/sites-available/[SITENAME].conf