Skip to content

Instantly share code, notes, and snippets.

View galenguyer's full-sized avatar

Galen Guyer galenguyer

View GitHub Profile
@galenguyer
galenguyer / ios27beta3.diff
Created July 6, 2026 18:49
iOS 27 + macOS 27 Beta 3 Release Notes
--- snapshot-1782706732+++ snapshot-1783362848@@ -1,6 +1,6 @@ Overview
- The iOS & iPadOS 27 SDK provides support to develop apps for iPhone and iPad running iOS & iPadOS 27 beta 2. The SDK comes bundled with Xcode 27, available from the Mac App Store. For information on the compatibility requirements for Xcode 27, see Xcode 27 Release Notes.
+ The iOS & iPadOS 27 SDK provides support to develop apps for iPhone and iPad running iOS & iPadOS 27 beta 3. The SDK comes bundled with Xcode 27, available from the Mac App Store. For information on the compatibility requirements for Xcode 27, see Xcode 27 Release Notes.
AirPlay
@@ -116,6 +116,8 @@
* iOS 27 includes Neural Engine improvements for Apple Intelligence capable devices. The system now restricts background access to the Neural Engine, similar to GPU usage restrictions. Large model loading (over 1 GB) performance is improved on the Neural Engine. Neural Engine memory usage is now attributed to your ap
@galenguyer
galenguyer / CodeEval.cs
Last active February 27, 2020 01:44
Arbitrary Code Execution for C#
using System;
using System.CodeDom.Compiler;
using System.Reflection;
using System.Threading.Tasks;
/*
To execute, run
string code = "your code here";
if (!code.Contains("return")) code = "return " + code;
code = code.Trim().TrimEnd(';') + ";";
using System;
namespace Spinner
{ public class Spinner
{ private readonly string[] _spinner_chars = new[] {"|", "/", "-", "\\" };
private int _interval;
public Spinner()
{ this._interval = 100;
}
using System.Collections.Generic;
using System.Linq;
namespace LogParser
{
public class LocationMap
{
public class CountryNode
{
public string name;
#!/usr/bin/env python
from PIL import Image
import sys, random
image_file = './test.bmp'
zoom = 10
if len(sys.argv) != 3:
print "usage: {} <image_file> <zoom>".format(sys.argv[0])
exit(1)
@galenguyer
galenguyer / BeautifulDiscord.css
Last active December 1, 2017 22:20
My custom BeautifulDiscord StyleSheet
/*Channel Categories*/
.containerDefault-1bbItS{
padding-top: 11px;
}
.nameCollapsed-3_ChMu, .nameDefault-Lnjrwm, .nameHovered-1YFSWq, .nameHoveredCollapsed-2c-EHI, .nameMuted-1n0LSj, .nameUnread-WKlSv-{
text-transform: none;
font-size: 95%;
}
/*Completely hide blocked messages*/