Skip to content

Instantly share code, notes, and snippets.

@scottbaggett
Created December 8, 2016 21:34
Show Gist options
  • Save scottbaggett/e342c63d2bc21104aa378c63c533b9bb to your computer and use it in GitHub Desktop.
Save scottbaggett/e342c63d2bc21104aa378c63c533b9bb to your computer and use it in GitHub Desktop.
{
"title": "Foo Article Title",
"author": "Will Prater",
"publishedOn": "11/24/2016",
"categories": [
"foo",
"bar"
],
"excerpt": "Crucifix fap tofu four loko man braid. Woke nostrud occupy reprehenderit pitchfork tousled.",
"modules": [
{
"type": "hero-image",
"category": "experiences",
"imageUrl": "car.jpg",
"credit": "Laurent Burst",
"title": "Since we want to make the modification to each file a commit by itself, we need to peel off the \"Add doubles\" commit (leaving the working directory with the results of the commit in it).",
"text": [
"Special Warning! We use git reset --mixed HEAD^ a lot in this document to peel off the last commit so that you can split the commit. However, please remember that if you added a file during the commit you just removed, it will NOT be left as staged so a git commit -am \"foo\" will not cause that file to be re-added. Similarly, if a file was deleted in the commit you just peeled off, the deletion will also not be staged. In both cases, you would need to manually git add filename or (more dangerously and only when you know what the status is) git add -A .. You should always inspect git status after your reset and when you think you are done to validate that the system is in the state you think it is.",
"This time, investigation shows that we have a bugfix to prior commits and new features intermingled in the same commit."
]
},
{
"type": "text-carousel",
"items": [
{
"title": "Ramps green juice portland",
"text": "Dolor dolore asymmetrical, pinterest shoreditch eiusmod man bun la croix in humblebrag"
},
{
"title": "Cold-pressed authentic ea commodo",
"text": "Activated charcoal hashtag direct trade squid quinoa. 3 wolf moon salvia esse, occupy blog mlkshk ethical"
},
{
"title": "Ramps green juice portland",
"text": "Et cardigan pabst, enamel pin fanny pack reprehenderit williamsburg mustache ut ad nihil meggings squid."
}
]
},
{
"type": "photo-caption-vertical",
"text": [
"Crucifix fap tofu four loko man braid. Woke nostrud occupy reprehenderit pitchfork tousled. Flexitarian knausgaard anim cornhole craft beer, cliche laborum dolore artisan asymmetrical. Dolor dolore asymmetrical, pinterest shoreditch eiusmod man bun la croix in humblebrag typewriter. Ramps scenester chartreuse adipisicing pug, disrupt nesciunt activated charcoal health goth venmo chambray delectus fingerstache live-edge artisan. Ramps green juice portland, qui put a bird on it deep v salvia. Jianbing af franzen fashion axe sustainable sriracha bitters.",
"Tofu nesciunt chia, cold-pressed authentic ea commodo put a bird on it wayfarers placeat polaroid sustainable semiotics roof party. Ut pinterest drinking vinegar.",
"Et cardigan pabst, enamel pin fanny pack reprehenderit williamsburg mustache ut ad nihil meggings squid. Listicle tilde sed laborum. Four loko quis pinterest, meggings bicycle rights wolf dreamcatcher laborum proident activated charcoal hashtag direct trade squid quinoa. 3 wolf moon salvia esse, occupy blog mlkshk ethical laborum master cleanse flexitarian."
],
"photos": [
{
"path": "Screen Shot 2016-11-28 at 12.16.38 PM.png",
"caption": "if a file was deleted in the commit you just peeled off, the deletion will also not be staged"
},
{
"path": "Screen Shot 2016-11-28 at 12.16.42 PM.png",
"caption": "You should always inspect git status after your reset and when you think you are done"
},
{
"path": "Screen Shot 2016-11-28 at 12.16.48 PM.png",
"caption": "This time, investigation shows that we have a bugfix to prior"
}
]
},
{
"type": "text-right-photos",
"text": [
"To anyone other than the researchers at the institute, the result of this phenomenon looks like pure science fiction: when placed above the field of a magnet rail, these cooled magnetic bulks levitate as if weightless.",
"Convinced that it might be possible to build an entirely revolutionary transportation system with the help of superconductors, the former head of the IFW, Professor Dr. Ludwig Schulz, called to life a research project undertaken back in 2002. The principle had already been used in toy train sets since the 1990s. Why not apply it to a real-life railway system? Schulz reasoned."
],
"photos": [
{
"path": "pic-04-small.jpg",
"caption": "All aboard the SupraTrans II: the 400-kilogram train can levitate about 10 millimeters above its oval track. (Dr. Oliver de Haas boards the SupraTrans II)"
},
{
"path": "pic-05-small.jpg",
"caption": "if a file was deleted in the commit you just peeled off, the deletion will also not be staged"
}
]
},
{
"type": "quote",
"text": "To anyone other than the researchers at the institute, the result of superconductivity looks like pure science fiction."
},
{
"type": "quote",
"title": "Foo Article Title",
"text": "To anyone other than the researchers at the institute, the result of superconductivity looks like pure science fiction."
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment