Skip to content

Instantly share code, notes, and snippets.

View devfelipereis's full-sized avatar

Felipe Gonçalves dos Reis devfelipereis

View GitHub Profile
@devfelipereis
devfelipereis / introrx.md
Created April 4, 2017 00:12 — forked from staltz/introrx.md
The introduction to Reactive Programming you've been missing
import React from "react";
import { render } from "react-dom";
const ParentComponent = React.createClass({
getDefaultProps: function() {
console.log("ParentComponent - getDefaultProps");
},
getInitialState: function() {
console.log("ParentComponent - getInitialState");
return { text: "" };
@devfelipereis
devfelipereis / laravel_nginx.md
Created September 12, 2016 17:04 — forked from folivares/laravel_nginx.md
Nginx configuration for Laravel 5.1

Nginx Server Blocks configuration to run more than one Laravel 5.1 web-app off of a single Linux server

Prerequisites

  • PHP package: php5-fpm php5-mcrypt php5-mysql
  • Laravel 5.1
  • Nginx 1.8

Default Server Block