Skip to content

Instantly share code, notes, and snippets.

View wsw70's full-sized avatar

wsw70

  • France
  • 16:01 (UTC +02:00)
View GitHub Profile
@wsw70
wsw70 / EPI-EPS-Maths.csv
Created May 20, 2019 17:26
EPI-EPS-Maths
We can make this file beautiful and searchable if this error is corrected: No commas found in this CSV file in line 0.
sexe;resp;sens 1;vit 1;cardio;sens 2;vit 2
f;24;4;13.5;135;4;12
f;25;4;14.5;103;5;14.5
f;26;4;14.5;105;5;14.5
f;27;3;15;113;3;15
f;30;4;15;170;3;14
f;30;3;15;40;3;15
f;32;4;16;108;5;16
f;32;5;12;98;5;12
f;33;3.5;16;106;4;16
@wsw70
wsw70 / EPI-EPS-Maths.csv
Created May 20, 2019 17:25
EPI-EPS-Maths
We can make this file beautiful and searchable if this error is corrected: No commas found in this CSV file in line 0.
sexe;resp;sens 1;vit 1;cardio;sens 2;vit 2
f;24;4;13.5;135;4;12
f;25;4;14.5;103;5;14.5
f;26;4;14.5;105;5;14.5
f;27;3;15;113;3;15
f;30;4;15;170;3;14
f;30;3;15;40;3;15
f;32;4;16;108;5;16
f;32;5;12;98;5;12
f;33;3.5;16;106;4;16
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@wsw70
wsw70 / data.csv
Last active March 24, 2019 09:44
testing with jupyter
sexe distance coeur respiration
m 120 23 63
m 230 23 34
f 63 73 66
m 100 150 34
f 45 78 98
@wsw70
wsw70 / firehol.conf
Last active February 15, 2019 12:51
firehol
version 6
# define PIA VPN service
server_piavpn_ports="tcp/502"
client_piavpn_ports="default"
# define Minecraft service
server_minecraft_ports="tcp/9000 tcp/25565"
client_minecraft_ports="default"
<template>
<el-container>
<el-container style="margin-left: 15px; width: 150px">
<el-autocomplete
class="inline-input"
v-model="user"
:fetch-suggestions="filterUsers"
placeholder="add user"
@select="handleSelect"
></el-autocomplete>
@wsw70
wsw70 / mqtt-log.py
Created September 15, 2018 17:13
Example of a service which logs all messages sent to a MQTT broker
import paho.mqtt.client as mqtt
import logbook
import os
import sys
def on_connect(client, userdata, flags, rc):
if rc:
log.critical(f"failed to connect to {mqtt_server}, error code is {rc}. Aborting.")
sys.exit()
@wsw70
wsw70 / bundle.js
Created July 26, 2017 15:41
SPA example for SO question
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
/******/
/******/ // The require function
/******/ function __webpack_require__(moduleId) {
/******/
/******/ // Check if module is in cache
/******/ if(installedModules[moduleId]) {
/******/ return installedModules[moduleId].exports;