Skip to content

Instantly share code, notes, and snippets.

View pcislocked's full-sized avatar

pcislocked

View GitHub Profile
@CharlesGodwin
CharlesGodwin / cloudflare.md
Last active January 13, 2024 19:49
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
@danielbene
danielbene / docker_install.sh
Last active November 18, 2023 19:20
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
@dvjones89
dvjones89 / 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 March 6, 2024 18:08
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
Supported pixel formats: nv12 yuv420p d3d11 dxva2_vld
hevc_amf AVOptions:
-usage <int> E..V....... Set the encoding usage (from 0 to 5) (default transcoding)
transcoding 0 E..V....... Generic Transcoding
ultralowlatency 1 E..V....... ultra low latency trancoding
lowlatency 2 E..V....... low latency trancoding