Skip to content

Instantly share code, notes, and snippets.

View akmurray's full-sized avatar

Aaron Murray akmurray

View GitHub Profile
@akmurray
akmurray / rails-developer.txt
Created June 15, 2017 18:26
Personal Wine: Ruby on Rails Developer
Personal Wine is a small, fast-growing wine e-commerce shop located in the heart of downtown Austin. We are looking for a Ruby on Rails developer who is looking to join a dynamic team of folks on a mission to help people give incredible gifts.
What you'll do
You’ll work on everything—from our slick e-commerce site to our internal systems that help automate our manufacturing processes, and even improving how we use tools like Slack and Trello. You’ll get full-stack exposure and power to affect change within our company.
Though technology runs in the DNA of the company (the CEO worked as a developer before moving into the business side of things) you’ll be heading up the technology and development efforts. Your efforts will extend beyond writing code to figuring out how to leverage technology to improve an organization.
Who you are
You are someone who enjoys taking ownership of the work they do, and solving problems not just on the computer screen but in the physical world as well. You are fun to work with
@akmurray
akmurray / css3-logo-cube.js
Created October 1, 2012 13:56
Javascript required to rotate the css3 logo cube
//NOTE: [element].removeClassName() and [element].addClassName() are not built-in methods, but IMHO they should be.
//Those are defined using unobtrusive javascript if the browser doesn't provide the. See code here: https://github.com/akmurray/aaronkmurray-blog/blob/master/js/prototype-extensions.js
//make a function called "init" that we'll run after the page finishes loading
var init = function() {
///<summary>Code to be run once the page finishes loading html and inline/sync javascript</summary>
///<returns>undefined</returns>
//rotate the logo cube...
var logoRotate = function() {
@akmurray
akmurray / css3-logo-cube.html
Created October 1, 2012 13:48
Snippet of HTML required to make a rotating CSS3 cube
<div id='logo-cube' class='show-side-1'>
<figure class='side-2'><img src='img/blog/logo/logo-2-128.png' class='logo'></figure>
<figure class='side-3'><img src='img/blog/logo/logo-3-128.png' class='logo'></figure>
<figure class='side-4'><img src='img/blog/logo/logo-4-128.png' class='logo'></figure>
<figure class='side-5'><img src='img/blog/logo/logo-5-128.png' class='logo'></figure>
<figure class='side-6'><img src='img/blog/logo/logo-6-128.png' class='logo'></figure>
<figure class='side-1'><img src='img/blog/logo/logo-1-128.png' class='logo'></figure>
</div>
REM Make thumbnails if necessary
FOR /F %%A IN ('dir /b "../../aaronkmurray-blog/img/blog/screenshots/" ^|findstr /liv "thumb"') DO (
REM "SETLOCAL ENABLEDELAYEDEXPANSION" so that we can update variables inside a loop. Those variables are wrapped in "!" instead of "%"
SETLOCAL ENABLEDELAYEDEXPANSION
REM variables
SET thumbName=%%~nA-thumb-100.png
SET thumbPath=../../aaronkmurray-blog/img/blog/screenshots/
SET thumbPathAndName=!thumbPath!!thumbName!
@akmurray
akmurray / web.config-aaronkmurray.com
Created September 10, 2012 23:20
web.config to enable static file compression and remove unwanted HTTP response headers
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<system.webServer>
<staticContent>
<remove fileExtension=".js" />
<mimeMap fileExtension=".js" mimeType="text/javascript" />
</staticContent>
<httpCompression directory="%SystemDrive%\inetpub\temp\IIS Temporary Compressed Files">
<scheme name="gzip" dll="%Windir%\system32\inetsrv\gzip.dll" />
<dynamicTypes>
@akmurray
akmurray / quantcast-aaronkmurray.com
Created September 8, 2012 18:59
Quantcast tag for aaronkmurray.com
<!-- Quantcast Tag -->
<script type="text/javascript">
var _qevents = _qevents || [];
(function() {
var elem = document.createElement('script');
elem.src = (document.location.protocol == "https:" ? "https://secure" : "http://edge") + ".quantserve.com/quant.js";
elem.async = true;
elem.type = "text/javascript";
var scpt = document.getElementsByTagName('script')[0];