Skip to content

Instantly share code, notes, and snippets.

View bunnyhero's full-sized avatar
🐰

bunnyhero bunnyhero

🐰
View GitHub Profile
@bunnyhero
bunnyhero / userContent.css
Created December 25, 2022 03:18
custom browser stylesheet to widen the home column of mastodon's advanced UI
body.layout-multiple-columns #mastodon .columns-area .column[aria-label="Home"] {
min-width: 420px !important;
max-width: 420px !important;
}
@bunnyhero
bunnyhero / markdown-test.md
Created May 31, 2022 21:43
markdown test

header

list

  • item
  • header in list

  • item
    • item

    • welp
@bunnyhero
bunnyhero / LICENSE
Created November 2, 2019 22:33 — forked from jamztang/LICENSE
UINibDecoderProxy - Use NSProxy to observe what's encoded when views and controllers are created in Interface Builder.
Copyright (c) 2013 Jamz Tang <jamz@jamztang.com>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is furnished
to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
### Keybase proof
I hereby claim:
* I am bunnyhero on github.
* I am bunnyhero (https://keybase.io/bunnyhero) on keybase.
* I have a public key ASAs-OGgs2L0ieNazRCGPFI6ahTagvG-3uYOyJ6YzJ0xmwo
To claim this, I am signing this object:
on skypeAway()
tell application "Skype"
send command "SET USERSTATUS AWAY" script name "me"
end tell
end skypeAway
on idle
skypeAway()
return 60
end idle
@bunnyhero
bunnyhero / ReusableCellExample.m
Last active February 19, 2022 02:04
Example of Reactive Cocoa binding for a reusable cell.
- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath
{
UITableViewCell *cell =
[tableView dequeueReusableCellWithIdentifier:REUSABLE_CELL_ID];
UILabel *label = (UILabel *)[cell viewWithTag:VIEW_TAG];
Model *someModel = [self getModelFromIndexPath:indexPath];
// `takeUntil:` makes the RACObserve() signal complete (and thus breaks the subscription)
// when the cell is recycled.
@bunnyhero
bunnyhero / gist:5915887
Last active December 19, 2015 06:59
Output building box2d.js on Mac OS X 10.8.4 with EMCC_DEBUG=1
speedwell:~/dev/github/box2d-js bunnyhero$ EMCC_DEBUG=1 emmake make
/Users/bunnyhero/dev/github/emscripten/em++ -IBox2D_v2.2.1 Box2D_v2.2.1/Box2D/Collision/b2BroadPhase.cpp -o Box2D_v2.2.1/Box2D/Collision/b2BroadPhase.bc
DEBUG root: invocation: /Users/bunnyhero/dev/github/emscripten/emcc -IBox2D_v2.2.1 Box2D_v2.2.1/Box2D/Collision/b2BroadPhase.cpp -o Box2D_v2.2.1/Box2D/Collision/b2BroadPhase.bc
INFO root: (Emscripten: Running sanity checks)
DEBUG root: compiling to bitcode
DEBUG root: compiling source file: Box2D_v2.2.1/Box2D/Collision/b2BroadPhase.cpp
DEBUG root: running:/Users/bunnyhero/tools/clang+llvm-3.2-x86_64-apple-darwin11/bin/clang++ -IBox2D_v2.2.1 -std=c++03 -m32 -U__i386__ -U__i386 -Ui386 -U__SSE__ -U__SSE_MATH__ -U__SSE2__ -U__SSE2_MATH__ -U__MMX__ -DEMSCRIPTEN -D__EMSCRIPTEN__ -U__STRICT_ANSI__ -D__IEEE_LITTLE_ENDIAN -fno-math-errno -fno-threadsafe-statics -target le32-unknown-nacl -U__native_client__ -U__pnacl__ -U__ELF__ -nostdinc -nostdinc++ -Xclang -nobuiltininc -Xclang -nostd