View gist:8937588
#!/usr/bin/env bash
#ramfs_size_mb=512
ramfs_size_mb=1536
origin=${HOME}/Development/ipe
name="iperam"
mount_point=${HOME}/Development/${name}
mkramdisk() {
ramfs_size_sectors=$((${ramfs_size_mb}*1024*1024/512))
#ramdisk_dev=`hdid -nomount ram://${ramfs_size_sectors}`
View pm2.py
#!/usr/bin/python
# -*- coding: utf-8 -*-
DOCUMENTATION = """
---
author: Aiko Mastboom
module: pm2.py
short_description: nodeJS pm2 wrapper
description:
- This module helps managing processes using pm2 on hosts