Skip to content

Instantly share code, notes, and snippets.

View FlorianPfisterer's full-sized avatar

Florian Pfisterer FlorianPfisterer

View GitHub Profile
@FlorianPfisterer
FlorianPfisterer / mobx-react-setup.md
Created October 27, 2017 05:27
How to setup a Mobx + React web development environment so you can use @-decorators & Co.

Setup Mobx + React Dev Environment

create-react-app <app_name>
cd <app_name>
npm run eject
npm i -s mobx mobx-react babel-plugin-transform-decorators-legacy
touch .babelrc
@FlorianPfisterer
FlorianPfisterer / redisgraph_user_data.sh
Created November 14, 2020 17:42
An user data script (AWS EC2 Launch Template) that sets up a Redis instance loading the RedisGraph module with restart on boot and persistence.
#!/bin/bash
# 1. install redis-server
sudo apt update -y
sudo apt install redis-server -y
# 2. clone and build the latest RedisGraph release (see the instructions on GitHub)
sudo apt-get install build-essential cmake m4 automake peg libtool autoconf -y
cd /home/ubuntu