Skip to content

Instantly share code, notes, and snippets.

View codazoda's full-sized avatar

Joel Dare codazoda

View GitHub Profile
@codazoda
codazoda / luhn.js
Created June 8, 2017 23:22 — forked from ShirtlessKirk/luhn.js
Luhn validation algorithm
/**
* Luhn algorithm in JavaScript: validate credit card number supplied as string of numbers
* @author ShirtlessKirk. Copyright (c) 2012.
* @license WTFPL (http://www.wtfpl.net/txt/copying)
*/
var luhnChk = (function (arr) {
return function (ccNum) {
var
len = ccNum.length,
bit = 1,
@codazoda
codazoda / README.md
Created June 27, 2016 16:46 — forked from chrisjacob/README.md
Setup GitHub Pages "gh-pages" branch and "master" branch as subfolders of a parent project folder ("grandmaster").

Intro

Description: Setup GitHub Pages "gh-pages" branch and "master" branch as subfolders of a parent project folder ("grandmaster").

Author: Chris Jacob @_chrisjacob

Tutorial (Gist): https://gist.github.com/833223

The Result

@codazoda
codazoda / bugs
Last active February 3, 2016 17:45
The model drop-down does not populate on stage. When I enter my VIN nothing is in the make drop-down. Here's a
quick video clip of the bug.
https://dl.dropboxusercontent.com/u/58852318/bugs/sell_model_empty.mov
@codazoda
codazoda / build_android_app.md
Last active August 29, 2015 14:19
Building an Android App

Building an Android App

Adding an App Icon

  • Switch to Project view
  • Right click app
  • Select New, Image Asset
  • Select your icon

Switch to Visual Layout Editor

Git Quick Reference

Create a new branch and check it out.

git checkout -b feature_branch_name

Push a new branch to the original server.

git push -u origin feature_branch_name