Skip to content

Instantly share code, notes, and snippets.

@HandyMenny
HandyMenny / iwlan_s2b_config.xml
Created March 8, 2024 18:00
iliad italy IMS Config - Redmi Note 13 Pro 5G OS1.0.1.0.UNRCNXM
<?xml version="1.0" ?>
<IWLAN_S2B_CONFIG>
<GENERIC_VARIANT>
<epdg_addr_info>
<static_fqdn_enabled>FALSE</static_fqdn_enabled>
<ip_pref>IP6_ONLY</ip_pref>
</epdg_addr_info>
<ikev2_info>
<ke_payload_enabled>FALSE</ke_payload_enabled>
<self_id>
@HandyMenny
HandyMenny / bench.py
Created September 9, 2023 16:26
Benchmark for CRC16 x25/IBM-SDLC/ISO-HDLC Python libraries
# Benchmark for CRC16 x25/IBM-SDLC/ISO-HDLC libraries
import crccheck.crc
import fastcrc
import scat.util
import libscrc
import crcelk
import timeit
import random
@HandyMenny
HandyMenny / index.js
Created February 4, 2023 23:24
Sample nodejs server with CORS headers
const http = require('http');
http.createServer(function (request, response) {
// Print request method and request url
console.log(request.method, request.url);
// Set CORS headers
response.setHeader('Access-Control-Allow-Origin', '*');
response.setHeader('Access-Control-Allow-Headers', 'Origin, X-Requested-With, Content-Type, Accept');
@HandyMenny
HandyMenny / epdg_apns_conf.xml
Created December 30, 2022 11:00
FW: SM-G991B_ITV_G991BXXU5DVKF
<?xml version="1.0" encoding="utf-8"?>
<!-- use empty string to specify no proxy or port -->
<!-- This version must agree with that in apps/common/res/apns.xml -->
<!-- Country : Network : Operator Name -->
<iwlanapns xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="epdg_apns_conf.xsd">
<vowifisettings>
<!-- wifi_call_enable 0 = off, 1 = on -->
<!-- wifi_call_preferred 1 = wifi pref, 2 = cs pref, 3 = wifi only, 4 = cs only, 5 = voip pref(VoLTE->VoWifi->CS) -->
<!-- wifi_call_when_roaming -1 = not used, 0 = cs pref, 1 = wifi pref -->
<!-- GCF Test : GCF Test : GCF -->
@HandyMenny
HandyMenny / iwlan_s2b_config.xml
Created December 19, 2022 15:44
W3 Vowifi zeus_eea_global_images_V13.0.28.0.SLBEUXM
<IWLAN_S2B_CONFIG>
<GENERIC_VARIANT>
<epdg_addr_info>
<static_fqdn_enabled>FALSE</static_fqdn_enabled>
<pcscf_attr>
<v4_attr_type_val>16384</v4_attr_type_val>
<v6_attr_type_val>16386</v6_attr_type_val>
</pcscf_attr>
</epdg_addr_info>
<ikev2_info>
@HandyMenny
HandyMenny / iwlan_s2b_config.xml
Created December 12, 2022 13:43
TIM Vowifi zeus_eea_global_images_V13.0.28.0.SLBEUXM
<?xml version="1.0" ?>
<IWLAN_S2B_CONFIG>
<GENERIC_VARIANT>
<epdg_addr_info>
<static_fqdn_enabled>TRUE</static_fqdn_enabled>
<fqdn>epdg.epc.mnc001.mcc222.pub.3gppnetwork.org</fqdn>
</epdg_addr_info>
<ikev2_info>
<self_id>
<id_type>ID_RFC822_ADDR</id_type>
@HandyMenny
HandyMenny / epdg_apns_conf.xml
Created December 4, 2022 16:13
FW: SM-S908B_TIM_S908BXXU2BVKB_S908BOXM2BVKB_S908BXXU2BVKB_S908BXXU2BVKB
<?xml version="1.0" encoding="utf-8"?>
<!-- use empty string to specify no proxy or port -->
<!-- This version must agree with that in apps/common/res/apns.xml -->
<!-- Country : Network : Operator Name -->
<iwlanapns xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="epdg_apns_conf.xsd">
<vowifisettings>
<!-- wifi_call_enable 0 = off, 1 = on -->
<!-- wifi_call_preferred 1 = wifi pref, 2 = cs pref, 3 = wifi only, 4 = cs only, 5 = voip pref(VoLTE->VoWifi->CS) -->
<!-- wifi_call_when_roaming -1 = not used, 0 = cs pref, 1 = wifi pref -->
<!-- GCF Test : GCF Test : GCF -->
@HandyMenny
HandyMenny / WireguardAutomatic.xml
Created October 23, 2022 13:01
Script to enable/disable wireguard tunnel when IPv4 default gateway changes
<?xml version="1.0" encoding="UTF-16"?>
<Task version="1.2" xmlns="http://schemas.microsoft.com/windows/2004/02/mit/task">
<RegistrationInfo>
<Date>2022-10-23T14:42:10.5827629</Date>
<Author>handymenny</Author>
<URI>\WireguardAutomatic</URI>
</RegistrationInfo>
<Triggers>
<EventTrigger>
<Enabled>true</Enabled>
@font-face {
font-family: 'Open Sans';
font-style: normal;
font-weight: 400;
font-display: swap;
src: url(https://fonts.gstatic.com/l/font?kit=mem8YaGs126MiZpBA-UFVZ0c&skey=62c1cbfccc78b4b2&v=v25#OpenSans) format('svg');
}
@font-face {
@HandyMenny
HandyMenny / overrideconfig_mi10
Last active April 8, 2021 15:54
efsprofiles WindTre
[QIPCALL:ImsVoiceConfig]
*displayTextPriority = 3
#This config is required to enable 380 response validation as per
#3GPP.
*enableAlternateSrvRspCheck = 0