Skip to content

Instantly share code, notes, and snippets.


Joey Bodnar JoeyBodnar

  • Bangkok, Thailand
View GitHub Profile
adison / outlineview.m
Last active Oct 3, 2020
make source list style nsoutlineview programmatically
View outlineview.m
NSScrollView* container = [[NSScrollView alloc] initWithFrame:CGRectMake(0, 0, 200, 100)];
container.hasVerticalScroller = YES;
container.hasHorizontalScroller = YES;
container.wantsLayer = YES;
container.identifier = [@(LOGVIEW_OFFSET + i) stringValue];
NSClipView* clipview = [[NSClipView alloc] init];
clipview.autoresizesSubviews = YES;
clipview.autoresizingMask = NSViewWidthSizable | NSViewHeightSizable;
petehouston / markup
Created Oct 17, 2014
[Bootstrap] Text overlay center inside the image
View markup
<div class="row" id="box-search">
<div class="thumbnail text-center">
<img src="img/cafe.jpg" alt="" class="img-responsive">
<div class="caption">
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Ab, quisquam?</p>
You can’t perform that action at this time.