Skip to content

Instantly share code, notes, and snippets.

View zytzjx's full-sized avatar

Jeffrey Zhang zytzjx

View GitHub Profile
@zytzjx
zytzjx / gist:9e463608caa03ddb0591cef1cab7f2e5
Created June 7, 2020 19:41
Create mobileconfig file to caputure ios uuid
https://ryanbritton.com/2016/07/creating-a-mobileconfig-file-to-capture-ios-udid-information/
https://android.googlesource.com/platform/packages/providers/TelephonyProvider/+/master/assets/carrier_list.textpb
@zytzjx
zytzjx / gist:54415e50b95bc359715d0aa09830f774
Created January 22, 2019 18:36
iPhone ActivationState & SIMStatus
_CFStringMakeConstantString("ActivationState");
_CFStringMakeConstantString("Unactivated");
_CFStringMakeConstantString("Activated");
_CFStringMakeConstantString("FactoryActivated");
_CFStringMakeConstantString("SoftActivation");
_CFStringMakeConstantString("MismatchedIMEI");
_CFStringMakeConstantString("MismatchedICCID");
_CFStringMakeConstantString("MissingSIM");
_CFStringMakeConstantString("Unlocked");
_CFStringMakeConstantString("WildcardActivated");
@zytzjx
zytzjx / gist:e5264ac98f4ac81bcc009026440f3a5a
Created December 27, 2018 17:54
C# netstat.exe -anvbp tcp
static void Main(string[] args)
{
Console.WriteLine("Active Connections");
Console.WriteLine();
Console.WriteLine(" Proto Local Address Foreign Address State PID");
foreach (TcpRow tcpRow in ManagedIpHelper.GetExtendedTcpTable(true))
{
Console.WriteLine(" {0,-7}{1,-23}{2, -23}{3,-14}{4}", "TCP", tcpRow.LocalEndPoint, tcpRow.RemoteEndPoint, tcpRow.State, tcpRow.ProcessId);
@zytzjx
zytzjx / gist:270df12a874cb27e270e5e28a4a4e7f8
Created October 12, 2018 20:56
linux add search path
https://stackoverflow.com/questions/4743233/is-usr-local-lib-searched-for-shared-libraries
ldconfig
@zytzjx
zytzjx / gist:d51ca52331f9612e6b3c1ebc75d87d33
Created November 1, 2017 22:17
Dos debug <DEBUG Tutorial>
http://thestarman.pcministry.com/asm/debug/debug2.htm#TOC
http://developer.blackberry.com/devzone/blackberry10devalpha/devalpha_update.html
@zytzjx
zytzjx / gist:75f8b7c107ff3df31736
Created January 7, 2016 05:28
android multi Sim card support
http://stackoverflow.com/questions/14517338/android-check-whether-the-phone-is-dual-sim
@zytzjx
zytzjx / gist:e3563fc05dd562d3aad6
Created November 20, 2015 18:44
Samsung at command
http://4pda.ru/forum/lofiversion/index.php?t658662-1220.html
@zytzjx
zytzjx / gist:3540585054b46595440a
Created October 27, 2015 21:38
实在是高呀,icloud backup
https://github.com/horrorho/InflatableDonkey