Skip to content

Instantly share code, notes, and snippets.

View odderlynat's full-sized avatar

Natalie West odderlynat

  • Dallas, TX
  • 03:17 (UTC -05:00)
View GitHub Profile
@odderlynat
odderlynat / iterm2.md
Created July 17, 2018 19:37 — forked from squarism/iterm2.md
iterm2 cheatsheet

Tabs and Windows

Function Shortcut
Fullscreen + Enter
Previous Tab + Left Arrow
Next Tab + Right Arrow
Go to Tab + Number
Go to Window + Option + Number
Go to Split Pane by Direction + Option + Arrow

My therapist pissed me off a little today. I guess it's been percolating through my head today, but I haven't really put my finger on it until now.

I went in for my normally scheduled appointment, and asked her if I could get a letter for my orchiectomy (they only require this, and this alone). She said no problem, but she doesn't feel comfortable making a /recommendation/. She said she will confirm the diagnosis, and affirm that I'm capable of making the decision, but they don't like recommending anything because of potential "problems".

When I mentioned that studies have shown that 1% or less regret transition, she smiled and said that that's true, but they only hear about that 1%. Then she mentioned something about malpractice suits.

And there's our problem: our medical system is so afraid of the potential of a lawsuit or other problems, that the 99% of us have to jump through lengthy hoops to do what we know we have to do. We're treated as though we have a mental issue, and have to go through months an

NSArray* nib = [[NSBundle mainBundle] loadNibNamed:@"TCSNumberKeyPad" owner:self options:nil];
[[nib objectAtIndex:0] setFrame:CGRectMake(0, 0, 1024, 352)];
self = [nib objectAtIndex:0];
(function(){
var p = Date.prototype;
p.val = 0;
p.add = function(num) {
this.val = num;
return this;
};
p.subtract = function(num) {
@odderlynat
odderlynat / gist:5049539
Last active December 14, 2015 07:19
Working on some ideas for array synatic sugar in Javascript.
(function(){
Array.prototype.first = function() {
return this[0];
};
Array.prototype.last = function() {
return this[this.length - 1];
};
Array.prototype.skip = function(num) {
return this.slice(num,this.length);
};
Math.floor((Math.random()*1000000000) + now.getTime()).toString(36);
@odderlynat
odderlynat / LocationHelper.h
Created October 15, 2012 22:54
LocationHelper
#import <Foundation/Foundation.h>
#import <CoreLocation/CoreLocation.h>
typedef void (^ CallbackBlock)(float, float, NSError*);
@interface LocationHelper : NSObject <CLLocationManagerDelegate>
+ (LocationHelper*) instance;
- (void) getLocation:(CallbackBlock)block;
@end
@odderlynat
odderlynat / gist:2278914
Created April 1, 2012 21:29
MailGuy - popup notifier for mail
import wx
import poplib
import imaplib
import re
import time
import cPickle
import os,sys
import random
import zlib
@odderlynat
odderlynat / gist:1693039
Created January 28, 2012 06:26
Loading a UITableViewCell From a Nib
cell = [[[SearchCellTop alloc] initWithStyle:UITableViewCellStyleDefault reuseIdentifier:cellIdentifier] autorelease];
NSArray* objects = [[NSBundle mainBundle] loadNibNamed:@"SearchCellTop" owner:cell options:nil];
cell = [objects objectAtIndex:0];
@odderlynat
odderlynat / gist:1407428
Created November 30, 2011 00:52
Resizing webview height based on content
- (void)webViewDidFinishLoad:(UIWebView *)webView {
CGFloat contentHeight = [[webView stringByEvaluatingJavaScriptFromString:
@"document.documentElement.scrollHeight"] floatValue];
webView.frame = CGRectMake(webView.frame.origin.x, webView.frame.origin.y,
webView.frame.size.width, contentHeight);