Skip to content

Instantly share code, notes, and snippets.

View RoseRiyadh's full-sized avatar
:octocat:
woobaalooobaaadabdaaaabbb

Rose Riyadh RoseRiyadh

:octocat:
woobaalooobaaadabdaaaabbb
View GitHub Profile
@breekoy
breekoy / centos7-nginx-laravel-configuration
Last active June 3, 2024 13:24
Configuration steps on CentOS7 server to run Laravel applications + Redis and Node.JS on nginx
==== CENTOS 7 LEMP STACK INSTALLATION ====
0. Make sure the centos 7 server have internet connection
1. Install the EPEL Repository
sudo yum -y install epel-release
2. Install the Remi Repository
sudo rpm -Uvh http://rpms.famillecollet.com/enterprise/remi-release-7.rpm
3. Install Nginx
@dammyammy
dammyammy / .htaccess
Created February 14, 2018 01:19
Laravel Optimal HTACCESS FILE
<IfModule mod_rewrite.c>
<IfModule mod_negotiation.c>
Options -MultiViews
</IfModule>
<IfModule mod_autoindex.c>
Options -Indexes
</IfModule>
RewriteEngine On
@loonies
loonies / 1_phpunit-api.md
Last active September 24, 2024 14:55
PHPUnit Cheat Sheet

PHPUnit API reference

  • version 3.6

TODO

Check those constraints:

$this-&gt;anything()