Skip to content

Instantly share code, notes, and snippets.

View mhmdio's full-sized avatar
🇵🇸
Everything as a code

Mohammed Almusaddar mhmdio

🇵🇸
Everything as a code
View GitHub Profile
@daknhh
daknhh / gist:d27fd1a85b6b5a5d5c39fbc9e62e6446
Created June 10, 2022 08:55
Lambda Package Builder for graviton using taskfile.dev
version: '3'
#output: prefixed
env:
LambdaS3Bucket: ambda-code-eu-central-1
Version: 0.0.1
LambdaSourceCodeDirectory: config-rules
vars:
REGION: echo AWS_REGION
tasks:
uploadlambdacode:
@robertcoopercode
robertcoopercode / .zshrc
Last active March 31, 2024 01:08
Zsh configuration file
#------------------
# Shell Variables
#------------------
# Specify VS Code as default editor for the React Native Simulator
export REACT_EDITOR=code-insiders
# Set VS Code Insiders as default code editor
export EDITOR=code-insiders
# Android SDK
export ANDROID_HOME=~/Library/Android/sdk
@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.


@parmentf
parmentf / GitCommitEmoji.md
Last active July 23, 2024 11:27
Git Commit message Emoji
@Cybso
Cybso / adblock.sh
Last active September 3, 2021 18:07 — forked from teffalump/README.md
#!/bin/sh
#Put in /etc/adblock.sh
#Script to grab and sort a list of adservers and malware
#Check proper DHCP config and, if necessary, update it
uci get dhcp.@dnsmasq[0].addnhosts > /dev/null 2>&1 || uci add_list dhcp.@dnsmasq[0].addnhosts=/etc/block.hosts && uci commit
#Leave crontab alone, or add to it
grep -q "/etc/adblock.sh" /etc/crontabs/root || echo "0 4 * * 0,3 sh /etc/adblock.sh" >> /etc/crontabs/root
@hzbd
hzbd / haproxy.config
Created May 4, 2013 17:34
Sample HAProxy config with logging.
global
pidfile /var/run/haproxy.pid
log 127.0.0.1 local0 info
ulimit-n 65536
defaults
mode http
clitimeout 600000 # maximum inactivity time on the client side
srvtimeout 600000 # maximum inactivity time on the server side