Skip to content

Instantly share code, notes, and snippets.

@jashenson
jashenson / JSTableWithFixedHeaderViewController.m
Created November 27, 2013 23:39
Custom fixed UITableView header
// Key sections of code for this implementation are placed below
@interface JSTableWithFixedHeaderViewController ()
@property (strong, nonatomic) UIView *fixedHeaderView;
@end
@implementation JSTableWithFixedHeaderViewController
@jashenson
jashenson / gist:4599170
Last active December 11, 2015 12:09
Beautify your Gmail header by removing the top navigation bar and the associated dark gray and light gray bands. Keep only what you need and your focus on your inbox, not the page header. Use with your favorite userstyles plugin for your browser of choice. Just be sure to apply these styles to the domain: "https://mail.google.com*"
#gbz, #gbx1, #gbx3 { visibility: hidden !important; }
#gbz { opacity: 0 !important; -webkit-transition: opacity 0.15s linear; }
#gbz:hover { opacity: 1 !important; }
#gbz .gbzt { font-weight: normal; color: #88 !important; }
#gbz .gbzt:hover { color: black !important; }
#gbz .gbz0l .gbts { color: #888 !important; font-weight: normal; }
#gb.gbem { height: 75px !important; }
#gb.gbes { height: 52px !important; }
#gb #gbq, #gb #gbu { top: 8px !important; }