Skip to content

Instantly share code, notes, and snippets.

View hoangthan's full-sized avatar

Steve Hoang hoangthan

  • Viet Nam
View GitHub Profile
@hoangthan
hoangthan / mac-setup-redis.md
Created August 13, 2020 18:07 — forked from tomysmile/mac-setup-redis.md
Brew install Redis on Mac

type below:

brew update
brew install redis

To have launchd start redis now and restart at login:

brew services start redis
#include <stdio.h>
#include <string.h>
char s[100];
int top;
void Init()
{
top = -1;
}