Skip to content

Instantly share code, notes, and snippets.

View leeh's full-sized avatar

Lee Horrocks leeh

  • Stage TEN
  • Toronto, ON
View GitHub Profile
@leeh
leeh / machine.js
Last active May 26, 2021 13:41
Generated by XState Viz: https://xstate.js.org/viz
// Available variables:
// - Machine
// - interpret
// - assign
// - send
// - sendParent
// - spawn
// - raise
// - actions
@leeh
leeh / redis-server
Created May 20, 2011 21:24 — forked from tessro/redis-server
A CentOS initscript for Redis
#!/bin/sh
#
# redis - this script starts and stops the redis-server daemon
#
# chkconfig: - 85 15
# description: Redis is a persistent key-value database
# processname: redis-server
# config: /etc/redis/redis.conf
# config: /etc/sysconfig/redis
# pidfile: /var/run/redis.pid