Skip to content

Instantly share code, notes, and snippets.

View paultung's full-sized avatar
💪
I can do all things through Christ who strengthens me.

Paul Tung paultung

💪
I can do all things through Christ who strengthens me.
  • Splashtop Inc.
  • Taipei, Taiwan
View GitHub Profile
@paultung
paultung / membash.sh
Last active October 16, 2017 09:09 — forked from solariz/membash.sh
BASH script which may be used to interact with memcache. All main memcache functions are supported. Fixed Revision working with new nc. New nc Versions do not terminate their connection after receiving EOL/EOF this need to be done by timeout or EOF Handling. Added both line #41. Remove '-q' parameter for new NC no support to lin #41.
#!/bin/bash
# Gist: 11375877
# Url: https://gist.github.com/goodevilgenius/11375877
#
# All memcache functions are supported.
#
# Can also be sourced from other scripts, e.g.
# source membash.sh
# MCSERVER="localhost"