Skip to content

Instantly share code, notes, and snippets.

View codazoda's full-sized avatar

Joel Dare codazoda

View GitHub Profile

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

@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

@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 / 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 / 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,
<?xml version="1.0" encoding="UTF-8"?><Response><Transfer transferTo="+18014500291"></Transfer></Response>
@codazoda
codazoda / art.js
Last active December 31, 2018 15:56
Splash of Code
// Write code here...
let date = new Date();
let dateString = '';
let name = '';
let opportunityNameField;
dateString = date.getFullYear();
dateString += '-' + (date.getMonth() + 1);
dateString += '-' + date.getDate();
dateString += ' ' + date.getHours();
dateString += ':' + date.getMinutes();
global css html
ff:sans
let width = 0
let length = 0
let depth = 3
tag yard-calc
css .yard-calc
@codazoda
codazoda / gist:dd6352a50272d3f8238aa5d5280eaab2
Last active April 8, 2022 21:03
Cities Within 150 Miles of Roy, UT
Cities within 150 miles of Roy, UT (84067) generated by https://github.com/codazoda/x5
84067 0 Roy, UT 39314
84401 3.28 Ogden, UT 40250
84015 3.59 Clearfield, UT 66410
84405 4.35 Ogden, UT 32516
84056 4.35 Hill Afb, UT 3458
84315 4.61 Hooper, UT 8993
84075 6.46 Syracuse, UT 29411
84041 7.7 Layton, UT 52350