Skip to content

Instantly share code, notes, and snippets.


Ömer Faruk Çakı ofarukcaki

View GitHub Profile
ofarukcaki /
Last active Jul 26, 2018
create-react-app with react-router Nginx 404 error solution in page refresh

You need to edit /etc/nginx/sites/available/default file

change the location part as follows

location / { try_files $uri $uri/ /index.html; }

lastly, refresh the Nginx with sudo servuce restart nginx

ofarukcaki /
Created May 22, 2018 — forked from matthewjberger/
How to make an electron app using Create-React-App and Electron with Electron-Builder.

How to setup Shadowsocks on your Ubuntu server

Your school or company network may block the access to a few specific websites. To solve this problem, I'd highly recommend Shadowsocks, since it is the easiest proxy tool I've ever found, and it's FREE (of course iff you have your own server running).

First, ssh to your server, and make sure you have Python and pip installed. If you have Python but not pip, install it using the following command

$ sudo apt-get install python3-pip