Skip to content

Instantly share code, notes, and snippets.

@kgriffs
kgriffs / sysctl.conf
Last active April 29, 2024 11:32
Linux Web Server Kernel Tuning
# Configuration file for runtime kernel parameters.
# See sysctl.conf(5) for more information.
# See also http://www.nateware.com/linux-network-tuning-for-2013.html for
# an explanation about some of these parameters, and instructions for
# a few other tweaks outside this file.
#
# See also: https://gist.github.com/kgriffs/4027835
#
# Assumes a beefy machine with lots of network bandwidth
@jawngee
jawngee / deploy.sh
Created October 3, 2012 11:01
bash script to combine multiple js files into main.js for Parse.com's Cloud shiz
#!/bin/bash
## combines multiple js files into main.js for deploying to parse
## Your separate js files should be in a directory 'source' that
## is at the same level as the 'cloud' and 'config' directories
## parse uses.
cat source/*.js > cloud/main.js
## deploy
parse deploy