Skip to content

Instantly share code, notes, and snippets.

View sonnetmia's full-sized avatar
🏠
Working from home

Md. Ariful Islam sonnetmia

🏠
Working from home
View GitHub Profile
@aradhell
aradhell / swap.config
Created October 26, 2019 20:22
add swap memory to elastic beanstalk
commands:
create_pre_dir:
command: "mkdir /opt/elasticbeanstalk/hooks/appdeploy/pre"
ignoreErrors: true
files:
"/opt/elasticbeanstalk/hooks/appdeploy/pre/00_setup_swap.sh":
mode: "000755"
owner: root
group: root
content: |
@darth-veitcher
darth-veitcher / docker-compose.yaml
Created September 9, 2019 13:26
Traefik v2.0 with Cloudflare Wildcard and OpenVPN
version: "3"
services:
traefik:
image: "traefik:v2.0"
container_name: "traefik"
command:
# Globals
- "--log.level=DEBUG"
- "--api=true"
@WillBrubaker
WillBrubaker / gist:49ccb5365a8632b8af8e
Created May 20, 2015 20:47
Remove the postcode field from the WooCommerce shipping calculator
add_filter( 'woocommerce_shipping_calculator_enable_postcode', '__return_false' );
@rbarros
rbarros / fix1.sh
Created February 12, 2015 20:29
This script remove malware of PHP files.
#!/bin/bash
#
# This script remove malware of PHP files.
#
# In this case it will remove some malicious code
# from all Wordpress PHP files that is at top of
# every PHP file.
#
# The string at the top of every file is:
#