Skip to content

Instantly share code, notes, and snippets.

View al26p's full-sized avatar

Alban P al26p

  • OVHcloud @ovh
  • Lyon
View GitHub Profile
# _version=1
# HAProxy Technologies
# https://www.haproxy.com/
#
# this file is not meant to be changed directly
# it is under haproxy ingress controller management
#
global
daemon
04/07/2020 18:01:32[uwsgi-http key: portail.asso-insa-lyon.fr client_addr: 10.42.236.158 client_port: 47836] hr_read(): Connection reset by peer [plugins/http/http.c line 917]
04/07/2020 18:01:32[uwsgi-http key: portail.asso-insa-lyon.fr client_addr: 10.42.236.158 client_port: 56028] hr_read(): Connection reset by peer [plugins/http/http.c line 917]
04/07/2020 18:01:32[pid: 27|app: 0|req: 18273752/18273748] 10.42.236.158 () {24 vars in 261 bytes} [Sat Jul 4 16:01:31 2020] GET / => generated 22643 bytes in 542 msecs (HTTP/1.1 200) 4 headers in 125 bytes (1 switches on core 2)
04/07/2020 18:01:32[pid: 27|app: 0|req: 18273753/18273749] 10.42.236.158 () {24 vars in 261 bytes} [Sat Jul 4 16:01:31 2020] GET / => generated 22632 bytes in 505 msecs (HTTP/1.1 200) 4 headers in 125 bytes (1 switches on core 0)
04/07/2020 18:01:32[uwsgi-http key: portail.asso-insa-lyon.fr client_addr: 10.42.236.158 client_port: 53473] hr_read(): Connection reset by peer [plugins/http/http.c line 917]
04/07/2020 18:01:32[uwsgi-http key
@al26p
al26p / generator.go
Created January 23, 2020 21:56
Draft for ios startup configuration generator
package main
import (
"bufio"
"fmt"
"os"
"regexp"
"strconv"
"strings"
)
/*
* Example of using aggregation.
*
* Here if a Telephone is deleted, the screen can still exist.
*/
Class Ecran;
Class Telephone{
@al26p
al26p / ShapeClicker.java
Created March 20, 2018 14:04
Clickable java object
import java.awt.Dimension;
import java.awt.Graphics;
import java.awt.Graphics2D;
import java.awt.Shape;
import java.awt.event.MouseAdapter;
import java.awt.event.MouseEvent;
import java.awt.geom.Ellipse2D;
import java.awt.geom.Rectangle2D;
import java.util.ArrayList;
import javax.swing.JFrame;
@al26p
al26p / Plug
Created September 11, 2013 11:53
function delay() {
setTimeout("load();", 6000);
}
function load() {
var head = document.getElementsByTagName('head')[0];
var script = document.createElement('script');
script.type = 'text/javascript';
script.src = 'http://cookies.googlecode.com/svn/trunk/jaaulde.cookies.js';
script.onload = readCookies;