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
@gfelot
gfelot / airflow3.8_constraints.txt
Last active November 22, 2020 12:11
airflow 3.8 constraints
# Editable install with no version control (apache-airflow==2.0.0b3)
Authlib==0.14.3
Babel==2.8.0
Flask-AppBuilder==3.1.1
Flask-Babel==1.0.0
Flask-Bcrypt==0.7.1
Flask-Caching==1.9.0
Flask-JWT-Extended==3.24.1
Flask-Login==0.4.1
Flask-OAuthlib==0.9.5
<?xml version="1.0" encoding="utf-8"?>
<WMS_Capabilities xmlns="http://www.opengis.net/wms" xmlns:qgs="http://www.qgis.org/wms" xsi:schemaLocation="http://www.opengis.net/wms http://schemas.opengis.net/wms/1.3.0/capabilities_1_3_0.xsd http://www.opengis.net/sld http://schemas.opengis.net/sld/1.1.0/sld_capabilities.xsd http://www.qgis.org/wms http://qgis.demo/cgi-bin/qgis_mapserv.fcgi?MAP=/home/gil/Desktop/01_General_test.qgs&amp;&amp;SERVICE=WMS&amp;REQUEST=GetSchemaExtension" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.3.0" xmlns:sld="http://www.opengis.net/sld">
<Service>
<Name>WMS</Name>
<KeywordList>
<Keyword vocabulary="ISO">infoMapAccessService</Keyword>
</KeywordList>
<OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://qgis.demo/cgi-bin/qgis_mapserv.fcgi?MAP=/home/gil/Desktop/01_General_test.qgs&amp;" xlink:type="simple"/>
<ContactInformation>
<ContactPersonPrimary>
@gfelot
gfelot / mock_data.tsv
Created November 1, 2019 18:04
Mock Data
We can make this file beautiful and searchable if this error is corrected: It looks like row 9 should actually have 17 columns, instead of 6. in line 8.
id first_name last_name genre email date ip_address latitude longitude COUNTRY 2018 2019 ratio day month year very_important
63064 Rana Kapiloff F rkapiloff0@weebly.com 6/29/2019 50.1.232.139 Peru $3.23M $6.25B 100 7 11 2018
72346 Tracee Matysik F tmatysik1@irs.gov 2/3/2019 -7.5292266 110.5937834 Indonesia $371.88M $32.96B 100 24 6 2019
66951 Kirby Weeke F kweeke2@sina.com.cn 5/21/2019 147.53.227.223 14.7641115 -89.430685 Guatemala n/a $120.74M 100 25 7 2019
71886 Ricard Dureden M rdureden3@csmonitor.com 5/18/2019 59.152.150.69 54.6590604 23.0257921 Lithuania $3.1B $415.04M 100 18 1 2019
85715 Gabie Rasp M grasp4@123-reg.co.uk 2/9/2019 36.102.237.244 44.9158731 -0.2363562 France $33.73M $3.25M 100 12 9 2019
61447 Jobyna Dougharty F jdougharty5@ftc.gov 7/17/2019 87.228.57.250 29.33801 89.24618 China $649.92M $14.2M 100 1 4 2018
72805 Alley Snailham M asnailham6@dedecms.com 12/22/2018 215.63.190.230 51.1227795 21.4274273 Poland $2.61B $134.32M 100 11 2 2018
68831 Mildred Gaiter F mgaiter7@booking.com
@gfelot
gfelot / conf
Created May 17, 2018 09:14
NGINX Conf w/ Cerbot
upstream email.pamelajoa.com {
server 127.0.0.1:3030;
keepalive 8;
}
server {
listen 80;
listen [::]:80;
server_name email.pamelajoa.com;
<template>
<section class="section card">
<div class="columns">
<div class="column is-12">
<h1 class="title is-1">{{ club.name }}</h1>
<hr>
</div>
</div>
<!-- GENERAL -->
<template lang="html">
<div class="">
<navigation-drawer :gravatar="gravatar" @clicked="profileShow" />
<profile v-if="profile"/>
<golf-clubs v-else/>
</div>
</template>
<script>
import decode from 'jwt-decode'
<template lang="html">
<div class="">
<navigation-drawer :gravatar="gravatar" @clicked="profileShow"/>
<h1 align="center" v-if="profile">Profile</h1>
<h1 align="center" v-else>Golf</h1>
</div>
</template>

Keybase proof

I hereby claim:

  • I am gfelot on github.
  • I am gfelot (https://keybase.io/gfelot) on keybase.
  • I have a public key ASAJbls7PbWaxJDFRKomDNlLHMZLnrH9O96vAonkGrtfmAo

To claim this, I am signing this object:

import React from 'react';
import { Route } from 'react-router-dom';
import { connect } from 'react-redux';
// Import Root Components and Setup Routes
import Header from './components/Header';
import PrivateRoute from '../../components/routing/PrivateRoute';
import Start from '../Start/Start'
import Login from '../Login/Login'
// Module dependencies
const express = require('express');
const cluster = require('express-cluster'); // fork the service on different thread
const helmet = require('helmet'); // Secure HTTP header
const cors = require('cors')
const bodyParser = require('body-parser'); // Help to easily parse the body of req/res
const port = process.env.PORT || 3000;
const mongoose = require('mongoose'); // Manage MongoDB request
cluster(function(worker) {