Skip to content

Instantly share code, notes, and snippets.

View pc-coholic's full-sized avatar

Martin Gross pc-coholic

View GitHub Profile
@pc-coholic
pc-coholic / gist:458bf796d966c0727ee8bb744c7c08c4
Created February 18, 2023 14:57
Lenovo Z13 WWAN/Wireless BIOS Whitelist/Allowlist; N3GET47W; 1.27
VID PID Mfg ProductName
14C3 0616 MEDIATEK Corp. MT7922 802.11ax PCI Express Wireless Network Adapter
17CB 1103 Qualcomm QCNFA765 Wireless Network Adapter
8086 7560 Intel Corporation XMM7560 LTE Advanced Pro Modem
2C7C 030A Quectel Wireless Solutions Co., Ltd. Quectel EM05-G
2C7C 030C Quectel Wireless Solutions Co., Ltd. Quectel EM05-G
@pc-coholic
pc-coholic / ZTC-ZD421-300dpi-ZPL.ppd
Created May 2, 2022 17:54
Zebra ZC421 ppd with added 4.00x8.00" label (DHL Common Label)
*PPD-Adobe: "4.3"
*%%%% PPD file for ZPL Label Printer with CUPS.
*%%%% Created by the CUPS PPD Compiler CUPS v2.3.1.
*% Copyright (c) 2007-2019 by Apple Inc.
*% Copyright (c) 1997-2007 by Easy Software Products.
*%
*% Licensed under Apache License v2.0. See the file "LICENSE" for more
*% information.
*FormatVersion: "4.3"
*FileVersion: "2.3"
@pc-coholic
pc-coholic / test.py
Created August 5, 2020 18:30
pylibmdb tets files
mdbreset()
mdbpoll()
mdbsetup()
features = mdbexpansionidentification()
mdbexpansionfeatureenable(features)
mdbexpansiondiagnosticstatus()
mdbtubestatus()
@pc-coholic
pc-coholic / pk.json
Created March 18, 2019 21:32
Google Pay // Google Pay Passes Server Callbacks // Payment data cryptography for merchants
{
"keys":[
{
"keyValue":"MFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEs/J7ghdwu4/b6NvqzQebS+Z80FEP8ZlGdAdWDUjfPeBKaV+YOWW0l6U/4IGXnfY9NrsND1fwxAqRq0unR/LCIg==",
"protocolVersion":"ECv2SigningOnly",
"keyExpiration":"1553109880808"
}
]
}
import socket
UDP_IP = "0.0.0.0"
UDP_PORT = 2080
sock = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
sock.bind((UDP_IP, UDP_PORT))
while True:
data, addr = sock.recvfrom(1024)
@pc-coholic
pc-coholic / fneulion.go
Created October 31, 2015 19:29 — forked from anonymous/fneulion.go
FNeulion
package main
import "os"
import "fmt"
import "strconv"
import "net/http"
import "strings"
import "log"
import "time"
import "crypto/md5"
@pc-coholic
pc-coholic / vim-on-heroku.sh
Created August 17, 2015 22:51 — forked from sfate/vim-on-heroku.sh
vim on heroku
#!/usr/bin/env bash
curl https://s3.amazonaws.com/heroku-jvm-buildpack-vi/vim-7.3.tar.gz --output vim.tar.gz
mkdir vim && tar xzvf vim.tar.gz -C vim
export PATH=$PATH:/app/vim/bin
--> 02 02
<-- 20 01 CancelDiscovery\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00
<-- 20 01 TerminateLink\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00
--> 02 01 00 78 01 96
<-- 15 08 01 01 62 94 AF 29 6A BC 74 09 00 20 00 00 FF E7 03 00 01 00 (11 times)
--> 1A 04 BA 56 89 A6 FA BF A2 BD 01 46 7D 6E 00 00 AB AD 00 FB 01 FB 02 FB A0 0F 00 D3 00 00 00 00
<-- 20 01 StartDiscovery\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00
<-- 13 03 63 39 56 50 1B D4 01 D6 02 05 04 03 2C 31 F6 BD 2E 00 (13 times)
<-- 03 02 01 00 (29 times)
--> 02 05