Skip to content

Instantly share code, notes, and snippets.

Avatar

Austin Kettner austinkettner

View GitHub Profile
@austinkettner
austinkettner / combine-files.sh
Last active Feb 27, 2018
Combine All Files in Folders to one folder
View combine-files.sh
# Combine All Files in Folders to one folder**
find . -type f -print0 | xargs -0 -I file mv file .
View gist:9fcd63fd23c96ec963a8
29.11.2015
2015-11-29 00:00:00 +0000
November 28, 2015
=== PHOTO DATES ===
2015-11-29 05:13:21 +0000
2015-11-29 05:13:10 +0000
2015-11-29 05:13:09 +0000
2015-11-29 05:13:08 +0000
2015-11-29 05:13:08 +0000
2015-11-29 05:11:20 +0000
View git-commit-message.md

Git Commit Message Model

Git Commit Messages Summary

  • Capitalized, short (50 chars or less)
  • DO NOT reference Github Issues via Resolve #24, etc. This is Github specific functionality and clutters the log with non-referenceable data.
  • Always use present-tense, imperative-style writing
  • Avoid commits covering multiple changes, always commit frequently to cover specific changes
  • In any advanced changes ALWAYS include a detailed git commit message in the description/body (explaining the short summary).

Git Commit Detailed Explanation Text

@austinkettner
austinkettner / OpenMarq Item HTML Generation Example
Created Oct 28, 2014
Example of the HTML generated per item when browsing OpenMarq.com
View OpenMarq Item HTML Generation Example
<a class="item btn-icon" href="/Item/Info/Baseball-Tickets-Nationals-at-half-price/3923" data-id="3923" title="Baseball Tickets (Nationals) at half price">
<div class="box">
<div class="fav-box"><span class="op-login-active icon icon-fav" data-id="3923"></span></div>
<div class="preview">
<img src="http://static.openmarq.com/up/2664c0ccb9b34f39894f013621591202/b9c52debf312443a9e3bf7751c3544ca.jpg" alt="Baseball Tickets (Nationals) at half price">
</div>
<div class="info">
<h3>Baseball Tickets (Nationals) at half price</h3>
View gist:7407164
module Sparq::Mail::Formats
class Welcome
message = File.read("layout.slim")
end
class VerifyEmail
end
@austinkettner
austinkettner / gist:5387798
Created Apr 15, 2013
Code snippet for a dynamically generated work page
View gist:5387798
---
title: Work
layout: page
isPage: true
pageOrder: 2
---
h2 Work
p A full log containing all my work is coming soon!
You can’t perform that action at this time.