Skip to content

Instantly share code, notes, and snippets.

View aaimaawebs's full-sized avatar
Re-booting MSME by our Innovation.

Aaimaa Web Solutions aaimaawebs

Re-booting MSME by our Innovation.
View GitHub Profile
@aaimaawebs
aaimaawebs / bash_profile
Last active December 3, 2017 19:41 — forked from hofmannsven/README.md
My simply MySQL Command Line Cheatsheet
alias mysql=/Applications/MAMP/Library/bin/mysql
@aaimaawebs
aaimaawebs / nginx-default.conf
Created January 7, 2018 15:45
Default Nginx Configuration file.
##
# You should look at the following URL's in order to grasp a solid understanding
# of Nginx configuration files in order to fully unleash the power of Nginx.
# http://wiki.nginx.org/Pitfalls
# http://wiki.nginx.org/QuickStart
# http://wiki.nginx.org/Configuration
#
# Generally, you will want to move this file somewhere, and start with a clean
# file but keep this around for reference. Or just disable in sites-enabled.
#
@aaimaawebs
aaimaawebs / README.md
Created January 8, 2018 16:11 — forked from leonardofed/README.md
A curated list of AWS resources to prepare for the AWS Certifications


A curated list of AWS resources to prepare for the AWS Certifications

A curated list of awesome AWS resources you need to prepare for the all 5 AWS Certifications. This gist will include: open source repos, blogs & blogposts, ebooks, PDF, whitepapers, video courses, free lecture, slides, sample test and many other resources.

For more about AWS and AWS Certifications and updates to this Gist you should follow me @leonardofed


@aaimaawebs
aaimaawebs / Best StackOverflow Questions Answer Link.md
Created January 10, 2018 10:07
Some answers are beautifully written than blogs and documentations. Have a look here:
@aaimaawebs
aaimaawebs / nginx-tuning.md
Created January 18, 2018 13:25 — forked from denji/nginx-tuning.md
NGINX tuning for best performance

NGINX Tuning For Best Performance

For this configuration you can use web server you like, i decided, because i work mostly with it to use nginx.

Generally, properly configured nginx can handle up to 400K to 500K requests per second (clustered), most what i saw is 50K to 80K (non-clustered) requests per second and 30% CPU load, course, this was 2 x Intel Xeon with HyperThreading enabled, but it can work without problem on slower machines.

You must understand that this config is used in testing environment and not in production so you will need to find a way to implement most of those features best possible for your servers.

#add 'node_modules' to .gitignore file
git rm -r --cached node_modules
git commit -m 'Remove the now ignored directory node_modules'
git push origin master
@aaimaawebs
aaimaawebs / functions.php
Created May 3, 2018 18:05 — forked from tripflex/functions.php
WordPress Remove Filter (remove_filter converted to remove_class_filter) to remove Filter/Action without Class Object access. Works with WordPress 1.2+ (4.7+ support added 9-19-2016)
<?php
/**
* Make sure the function does not exist before defining it
*/
if( ! function_exists( 'remove_class_filter' ) ){
/**
* Remove Class Filter Without Access to Class Object
*
* In order to use the core WordPress remove_filter() on a filter added with the callback
@aaimaawebs
aaimaawebs / wp_mail.md
Created May 29, 2018 09:12 — forked from johnbillion/wp_mail.md
WordPress Emails

WordPress Emails

This document lists all the situations where WordPress sends an email, along with how to filter or disable each email.

This is accurate as of WordPress 4.9.

There are a few TODOs left. Please bear with me.