Skip to content

Instantly share code, notes, and snippets.

View Axemasta's full-sized avatar

Alex Axemasta

View GitHub Profile
@nicolas17
nicolas17 / yellow.asm
Last active November 27, 2025 14:03
hello-world iOS app
.global _main
.extern _putchar
.align 4
_main:
; prolog; save fp,lr,x19
stp x29, x30, [sp, #-0x20]!
str x19, [sp, #0x10]
@MarcosCobena
MarcosCobena / MacOSScreenshot.cs
Created August 28, 2018 10:37
A workaround to take screenshots under macOS when Gtk# crashes doing the same (https://github.com/mono/gtk-sharp/issues/236)
using System;
using System.Runtime.InteropServices;
using AppKit;
using CoreGraphics;
using Foundation;
using ImageIO;
using MobileCoreServices;
namespace ScreenshotDemo
{
@dannycabrera
dannycabrera / AppDelegate.cs
Created December 30, 2015 22:20
Xamarin.iOS Blur screen with OnResignActivation
[Register ("AppDelegate")]
public partial class AppDelegate : UIApplicationDelegate
{
UIVisualEffectView _blurView = null;
public override void OnActivated (UIApplication application)
{
try {
if (_blurView != null) {
_blurView.RemoveFromSuperview ();