Skip to content

Instantly share code, notes, and snippets.

View pcislocked's full-sized avatar

pcislocked

View GitHub Profile
@satyamisme
satyamisme / telnet.sh
Created February 15, 2023 10:08 — forked from devfalse/telnet.sh
Repair IMEI number on Nighthawk M1 Mobile Router MR1100
# Enable "charge + tether" in Settings -> Setup -> Mobile Router Setup -> Tethering
# Use a usb cable to connect (tethering) to the router on port 5510
# Useful links:
# Verify the IMEI number
# https://en.wikipedia.org/wiki/Luhn_algorithm
# Challenge/Response Generator for Sierra Wireless Cards V1.0
# https://github.com/bkerler/SierraWirelessGen
ATI
@CharlesGodwin
CharlesGodwin / cloudflare.md
Last active March 30, 2025 00:31
I Don't Need Port Forwarding and Don't Care About CGNAT

I Don't Need Port Forwarding and Don't Care About CGNAT

This was rewritten 2022-11-30

This article is for users that want all these features:

  • To connect to home network from anywhere
  • Can connect without any port forwarding; either by choice or internet provider can't or won't provide access
  • No setup or configuration or installation on client machine
  • No enrolment / registration required
@devfalse
devfalse / telnet.sh
Last active January 30, 2025 20:45
Repair IMEI number on Nighthawk M1 Mobile Router MR1100
# Enable "charge + tether" in Settings -> Setup -> Mobile Router Setup -> Tethering
# Use a usb cable to connect (tethering) to the router on port 5510
# Useful links:
# Verify the IMEI number
# https://en.wikipedia.org/wiki/Luhn_algorithm
# Challenge/Response Generator for Sierra Wireless Cards V1.0
# https://github.com/bkerler/SierraWirelessGen
ATI
@danielbene
danielbene / docker_install.sh
Last active August 29, 2024 05:16
Docker install script for linux.
#!/bin/bash
DIST_BASE="ubuntu"
apt update
apt install -y apt-transport-https ca-certificates curl gnupg-agent software-properties-common
curl -fsSL https://download.docker.com/linux/$DIST_BASE/gpg | sudo apt-key add -
apt-key fingerprint 0EBFCD88
@dfjones89
dfjones89 / spark-uk-5ghz.txt
Created February 25, 2018 22:20
Change WiFi Region on Android Lollipop to enable scanning of 5GHz Channel 153 (DJI Spark RC Controller)
# Fixes https://forum.dji.com/thread-100550-1-1.html
# Spark-rc
# 5GHz Channel 153
# Current ROM on HTC One M7
# Android Lollipop
# VenomRom ViperOne 8.0.0
# Commands to switch Android WiFi to US region
@nico-lab
nico-lab / hevc_amf
Last active May 2, 2025 12:21
ffmpeg -h encoder=hevc_amf
Encoder hevc_amf [AMD AMF HEVC encoder]:
General capabilities: dr1 delay hardware
Threading capabilities: none
Supported hardware devices: d3d11va d3d11va dxva2 dxva2 amf amf
Supported pixel formats: nv12 yuv420p d3d11 dxva2_vld p010le amf bgr0 rgb0 bgra argb rgba x2bgr10le rgbaf16le
hevc_amf AVOptions:
-usage <int> E..V....... Set the encoding usage (from -1 to 5) (default -1)
transcoding 0 E..V....... Generic Transcoding
ultralowlatency 1 E..V....... Ultra low latency usecase
lowlatency 2 E..V....... Low latency usecase