Skip to content

Instantly share code, notes, and snippets.

View brenthargrave's full-sized avatar

Brent Hargrave brenthargrave

View GitHub Profile
@brenthargrave
brenthargrave / README.md
Created April 2, 2018 12:43 — forked from JamesMessinger/README.md
VSCode GitHub Markdown Theme

GitHub Markdown Theme for Visual Studio Code

This CSS stylesheet allows you to preview markdown files in VSCode using GitHub's mardown theme. This CSS was taken directly from the official GitHub Markdown repo. I replaced their top-level .markdown-body class with the body tag so it would work in VSCode, and added styling for the html tag to match GitHub's fixed-width container.

Instructions

  1. Copy the CSS file to your computer
    Copy the github-markdown.css file below to your computer. You can put it anywhere you want, but I chose to put it in the same folder as my VSCode settings file.

  2. Edit your VSCode settings
    If you want to use this theme for all of your projects, then edit your User Settings file. If you just want to use this them

@brenthargrave
brenthargrave / NSManagedObjectWithTimestamps.h
Created March 5, 2012 01:28 — forked from mikker/NSManagedObjectWithTimestamps.h
NSManagedObject with Rails-ish timestamps
//
// NSManagedObjectWithTimestamps.h
// Brainbow Apps, 2011
//
#import <Foundation/Foundation.h>
#import <CoreData/CoreData.h>
@interface NSManagedObjectWithTimestamps : NSManagedObject