Skip to content

Instantly share code, notes, and snippets.

@sangyoo91
sangyoo91 / proxy-nginx-fxserver.md
Created February 3, 2021 05:01 — forked from nathanctech/proxy-nginx-fxserver.md
FXServer Reverse Proxy

Proxying FiveM Connections using Nginx

As of server version 2377, support was added to FiveM to run a custom streaming proxy similar to cfx.re, but proxying the data connection (UDP) as well. This can be accomplished very easily with nginx acting as a proxy, and you can combine the caching proxy with it.

Requirements

  • Nginx 1.17+ (1.16 absolute minimum, guide tested on 1.17)
  • Server with reasonable network bandwidth (500mbps uplink strongly suggested)
  • FXserver version 2377 or later
  • SSL certificate for the domain you're using (highly recommended)
@sangyoo91
sangyoo91 / README.txt
Created January 25, 2021 15:14 — forked from NelsonMinar/README.txt
GTA V Map Viewer
Tools for making a very simple web slippy map of Grand Theft Auto V maps.
By Nelson Minar <nelson@monkey.org>
I don't want to host this map myself because of copyright concerns.
No support provided for this code, just hoping it's a useful guide for
someone to roll their own amp.
maketiles.sh runs gdal2tiles.py to slice up the source image into tiles.
map.html is a simple Leaflet / web map.
@sangyoo91
sangyoo91 / modal.jade
Last active August 29, 2015 14:28
Sematic UI - Standard Modal
.ui.modal
i.close.icon
.header Profile Picture
.image.content
.ui.medium.image
img(src="")
.description
.ui.header We've auto-chosen a profile image for you.
p We've grabbed the following image from the <a href="https://www.gravatar.com" target="_blank">gravatar</a> image associated with your registered e-mail address.
@sangyoo91
sangyoo91 / alerts-1.js
Created June 16, 2015 17:03
Meteor Alerts based on Discover Meteor Alerts // Bootstrap
/**
* There are two options to use for this gist.
* Here is option 1.
*
* e.g.,
* throwAlert('success','I am a title', 'I am a message');
*/
// Local (client-only) collection
Alerts = new Mongo.Collection(null);