Skip to content

Instantly share code, notes, and snippets.

View roachhd's full-sized avatar

Lachlan Seward roachhd

View GitHub Profile
@roachhd
roachhd / README.md
Created December 23, 2014 06:10
Git Wedding

In the repository of lives, these two branches are now merged.

Sometimes there will be conflicts, but don't panic, read the source and find a way to solve them.

The husband shall not run git blame.

And when the wife sends pull requests, merge them quickly.

If there's ever any problems, don't hesitate to open an issue, be open and deal with them; it is an important thing as you travel through this long trip called life together.

@roachhd
roachhd / README.md
Last active August 29, 2015 14:11
Best Brightest Beet Dip Recipie

Sugar and Charm

Beetroot Dip

If you think you don't like beets, you haven't had them like this! The vibrant color alone makes you want dive in with a delicious piece of toasted pita. I know I don't share a lot of savory recipes, but I'm going to start sharing some of my favorite party recipes that are great for entertaining! This dip is made with roasted beets, yogurt, olive oil and lots of garlic. It's topped with hazelnuts, feta and some green onions. The lively shade of dark pink color will entice the worst of the worst beet haters! I think I'm going to serve this as an appetizer for Thanksgiving.


Ingredients

dip

@roachhd
roachhd / README.md
Created December 22, 2014 21:34
Syntax highlighting in Jekyll

1. Highlighting the Jekyll way.

This method uses Liquid tags and works when published to Github Pages. It doesn't work in Github's viewer when browsing the repo.

{{ "{% highlight html linenos "}}%}
<div>this is some preformatted code</div>
{{ "{% endhighlight "}}%}

2. Highlighting the Markdown way

@roachhd
roachhd / README.md
Created December 22, 2014 20:57
Random

jekyll

@roachhd
roachhd / README.md
Last active October 16, 2024 09:04
HTaccess cheatsheet

htaccess Cheatsheet

Here is a simple cheatsheet for the .htaccess file:

Enable Directory Browsing

Options +Indexes
## block a few types of files from showing
IndexIgnore *.wmv *.mp4 *.avi
@roachhd
roachhd / PART-ONE.md
Last active December 12, 2024 23:02
Trello API - the full docs.

Getting Started — Trello documentation

Introduction

Trello provides a simple [RESTful][1] web API where each type of resource (e.g. a card, a board, or a member) has a URI that you can interact with.

For example, if you'd like to use the API to get information about the [Trello Development board][2], you'd use the following URI:

https://api.trello.com/1/boards/4d5ea62fd76aa1136000000c
@roachhd
roachhd / README.md
Last active August 29, 2015 14:11
7 grammar rules you really should pay attention to

7 grammar rules you really should pay attention to

I recently read [an article][1] in TheWeek.com about bogus grammar "rules" that aren't worth your time. However, there are still plenty of legitimate rules that you should be aware of. Not following them doesn't make you a bad person or even (necessarily) a bad writer. I'm sure that all of them were broken at one point or another by Henry James, Henry Adams, or some other major author named Henry. Moreover, grammar is one of the least pressing problems when it comes to the poor state of writing today.

Nevertheless, anyone who wants to write in a public setting has to be aware of grammar. (And I'm concerned with writing here; talking is a whole different ballgame.) If you make these errors, you're likely to be judged harshly by an editor you want to publish your work; an executive who, you hope, will be impressed enough by your cover letter to hire you; or a reader you want to be persuaded by your argument. In each case, there's a pretty easy workar

@roachhd
roachhd / README.md
Last active June 28, 2025 03:28
Basics of BrainFuck

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

BrainFuck Programming Tutorial by: Katie

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

INTRODUCTION

@roachhd
roachhd / index.md
Created December 21, 2014 08:08
More styles to markdownify your HTML

Let's make the Web prettier.

Markdown.css is better default styling for your Markdown files. It's heavily inspired by the Space WordPress theme. This page is itself a Markdown file using the markdown.css stylesheet. View the source code here.

Sample File

@roachhd
roachhd / index.html
Created December 21, 2014 07:51
Markdown style, so your HTML looks like markdown!
<link href="markdown.css" rel="stylesheet"></link>
<h1>A First Level Header</h1>
<h2>A Second Level Header</h2>
<h3>A Third Level Header</h3>