Skip to content

Instantly share code, notes, and snippets.

View meabed's full-sized avatar
👨‍💻
Coding

Mohamed Meabed meabed

👨‍💻
Coding
View GitHub Profile
@meabed
meabed / mm-standalone.conf
Created January 8, 2016 20:13 — forked from comerford/mm-standalone.conf
Config Files for MongoDB 3.0 Compression Testing
storage:
dbPath: "/data/db/300-mm"
directoryPerDB: true
journal:
enabled: true
systemLog:
destination: file
path: "/data/db/300-mm/mongodb.log"
logAppend: true
timeStampFormat: iso8601-utc
@meabed
meabed / gist:9c5eb32e4d3f8959fc4e
Created January 11, 2016 22:05 — forked from keithics/gist:fd53431b6f57014249ca
Mongodump and Amazon Glacier
'use strict';
/**
* Module dependencies.
*/
var mongoose = require('mongoose'),
AWS = require('aws-sdk'),
exec = require('child_process').exec,
fs = require('fs'),
name = new Date().toISOString();
@meabed
meabed / mongozip.py
Created January 11, 2016 22:08 — forked from vadimii/mongozip.py
Dump MongoDB databases to the zip archives and copy its to the output folder.
# -*- coding: utf-8 -*-
'''Dump MongoDB databases to the zip archives
and copy its to the output folder.
Usage: python mongozip.py
'''
import os
import os.path
import datetime
import tempfile
import shutil
@meabed
meabed / install_monit.sh
Created May 8, 2016 23:05 — forked from gaurish/install_monit.sh
Install Latest Version of Monit on Ubuntu 14.04 LTS Server 64bit(x86_64)
cd ~
wget http://mmonit.com/monit/dist/binary/5.12/monit-5.12-linux-x64.tar.gz
tar zxf monit-5.12-linux-x64.tar.gz
cd monit-5.12/
cp bin/monit /usr/bin/
mkdir /etc/monit
touch /etc/monit/monitrc
chmod 0700 /etc/monit/monitrc
ln -s /etc/monit/monitrc /etc/monitrc
wget https://gist.githubusercontent.com/gaurish/964456aa08c9fa2e43ee/raw/1aa107e62ecaaa2dacfdb61a12f13efb6f15005b/monit -P /etc/init.d/

Semantic Commit Messages

See how a minor change to your commit message style can make you a better programmer.

Format: <type>(<scope>): <subject>

<scope> is optional

Example

Semantic Commit Messages

See how a minor change to your commit message style can make you a better programmer.

Format: <type>(<scope>): <subject>

<scope> is optional

Example