Skip to content

Instantly share code, notes, and snippets.

View olekstomek's full-sized avatar
:octocat:
Focusing

Tomasz Oleksik olekstomek

:octocat:
Focusing
View GitHub Profile
@olekstomek
olekstomek / index.html
Last active June 4, 2024 07:18
Multistream z gniazd ptaków na wieżach stacji bazowych Orange
<!DOCTYPE html>
<html lang="pl">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Multi wideo - gniazda ptaków na masztach Orange Polska S.A.</title>
<style>
body {
margin: 0;
padding: 0;
<?xml version='1.0' encoding='UTF-8' standalone='no' ?>
<opml version="1.0">
<head>
<title>Google Podcasts Feeds</title>
</head>
<body>
<outline text="feeds">
<outline xmlUrl="https://anchor.fm/s/22b76b4c/podcast/rss" type="rss" text="AI po godzinach" />
<outline xmlUrl="https://www.spreaker.com/show/4194770/episodes/feed" type="rss" text="Podcast Oli Kunysz" />
<outline xmlUrl="https://www.cybsecurity.org/feed/podcast/" type="rss" text="Cyber, cyber..." />
@olekstomek
olekstomek / log.txt
Created November 6, 2023 23:12
Log z PRO Speed Test na Windows (narzędzie certyfikowate przez UKE) pomiar łącza Orange FTTH
2023-11-07 12:02:33 ------ ### ROZPOCZĘTO NOWY TEST ###
2023-11-07 12:02:33 ------ testowanie serwerów
2023-11-07 12:02:33 ------ waw34.fireinfra.net 9113
2023-11-07 12:02:33 ------ testowanie serwera: 51.83.204.233:9113
2023-11-07 12:02:33 ------ waw32.fireinfra.net 9113
2023-11-07 12:02:33 ------ testowanie serwera: 51.75.42.4:9113
2023-11-07 12:02:33 ------ waw35.fireinfra.net 9113
2023-11-07 12:02:33 ------ testowanie serwera: 51.38.158.8:9113
2023-11-07 12:02:33 ------ waw31.fireinfra.net 9113
[
{
"Currency Code": "AFN",
"Name": "Afghan Afghani"
},
{
"Currency Code": "ALL",
"Name": "Albanian Lek"
},
{
[
{
"Country code": "ad",
"Country": "Andorra",
"Region": "EMEA"
},
{
"Country code": "ae",
"Country": "United Arab Emirates",
"Region": "EMEA"
@olekstomek
olekstomek / speedtest-cli.txt
Last active August 20, 2023 23:08
Oracle Cloud (Frankfurt) -> Orange PL speedtest cli
ubuntu@instance-20230722-2257:~$ speedtest --version
Speedtest by Ookla 1.2.0.84 (ea6b6773cf) Linux/aarch64-linux-musl 5.15.0-1038-oracle aarch64
ubuntu@instance-20230722-2257:~$ speedtest -s 7200
Speedtest by Ookla
Server: Orange Polska S.A. - Gdansk (id: 7200)
ISP: Oracle Cloud
Idle Latency: 25.82 ms (jitter: 0.09ms, low: 25.73ms, high: 25.92ms)
@olekstomek
olekstomek / Kod.gs
Last active April 22, 2022 08:03
Apps Script trigger - check dane.gov.pl/source-code and send email if new version
function checkDaneGovPlSourceCode() {
const scrappedTextFromWebsite = UrlFetchApp.fetch('https://dane.gov.pl/source-code/').getContentText();
if (scrappedTextFromWebsite.includes(formatDate(new Date()))) {
MailApp.sendEmail({
to: "my@e-mail.com",
subject: "Nowa wersja kodu dane.gov.pl!",
htmlBody: scrappedTextFromWebsite + "</ br> https://dane.gov.pl/source-code/"
});
Logger.log('E-mail was sent.');
} else {
@olekstomek
olekstomek / zte286d.sh
Last active December 27, 2021 15:17
skrypt do pokazywania parametrów sygnału w modemie mobilnym 4G
#!/bin/sh
HOST=192.168.32.1
PASSWORD=admin
HEADER="Referer: http://$HOST/index.html"
P=$(echo -n "$PASSWORD" | base64 -w0 | sha256sum | awk '{print toupper($1)}')
A=$(wget -t 3 -q -O - --save-cookies cookies.txt --keep-session-cookies --header="$HEADER" --post-data "isTest=false&goformId=LOGIN&password=$P" http://$HOST/goform/goform_set_cmd_process)
@olekstomek
olekstomek / zte-v3.0a.js
Last active December 27, 2021 15:17
skrypt do pokazywania parametrów sygnału w modemie mobilnym 4G
javascript:ftb();function getStatus(){$.ajax({type:"GET",url:"/goform/goform_get_cmd_process",data:{cmd:"network_type,mcc,mnc,rssi,rsrq,lte_rsrp,wan_lte_ca,lte_ca_pcell_band,lte_ca_pcell_bandwidth,lte_ca_scell_band,lte_ca_scell_bandwidth,lte_ca_pcell_arfcn,lte_ca_scell_arfcn,Z_SINR,Z_CELL_ID,Z_eNB_id,Z_rsrq,lte_ca_scell_info,wan_ipaddr,ipv6_wan_ipaddr,static_wan_ipaddr,opms_wan_mode,opms_wan_auto_mode,ppp_status,loginfo",multi_data:"1"},dataType:"json",success:function(l){for(signal=l,vars=["mcc","mnc","rssi","network_type","wan_lte_ca","lte_rsrp","Z_SINR","rsrq","Z_CELL_ID","Z_eNB_id","lte_ca_pcell_bandwidth","lte_ca_pcell_band","lte_ca_scell_info"],e=0;e<vars.length;e++)window[vars[e]]=l[vars[e]];if(setgraph("rsrp",lte_rsrp,-130,-70),setgraph("rsrq",rsrq,-16,-3),enbid=Math.trunc(Z_eNB_id/256),plmn=mcc.toString()+mnc.toString(),$("#enbid").html(enbid),"22201"==plmn&&(plmn="2221"),"22299"==plmn&&(plmn="22288"),"22250"==plmn&&6==enbid.length&&(plmn="22288"),link_lte="https://lteitaly.it/internal/map.php#bts="+
program ColorPicker;
uses crt;
const
QuitKey = #27;
PrevKey = #75;
NextKey = #77;
var