Skip to content

Instantly share code, notes, and snippets.

View joshuapekera's full-sized avatar

Joshua Pekera joshuapekera

View GitHub Profile
joshuapekera /
Created June 12, 2013 08:49
Gitflow Terminal Commands



To initialize a new repo with the basic branch structure, use:

git flow init [-d]

This will then interactively prompt you with some questions on which branches you would like to use as development and production branches, and how you


Key/Command Description
Tab Auto-complete files and folder names
Ctrl + A Go to the beginning of the line you are currently typing on
Ctrl + E Go to the end of the line you are currently typing on
Ctrl + U Clear the line before the cursor
Ctrl + K Clear the line after the cursor
Ctrl + W Delete the word before the cursor
Ctrl + T Swap the last two characters before the cursor
joshuapekera / markdown
Created June 7, 2013 16:30
Markdown Cheat Sheet
This is intended as a quick reference and showcase. For more complete info, see [John Gruber's original spec]( and the [Github-flavored Markdown info page](
This cheatsheet is specifically *Markdown Here's* version of Github-flavored Markdown. This differs slightly in styling and syntax from what Github uses, so what you see below might vary a little from what you get in a *Markdown Here* email, but it should be pretty close.
You can play around with Markdown on our [live demo page](
##### Table of Contents
joshuapekera /
Created June 28, 2014 21:09
Git-Flow Cheat Sheet
joshuapekera / fonts.less
Created October 31, 2012 18:26
Proxima Nova Font Face
/* Typekit delayed loading of Ansyc Fonts */
.wf-loading h1, .wf-loading h2, .wf-loading h3, .wf-loading p, .wf-loading a { visibility: hidden; }
/* Font-Face */
@font-face {
font-family: @sansFontFamily;
src: url(../fonts/proxima-nova/proximanova-regular-webfont.eot?1307578394);
src: url('../fonts/proxima-nova/proximanova-regular-webfont.eot?iefix') format('eot'),url(../fonts/proxima-nova/proximanova-regular-webfont.woff?1307578394) format('woff'),url(../fonts/proxima-nova/proximanova-regular-webfont.ttf?1307578394) format('truetype'),url('../fonts/proxima-nova/proximanova-regular-webfont.svg#webfont2rpW2ohz') format('svg')


A collection of Git extensions to provide high-level repository operations for Vincent Driessen's branching model.

Getting started

joshuapekera / ipadmini.css
Created October 27, 2012 13:55
iPad Mini Media Query
<link type="text/css" rel="stylesheet" media="and (min-device-width: 768px) and (max-device-width: 10248px)" href="/iPadMini.css" />
joshuapekera / Apple_mobile_device_types.txt
Created November 18, 2022 17:41 — forked from adamawolf/Apple_mobile_device_types.txt
List of Apple's mobile device codes types a.k.a. machine ids (e.g. `iPhone1,1`, `Watch1,1`, etc.) and their matching product names
i386 : iPhone Simulator
x86_64 : iPhone Simulator
arm64 : iPhone Simulator
iPhone1,1 : iPhone
iPhone1,2 : iPhone 3G
iPhone2,1 : iPhone 3GS
iPhone3,1 : iPhone 4
iPhone3,2 : iPhone 4 GSM Rev A
iPhone3,3 : iPhone 4 CDMA
iPhone4,1 : iPhone 4S
joshuapekera / Recess
Last active August 30, 2022 10:23
The Recess property order for CSS and browser prefixed properties.

Browser Prefix Order

.vendorPrefixes {
joshuapekera / Batch File Rename.scpt
Created March 10, 2022 04:26 — forked from oliveratgithub/Batch File Rename.scpt
Simple AppleScript to easily batch rename multiple files sequentially. GUI asks user to select files and input a name before renaming.
-- This code comes from
-- Open in AppleScript Editor and save as Application
-- ------------------------------------------------------------
--this is required to break the filename into pieces (separate name and extension)
set text item delimiters to "."
tell application "Finder"
set all_files to every item of (choose file with prompt "Choose the Files you'd like to rename:" with multiple selections allowed) as list
display dialog "New file name:" default answer ""
set new_name to text returned of result
--now we start looping through all selected files. 'index' is our counter that we initially set to 1 and then count up with every file.