Skip to content

Instantly share code, notes, and snippets.

View Mnkai's full-sized avatar
💭
I'm currently busy with my primary work. Some delays are expected.

Mnkai

💭
I'm currently busy with my primary work. Some delays are expected.
View GitHub Profile
@Mnkai
Mnkai / gist:06a1560d14e2a8d429355de169d8b672
Last active October 5, 2020 05:36
Huawei E5885 OTA filelist
URL (Sysfirm/WebUI)
* Note that global firmware ends with 00, Chinese ends with 233, Arabic ends with 1133
http://update.hicloud.com:8180/TDS/data/files/p9/s43/G134/g0/v73927/f1/full/filelist.xml (21.233.01.00.00/21.100.27.00.00)
http://update.hicloud.com:8180/TDS/data/files/p9/s43/G134/g0/v76581/f1/full/filelist.xml (21.235.01.00.00/21.100.28.00.00)
http://update.hicloud.com:8180/TDS/data/files/p9/s92/G247/g0/v96740/f1/full/filelist.xml (21.236.05.00.1133/21.100.32.01.1133)
http://update.hicloud.com:8180/TDS/data/files/p9/s43/G134/g0/v90819/f1/full/filelist.xml (21.236.05.01.233/21.100.32.01.233)
http://update.hicloud.com:8180/TDS/data/files/p9/s43/G134/g0/v98037/f1/full/filelist.xml (21.170.63.00.233/21.100.32.02.233)
@Mnkai
Mnkai / aspectratio.txt
Last active October 17, 2020 11:02
Free42 Aspect ratio calculator
LBL "ASPECTRTO"
LSTO "X"
X<>Y
LSTO "Y"
X<>Y
XEQ "GCD"
LSTO "GCD"
RCL "Y"
X<>Y
/
@Mnkai
Mnkai / README.md
Last active October 18, 2020 11:50
AppleStreamDump

AppleStreamDump

Dumps apple HLS stream format - including alternative audio tracks and all subtitles

Dependencies

  • m3u8
  • ffmpy (and ffmpeg)
  • pycountry

Caveats

  • mov_text format is used for webvtt conversion - thus output container should support mov_text (e.g., mp4)
@Mnkai
Mnkai / unixtime.txt
Last active December 13, 2020 12:11
Free42 Unix time converter
LBL "EPOCH"
DATE
TIME
LBL "T2Ep"
X<>Y
1970.0101
X<>Y
DDAYS
24
×
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>ANSIBlackColor</key>
<data>
YnBsaXN0MDDUAQIDBAUGBwpYJHZlcnNpb25ZJGFyY2hpdmVyVCR0b3BYJG9iamVjdHMS
AAGGoF8QD05TS2V5ZWRBcmNoaXZlctEICVRyb290gAGjCwwTVSRudWxs0w0ODxARElVO
U1JHQlxOU0NvbG9yU3BhY2VWJGNsYXNzRjAgMCAwABABgALSFBUWF1okY2xhc3NuYW1l
WCRjbGFzc2VzV05TQ29sb3KiFhhYTlNPYmplY3QIERokKTI3SUxRU1ddZGp3foWHiY6Z
# vim:ft=zsh ts=2 sw=2 sts=2
#
# Minorister
# Dirty mix of agnoster and paradox theme, now only with foreground colours!
# I missed paradox theme of prezto even after installing oh-my-zsh
#
#
# # README
#
# In order for this theme to render correctly, you will need a
LBL "COMPINT"
"Loop count:"
PROMPT
STO 00
"Deposit amount "
├"per loop:"
PROMPT
STO 01
"Interest rate ("
├"e.g., 1.05):"
@Mnkai
Mnkai / inreachwx.go
Created September 7, 2023 16:43 — forked from mattstep/inreachwx.go
Hack for getting wx reports via inreach messaging.
package main
import (
"fmt"
"io/ioutil"
"net/http"
"net/url"
"strings"
)
@Mnkai
Mnkai / README.md
Last active April 13, 2024 14:11
TDP and turbo parameter modification with MSR on non-overclockable Intel CPU (such as Intel i7-8550U)

TDP and turbo parameter modification with MSR on non-overclockable CPU

Disclaimer

  • MSR modification may void your CPU's (or system board's) warranty. Proceed with care. I'm not responsible for any destruction caused by this article.
  • MSR address (greatly) differs from CPU to CPU. Check your own CPU's MSR address using Intel's documentation.
  • Only tested on Intel i7-8550U (Kaby Lake R).
  • This article is translation of this article. If you can understand Korean, I recommend reading that article, not this.

Start