Skip to content

Instantly share code, notes, and snippets.

View spanage's full-sized avatar

Sommer Panage spanage

View GitHub Profile
@spanage
spanage / sommer-panage-speaker-rider.md
Last active May 18, 2023 03:06 — forked from tatianamac/tatiana-mac-speaker-rider.md
Sommer Panage's Speaker Rider

Speaker Rider for Sommer Panage

by Sommer Panage based on the rider of Tatiana Mac

Last updated 11 May 2023

In-Person Events

In the aftermath and lessons of the global pandemic, I am taking in-person events on a carefully considered, case-by-case basis based on flu/COVID/other-illness case rates in my location and the event location, as well as travel safety and personal considerations at the time. I will make my best estimates based on the dates provided; however, I do reserve the right to cancel my appearence due to safety concerns. (To date, I have not needed to exercise this.)

I am happy to consider all remote/"Zoom" style engatements.

@spanage
spanage / keybase.md
Created March 31, 2020 19:51
Keybase Verification

Keybase proof

I hereby claim:

  • I am spanage on github.
  • I am sommer (https://keybase.io/sommer) on keybase.
  • I have a public key ASDcAywFfEzyGp8iW-r7IaoOsX-DcUFVpM16Be3oDJf3rwo

To claim this, I am signing this object:

@spanage
spanage / TableViewAutoDimCellHeightFix
Last active August 29, 2015 14:19
This code fixes layout issues with UITableViews that contain cells dynamically sizing labels in them (when using UITableViewAutomaticDimension).
// To be placed in your UITableViewDelegate.
//
// This is doing what autolayout *should* be doing which using the constraints to determine cell
// height as needed. Currently, even with correctly setting prefferedMaxLayoutWidth on
// labels within cells, heights calculated correctly at all times.
// If you use this you MUST call dequeueReusableCellWithIdentifier, NOT
// dequeueReusableCellWithIdentifier:atIndexPath in your cellForRow:atIndexPath method.
// Otherwise you will crash. Again - this is a HACK and not good iOS dev.
func tableView(tableView: UITableView, heightForRowAtIndexPath indexPath: NSIndexPath) -> CGFloat {
let contentView: UIView = tableView.dataSource!.tableView(tableView, cellForRowAtIndexPath: indexPath)