Skip to content

Instantly share code, notes, and snippets.

View Rockstar04's full-sized avatar

Trent Petersen Rockstar04

View GitHub Profile
#!/bin/bash
set -e
# Ubuntu Developer Script For pdf2htmlEx
# Created by Rajeev Kannav Sharma
# http://rajeevkannav.github.io/
#
#
# Downloads and configures the following:
#
#!/usr/bin/env bash
# This file will create a cronjob that flushes kernel caches
# This is intended for with in VMs that support memory ballooning
# and will allow the hypervisor to reclaim memory
cat << 'EOF' >> /etc/cron.hourly/shrink_mem
#!/usr/bin/env bash
sync