This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script src="ipaddr.min.js"> | |
/* https://github.com/whitequark/ipaddr.js/ */ | |
</script> | |
<script> | |
/* | |
from: https://lafibre.info/free-10g-epon/zones-de-test-zmd/msg312896/#msg312896 | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
extraits des parties spécifiques a DHCP: | |
interfaces { | |
ethernet eth1 { | |
description ONT | |
duplex auto | |
speed auto | |
vif 832 { | |
address dhcp | |
description "Internet Orange DHCP" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
firewall { | |
all-ping enable | |
broadcast-ping disable | |
ipv6-receive-redirects disable | |
ipv6-src-route disable | |
ip-src-route disable | |
log-martians enable | |
name WAN_IN { | |
default-action drop | |
description "Packets from Internet to LAN" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>twilight-toast-4187</title> | |
<link rel="stylesheet" href="styles.css"> | |
<script type="application/dart" src="main.dart"></script> | |
</head> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<h2>convert GGC codes</h2> | |
input and hit enter | |
<br> | |
<p>Code IATA <input id="iata" type="text" size=5></p> | |
<p>Code GGC <input id="ggc" type="text" size=5></p> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<h2>convert GGC codes</h2> | |
input and hit enter | |
<br> | |
<p>Code IATA <input id="iata" type="text" size=5></p> | |
<p>Code GGC <input id="ggc" type="text" size=5></p> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /usr/bin/python | |
import os, sys | |
def readCurlData(fname): | |
lines = [] | |
with open(fname) as f: | |
for line in f: | |
lines.append(line.split()) | |
return lines[3:] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdlib.h> | |
#include <string.h> | |
#include <unistd.h> | |
#include <signal.h> | |
#include <time.h> | |
#include <arpa/inet.h> | |
#include <stdio.h> | |
#define PORT 8192 | |
#define TIMEOUT 10 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import "dart:io"; | |
import 'dart:convert' show UTF8; | |
// client, pass the url as parameter: | |
// dart client.dart http://localhost:8192 | |
void main(List<String> args) { | |
HttpClient client = new HttpClient(); | |
client.getUrl( | |
Uri.parse(args[0])).then((HttpClientRequest request) { | |
return request.close(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<canvas id="myCanvas" width="500" height="500"></canvas> |