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

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 <thomasqueirozb@gmail.com>
+# Maintainer: Thomas Queiroz <thomasqueirozb@gmail.com>
# Contributor: Sergio Schneider <spsf1964@gmail.com>
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');

Keybase proof

I hereby claim:

  • I am kendfinger on github.
  • I am kaendfinger (https://keybase.io/kaendfinger) on keybase.
  • I have a public key ASAAZHRFQXvotoa6qrK2s2Og6k0Islzk5SKHATMt-C95NAo

To claim this, I am signing this object:

Keybase proof

I hereby claim:

  • I am kaendfinger on github.
  • I am kaendfinger (https://keybase.io/kaendfinger) on keybase.
  • I have a public key ASD4d7Y7hFEOSgYBs6wEB4yjc2fD4ecYxeCL4W-MCsH0Rgo

To claim this, I am signing this object:

ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCxRyO5hkSNG4+asmiONMsu089F4kLTZS7h6fTch9OymEccYeVIwaUAlJzyM6h1+plT84/v1vItfq4iXCpeJvFd+vqF7tJ4bor7UyqfAoak+x9IAH8PcPHGNN8Kz8CM0xeNKdqSYlTX+rKVOBLAI8enmezoh3Bj6mz8vjAPma2DW4NoEPyxms7MYFwh4/xWLc0nChhsE76EK4sxeZoZXpJZ6seQBDrB22Cu6Ys5F4xBnypRYjMkyY7JIL80B5h8OdXV/82siDitGIi83zyYJ6rRaI24lxFmRTBqV4XwoSNQx7MxYiY0Z6QS6FWYqVTHkywhOTjGr/Pr0JNrnDQSUVnN imported-openssh-key
using System;
class RealDonaldTrump {
public static void Tweet(string message) {
Console.WriteLine("[@" + nameof(RealDonaldTrump) + "] " + message);
}
public static void BrandSwampMonster(string brand, string person) {
Tweet("Wow, " + brand + " " + person + " is a really terrible person! Sad!");
}
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