Skip to content

Instantly share code, notes, and snippets.

View Foxandxss's full-sized avatar

Jesús Rodríguez Foxandxss

View GitHub Profile
@Foxandxss
Foxandxss / nginx-vhost
Last active June 12, 2020 07:12 — forked from bartvanremortele/nginx-vhost
Nginx vhost configuration for proxying requests to an API running on a different port. Easy to avoid CORS / JSONP
upstream api_node_js {
server 127.0.0.1:8080;
}
server {
listen 80 default_server;
listen [::]:80 default_server ipv6only=on;
root /var/www/my-kickass-domain/public_html;
index index.html index.htm;
@bebraw
bebraw / the_story_so_far.md
Last active August 29, 2015 14:24
SurviveJS - Webpack and React - The Story So Far

IMPORTANT! This post has been moved to http://survivejs.com/blog/the-story-so-far/ . Feel free to comment there.

SurviveJS - Webpack and React - The Story So Far

Given I'm a first time author I've done my fair share of mistakes with SurviveJS - Webpack and React. It was an attempt to change the direction of my career. Being a subcontractor's subcontractor provides income, sure, but was a dead end for me with no room to grow in an economy that keeps getting tougher. Interestingly the book has garnered a lot of attention and I believe some have found it useful. It has been bit of a disaster economically and it's hard to imagine I could keep a business like this up for long if something doesn't change.

Why SurviveJS - Webpack and React Was Written?

The first steps towards the book were taken at the end of January. I happened upon [a blog post about Webpack by Christian Alfoni](https://christianalfoni.github.io/javascript/2014/12/13/did-you-know-webpack-and-react-is-awesome.htm