Skip to content

Instantly share code, notes, and snippets.

View itod's full-sized avatar

Todd Ditchendorf itod

View GitHub Profile
@itod
itod / Foo.m
Last active February 23, 2024 17:22
ObjC OpenSUSE
#import <stdio.h>
#import <Foundation/Foundation.h>
// sudo zyp in gcc-c++ gcc-objc gnustep-base-devel
// gcc -lobjc -lgnustep-base -fconstant-string-class=NSConstantString -fobjc-exceptions Foo.m -o Foo
// https://web.archive.org/web/20120816003625/http://blog.lyxite.com:80/2008/01/compile-objective-c-programs-using-gcc.html
@interface Foo : NSObject
@end
@itod
itod / php.vintage_grammar
Created August 8, 2023 23:18
PHP Syntax Highlighting Grammar for @VintageText
file
: thing+
;
@entryPoint
thing
: semi
| pi_beg
| pi_end
| func_decl
@itod
itod / gen.sh
Created August 7, 2023 17:33 — forked from rmorey/gen.sh
List of Uniform Type Identifiers
/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Versions/A/Support/lsregister -dump | grep uti: | cut -c 29- | sort | uniq > utis.txt
@itod
itod / voice_dictation_broken.txt
Created April 4, 2019 14:26
Chatterbug iOS App Showstopper Bug: Voice dictation completely broken in Self-lessons
# SETUP
## Device: iPhone SE
## OS: iOS 12.2
## Chatterbug App: 0.15.2 (20180806.1239.55)
@itod
itod / add_payment_bug.txt
Created April 4, 2019 14:08
Chatterbug Website Bug Report: Can't add new payment method.
hallo. wir haben ein kleines Problem. I can't add a new payment method.
# Setup
## Chatterbug web UI language setting: DE (that's also the lang I'm learning of course)
## Browsers (I've tried two, same result, so I didn't try Firefox):
* Google Chrome Version 73.0.3683.86 (Offizieller Build) (64-Bit) (some extensions installed, but I've already tried disabling the one that I suspected might interfere - "Disconnect")
@itod
itod / fluid2_dsa_pub.pem
Created October 18, 2018 18:41
fluid2_dsa_pub.pem
-----BEGIN PUBLIC KEY-----
MIIDOjCCAi0GByqGSM44BAEwggIgAoIBAQDs0P0WKFRZj/Cup99Hs7w+J2V0Iy1t
jHhn1IMq5HgOOTB051Ggg68HyHV7itkBlorn7C2sAZbFC6uMOd65bJqUZf9rqoox
5GHS7LYxhlw1TBoPb8iV3KtIUM2jubgRE6soAUUoAfPMPHH8/icTJT5W3Uu57cTs
hyEmOoa/9KKQgdXC7mEkfd9LZRkc+shUA3e681fX9Ix6suHVtN9fImi6dEavcfy8
YH0XuDLtJU8BbevvDQojjx0vBp6DZ3FvdeADsQyHNjJTr/kgfGn9px0+e1nIa0JS
9O+YGW+9E7ZJGSOCMSYdCkjiL7l7KdKBhF2dXAJh6NrxAD7N7IVjx6LfAhUA1wxz
jSJ8LbF2g2cSkTRVzCIXliUCggEABp8GOkhxaWKPhapHOZdYufZjEZpjbeUrMKT9
wqZCf0592plTOqS9QnY9u9SEQvXespc9534iWHKnYjQMZdDN55Ou3oiEq1brhhZn
+wiPhLU4MyYcQf6FdUbbu63IF9A0eugPeAb73EPqUuBY/6VA7rDn+m4WR7iu2cZP
@itod
itod / utils.h
Created October 16, 2018 23:34
CGRectInfinite is busted
#define TDRectInfinite (CGRectMake(-((UINT16_MAX)>>1), -((UINT16_MAX)>>1), (UINT16_MAX), (UINT16_MAX)))
@itod
itod / gist:51e1e923be8a5ec2dc5000d136e21aa7
Created October 16, 2018 18:30
Enable Top/Bottom Browsa Panels in Fluid 2.1
defaults write com.fluidapp.FluidApp2.Gmail TopBottomBrowsaPanelsEnabled -bool YES
@itod
itod / determiners.txt
Last active September 22, 2021 15:28
German Determiners + Adjectives
NOMINATIV
1. Subject
2. Predicate Nominative
ACCUSATIV
1. Direct Object
2. Accusative Prepositions
3. Expressions of Time
DATIV
@itod
itod / fluid-clones.txt
Last active October 30, 2017 13:44
Fluid Clones
https://github.com/electron/electron
https://github.com/dmarmor/epichrome
https://github.com/kfix/MacPin
https://webcatalog.io/download/mac