Skip to content

Instantly share code, notes, and snippets.

View roachhd's full-sized avatar

Lachlan Seward roachhd

View GitHub Profile
@roachhd
roachhd / index.html
Created December 29, 2014 05:58
Bootstrap: Android select menu fix // source http://jsbin.com/pakovi
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="Bootstrap: Android select menu fix">
<link href="http://maxcdn.bootstrapcdn.com/bootstrap/latest/css/bootstrap.css" rel="stylesheet" type="text/css">
<title>JS Bin</title>
<style id="jsbin-css">
body {
@roachhd
roachhd / README.md
Created December 28, 2014 03:52
Various ways to get started with Bootstrap 👣

Source

Getting started · Bootstrap

Bootstrap (currently v3.3.1) has a few easy ways to quickly get started, each one appealing to a different skill level and use case. Read through to see what suits your particular needs.

Bootstrap

@roachhd
roachhd / README.md
Last active August 3, 2020 11:18
a quick-and-dirty guide to Vim.

a quick-and-dirty guide to Vim

![][1]

In the world of text editors, there's a plethora of options out there. If you've ever Googled "how to edit HTML sites" or some such, you know what we mean. Allow us, then, to introduce you to VIM, a free website editor that offers many of the same features as Adobe Dreamweaver, and runs on just about every desktop platform. Specifically, it comes by default on the vast majority of Linux distributions, OS X and commercial Unix systems. (It's available to install on Windows, too.) And did we mention it's free? That command line UI isn't necessarily self-explanatory, though, so join us after the break for a quick crash course to help you get started.

Getting started

If you're running OS X or Linux, start out by opening a terminal. Now type "vim" et voilà: you're using VIM and you didn't even install it. Using Windows? Head over [here][2] and grab the binaries for Windows. Double-click the installer and you'll have VIM on Windows in no time.

@roachhd
roachhd / README.md
Created December 26, 2014 16:32
Print these pics for maddy

baby panda

@roachhd
roachhd / README.md
Last active April 25, 2022 19:34
Pygments syntax highlighting supported languages

Supported languages¶

Pygments supports an ever-growing range of languages. Watch this space...

Programming languages¶

  • ActionScript
  • Ada
  • ANTLR
  • AppleScript
@roachhd
roachhd / README.md
Last active August 29, 2015 14:12
text expansion in windows

![How to Use Text Expansion to Save Yourself Hours of Typing Every Week][46]

In a regular day, most of us type the same things over and over again, wasting an enormous amount of time in the process. Why not let your computer do some of that work for you? That's where text expansion comes in.

What Is Text Expansion?

Text expansion utilities monitor your typing and trigger rules when you type a predefined phrase or key combination. When you type one of those pre-defined phrases, your text expansion utility removes your short version and replaces it with a longer phrase without requiring you to type the entire thing—saving you loads of keystrokes and time. Watch the video above for a few examples of text replacement in action.

For instance, you could create a text expansion rule that triggers anytime you type sig and hit the space bar, and fills in your entire email signature line—or you could set a trigger to fill in a canned email response, or just a common word or phrase that would take a long time

@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 / PART-ONE.md
Last active January 22, 2024 12:08
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
Created December 20, 2014 15:29
vim Cheatsheet

Vim Cheat Sheet

Movement

By "Word"

  • w forward to beginning of the next word
  • W forward to beginning of the next word (whitespace separates)
  • e forward to end of next word
  • E forward to end of next word (whitespace separates)
  • b back to beginning of the previous word
@roachhd
roachhd / README.md
Created December 18, 2014 03:27
Semantic Versioning - a little intro.
Semantic Versioning.

A normal version number MUST take the form X.Y.Z where X, Y, and Z are non-negative integers, and MUST NOT contain leading zeroes. X is the major version, Y is the minor version, and Z is the patch version. Each element MUST increase numerically. For instance: 1.9.0 -&gt; 1.10.0 -&gt; 1.11.0.