Skip to content

Instantly share code, notes, and snippets.

View azenla's full-sized avatar
🏳️‍⚧️
cabbit mode

Alex Zenla azenla

🏳️‍⚧️
cabbit mode
View GitHub Profile
/@introduceDomain = ""
/@releaseDomain = ""
/local = ""
/tool = ""
/vm = ""
/vm/c44aa934-6ebc-4b84-b3cf-0a25ba6d508b = ""
/vm/c44aa934-6ebc-4b84-b3cf-0a25ba6d508b/device = ""
/vm/c44aa934-6ebc-4b84-b3cf-0a25ba6d508b/image = ""
/vm/c44aa934-6ebc-4b84-b3cf-0a25ba6d508b/name = "protect-c44aa934-6ebc-4b84-b3cf-0a25ba6d508b"
/vm/c44aa934-6ebc-4b84-b3cf-0a25ba6d508b/uuid = "c44aa934-6ebc-4b84-b3cf-0a25ba6d508b"
#[derive(Clone, Copy, Debug)]
pub enum CpuClass {
Standard,
Performance,
Efficiency,
}
#[derive(Clone, Copy, Debug)]
pub struct CpuTopologyInfo {
pub core: u32,

Keybase proof

I hereby claim:

  • I am azenla on github.
  • I am alexzenla (https://keybase.io/alexzenla) on keybase.
  • I have a public key ASAnaNm-loXjKDbJ_AkkLyPuT968k9QR-KXy66XEFvcugQo

To claim this, I am signing this object:

import Foundation
import Cocoa
public extension CGPoint {
func toPointCode() -> String {
return "CGPoint(x: \(x), y: \(y))"
}
}
public extension NSBezierPath {
/usr/bin/IOMFB_FDR_Loader = arm64e
/usr/bin/usbcfwflasher = arm64e
/usr/bin/update_mcdp29xx = arm64e
/usr/bin/nvmefwupdater = arm64e
/usr/libexec/corercd = arm64e
/usr/libexec/seputil = arm64e
/usr/sbin/applecamerad = arm64e
/System/iOSSupport/System/Library/Frameworks/OpenGLES.framework/Versions/A/Libraries/libGLVMPlugin3802.dylib = arm64e
/System/iOSSupport/System/Library/Frameworks/OpenGLES.framework/Versions/A/Libraries/libGLVMPlugin31001.dylib = arm64e
/System/iOSSupport/System/Library/Frameworks/OpenGLES.framework/Versions/A/Libraries/libGLVMPlugin3902.dylib = arm64e
@azenla
azenla / mojave-gtk-theme.patch
Created March 20, 2020 13:05
Recommended patch to conform to namcap standards.
diff --git a/PKGBUILD b/PKGBUILD
index 27b8ad5..53d0bb7 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,17 +1,17 @@
-# Maintainer Thomas Queiroz <[email protected]>
+# Maintainer: Thomas Queiroz <[email protected]>
# Contributor: Sergio Schneider <[email protected]>
pkgname=mojave-gtk-theme
@azenla
azenla / disable-ssl-pin.js
Created October 11, 2019 22:26
This Frida script disables SSL pinning and verification on any target macOS Catalina process.
var SecTrustEvaluate_handle =
Module.findExportByName('Security', 'SecTrustEvaluate');
var SecTrustEvaluateWithError_handle =
Module.findExportByName('Security', 'SecTrustEvaluateWithError');
var SSL_CTX_set_custom_verify_handle =
Module.findExportByName('libboringssl.dylib', 'SSL_CTX_set_custom_verify');
var SSL_get_psk_identity_handle =
Module.findExportByName('libboringssl.dylib', 'SSL_get_psk_identity');
var boringssl_context_set_verify_mode_handle = Module.findExportByName(
'libboringssl.dylib', 'boringssl_context_set_verify_mode');
Dec 31 13:59:59 localhost user.notice alex:weston: Date: 2017-11-25 EST
Dec 31 13:59:59 localhost user.notice alex:weston: [13:31:00.864] weston 3.0.0
Dec 31 13:59:59 localhost user.notice alex:weston: http://wayland.freedesktop.org
Dec 31 13:59:59 localhost user.notice alex:weston: Bug reports to: https://bugs.freedesktop.org/enter_bug.cgi?product=Wayland&component=weston&version=3.0.0
Dec 31 13:59:59 localhost user.notice alex:weston: Build: unknown (not built from git or tarball)
Dec 31 13:59:59 localhost user.notice alex:weston: [13:31:00.865] Command line: /usr/bin/weston -c /etc/xdg/weston/weston.ini
Dec 31 13:59:59 localhost user.notice alex:weston: [13:31:00.866] OS: Linux, 3.4.83, #1-postmarketOS SMP PREEMPT Sat Nov 25 16:27:17 GMT 2017, armv7l
Dec 31 13:59:59 localhost user.notice alex:weston: [13:31:00.867] Using config file '/etc/xdg/weston/weston.ini'
Dec 31 13:59:59 localhost user.notice alex:weston: [13:31:00.872] Output repaint window is 7 ms maximu
with recursive rel_tree as (
select "hash", "parent", 1 as level, cast(array["hash"] AS varchar(512)[]) as path_info
from "git.commits"
where "parent" is null
union all
select c.hash, c.parent, p.level + 1, cast((p.path_info || c.hash) AS varchar(512)[])
from "git.commits" c
join rel_tree p on c.parent = p.hash
)
with raw_commit_texts as (
select "hash", encode("content", 'escape') as info from "git.objects" where type = 1
),
commits as (
select
"hash",
(regexp_match("info", 'tree ([^\s]+)'))[1] as tree,
(regexp_match("info", 'parent ([^\s]+)'))[1] as parent,
(regexp_match("info", 'author ([^\n]+)'))[1] as author,
(regexp_match("info", 'committer ([^\n]+)'))[1] as committer,