Skip to content

Instantly share code, notes, and snippets.

View safoorsafdar's full-sized avatar
:shipit:
Working from Home

Safoor Safdar safoorsafdar

:shipit:
Working from Home
View GitHub Profile
@ejlp12
ejlp12 / 1_ecs_note.md
Last active May 5, 2024 18:51
ECS Best Practices Notes
@bradtraversy
bradtraversy / myscript.sh
Last active July 16, 2024 10:39
Basic Shell Scripting
#! /bin/bash
# ECHO COMMAND
# echo Hello World!
# VARIABLES
# Uppercase by convention
# Letters, numbers, underscores
NAME="Bob"
# echo "My name is $NAME"
@holmberd
holmberd / aws-custom-cloudwatch-metrics.md
Last active November 20, 2019 16:27
Setup AWS CloudWatch Custom EC2 Instance Metrics with SSM and CloudWatch Agent (Ubuntu)

Setup AWS CloudWatch Custom Metrics with SSM and CloudWatch Agent

  1. Create IAM Roles and Users for Use With CloudWatch Agent
  1. Make sure the AWS Systems Manager Agent is installed and running on the EC2 instance
  1. Install and configure AWS CloudWatch Agent with SSM
@rohankhudedev
rohankhudedev / opcache.ini
Last active July 20, 2024 05:21
Best Zend OpCache Settings / Tuning / Configurations
[opcache]
; Determines if Zend OPCache is enabled
opcache.enable=1
; Determines if Zend OPCache is enabled for the CLI version of PHP
;opcache.enable_cli=1
; The OPcache shared memory storage size.
opcache.memory_consumption=512
@leonardofed
leonardofed / README.md
Last active July 19, 2024 17:51
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.


@btroncone
btroncone / rxjs_operators_by_example.md
Last active June 15, 2024 07:17
RxJS 5 Operators By Example
@JeffreyWay
JeffreyWay / PjaxMiddleware.php
Last active February 24, 2024 13:40
Laravel middleware for working with pjax.
<?php
namespace App\Http\Middleware;
use Closure;
use Illuminate\Http\Request;
use Illuminate\Http\Response;
use Symfony\Component\DomCrawler\Crawler;
class PjaxMiddleware
@cpgillem
cpgillem / bootstrap.sh
Last active August 29, 2015 14:24
Basic bootstrap shell script for Vagrant. Installs the LAMP stack and sets the MySQL password to "twentyseven" (A password I tend to use for such things).
#!/bin/bash
# from https://www.howtoforge.com/tutorial/vagrant-ubuntu-linux-apache-mysql-php-lamp/
# Update Repo
sudo apt-get -y update
# Install Apache
sudo apt-get -y install apache2
# Install MySQL
@maxivak
maxivak / 00.md
Last active May 1, 2021 13:54
Teamcity install on Centos

Teamcity install on Centos

@staltz
staltz / introrx.md
Last active July 22, 2024 09:31
The introduction to Reactive Programming you've been missing