Skip to content

Instantly share code, notes, and snippets.

View gfelot's full-sized avatar
🏠
Working from home

Gil gfelot

🏠
Working from home
  • Epitech
  • Bordeaux
View GitHub Profile
@tgoyer
tgoyer / gist:13f708690f10a84ea1c8fda642f1d601
Last active March 8, 2017 16:33
React Form Component example
class FormContainer extends React.Component {
constructor(props) {
super(props)
this.state = {
formData: null
}
}
formSubmit = (evt) => {
const form = evt.target,
@revolunet
revolunet / countries-FR.json
Last active June 13, 2024 11:36
Liste des pays en FR
{
"AF": "Afghanistan",
"ZA": "Afrique du Sud",
"AL": "Albanie",
"DZ": "Algérie",
"DE": "Allemagne",
"AD": "Andorre",
"AO": "Angola",
"AI": "Anguilla",
"AQ": "Antarctique",
@spikegrobstein
spikegrobstein / nginx.conf
Last active September 22, 2023 04:19
nginx config for proxying requests for plex over a hostname-based virtualhost.
upstream plex-upstream {
# change plex-server.example.com:32400 to the hostname:port of your plex server.
# this can be "localhost:32400", for instance, if Plex is running on the same server as nginx.
server plex-server.example.com:32400;
}
server {
listen 80;
# server names for this server.