Skip to content

Instantly share code, notes, and snippets.

@skoqaq
skoqaq / build4123.sublime4.key
Last active July 2, 2024 15:04
Sublime Text 4 License Key
—– BEGIN LICENSE —–
Mifeng User
Single User License
EA7E-1184812
C0DAA9CD 6BE825B5 FF935692 1750523A
EDF59D3F A3BD6C96 F8D33866 3F1CCCEA
1C25BE4D 25B1C4CC 5110C20E 5246CC42
D232C83B C99CCC42 0E32890C B6CBF018
B1D4C178 2F9DDB16 ABAA74E5 95304BEF
9D0CCFA9 8AF8F8E2 1E0A955E 4771A576
@sarkrui
sarkrui / reset.sh
Created November 21, 2021 12:49
reset iMazing photos export counts
```bash
sudo rm -rf /Users/p.xing/Library/Application\ Support/iMazing/Prefs/.sets
```
### Unofficial Dump of UniFi system.cfg Properties
###
### WARNINGS:
### - This list is undocumented, unsupported, and incomplete.
### - Some options may be deprecated and ignored.
### - Some options WILL break your setup.
### - Some options work now but WILL break you in a future firmware update.
###
### USING THESE:
### See https://help.ui.com/hc/articles/205146040#2
@blacktop
blacktop / DeviceTree.vma2macosap.md
Last active January 30, 2022 17:46
AssetData/boot/Firmware/all_flash/DeviceTree.vma2macosap.im4p
❯ brew install blacktop/tap/ipsw
❯ ipsw download ota -V --macos --device Macmini9,1 --model J274AP
❯ unzip -l 8093b01ee46664b82427188ff61334501fd1b0d8.zip | grep DeviceTree
{
"iOS": {
"iOS release": "01c1d682-6e8f-4908-b724-5501fe3f5e5c",
"iOS internal": "ce9c2203-903b-4fb3-9f03-040dc2202694",
"iOS generic": "0c88076f-c292-4dad-95e7-304db9d29d34",
"iOS security updates": "c724cb61-e974-42d3-a911-ffd4dce11eda",
"iOS 11 developer beta": "b7580fda-59d3-43ae-9488-a81b825e3c73",
"iOS 11 AppleSeed beta": "f23050eb-bdfa-4b23-9eca-453e3b1a247c",
"iOS 11 public beta": "5839f7cf-9610-483a-980f-6c4266a22f17",
"iOS 12 developer beta": "ef473147-b8e7-4004-988e-0ae20e2532ef",
@sm-Fifteen
sm-Fifteen / whats_a_yubikey.md
Last active June 21, 2024 18:49
"What the heck is a Yubikey and why did I buy one?": A user guide

"What the heck is a Yubikey and why did I buy one?": A user guide

(EDIT: Besides Reddit, I've also put this up on Github Gist)

So while looking for information on security keys before getting one myself, I got very confused reading about all the different modes and advertised features of Yubikeys and other similar dongles. The official documentation tends to be surprisingly convoluted at times, weirdly organized and oddly shy about a few of the limitations of these keys (which I'm making a point of putting front and center). Now that I have one, I decided to write down everything I figured out in order to help myself (and hopefully some other people reading this) make sense of all this.

Since I'm partly writing these notes for myself, there might be some back and forth between "exp

@LiEnby
LiEnby / flash.md
Last active June 16, 2023 07:56
Removing the timebomb from Adobe Flash Player

In Adobe Flash Player versions newer than 32.0.0.344 they added a "Timebomb" for the EOL. the player would refuse to run any custom flash content after 12/01/2021, instead it would just show this image

So knowing this, Lets crack it!

I acturally started looking into this before the 12/01/2021 hit, but only recently did i acturally discover a way to bypass the killswitch

(also- im aware i was not the first to do this, but i still did do it)

@nam20485
nam20485 / Visual Studio solution file headers+
Last active February 16, 2021 14:11
Visual Studio solution file headers - 2003, 2005, 2008, 2010, 2012, 2013, 2015, 2017, 2019
== Visual Studio .NET 2003 (DO NOT COPY THIS LINE) ==
Microsoft Visual Studio Solution File, Format Version 8.00
# Visual Studio .NET 2003
VisualStudioVersion = 7.1
== Visual Studio 2005 (DO NOT COPY THIS LINE) ==
Microsoft Visual Studio Solution File, Format Version 9.00
# Visual Studio 2005
VisualStudioVersion = 8.0
@lilydjwg
lilydjwg / pacsync
Created October 29, 2020 14:21
pacsync: sync with latest mirrors, download from fastest ones
#!/bin/bash -e
unshare -m bash <<'EOF'
mount --make-rprivate /
for f in /etc/pacman.d/*.sync; do
filename="${f%.*}"
mount --bind "$f" "$filename"
done
pacman -Sy
EOF
@wumb0
wumb0 / delta_patch.py
Last active June 21, 2024 12:16
a script for applying MS patch deltas
from ctypes import (windll, wintypes, c_uint64, cast, POINTER, Union, c_ubyte,
LittleEndianStructure, byref, c_size_t)
import zlib
# types and flags
DELTA_FLAG_TYPE = c_uint64
DELTA_FLAG_NONE = 0x00000000
DELTA_APPLY_FLAG_ALLOW_PA19 = 0x00000001