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 September 29, 2025 18:45
ECS Best Practices Notes
@bradtraversy
bradtraversy / myscript.sh
Last active November 25, 2025 20:36
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 August 31, 2025 08:12
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 December 2, 2025 13:22
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 September 14, 2025 16:48
RxJS 5 Operators By Example
@JeffreyWay
JeffreyWay / PjaxMiddleware.php
Last active November 6, 2024 14:26
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 December 1, 2025 11:31
The introduction to Reactive Programming you've been missing