Skip to content

Instantly share code, notes, and snippets.

Aiko Mastboom aikomastboom

  • Amsterdam
Block or report user

Report or block aikomastboom

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
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
You can’t perform that action at this time.