Skip to content

Instantly share code, notes, and snippets.

View urbo425's full-sized avatar

Todd Urbanowicz urbo425

  • Credit Mail Experts
  • Allen Park, MI
View GitHub Profile
@urbo425
urbo425 / babysitter.md
Created September 24, 2019 20:20
Baby Sitter Kata

Babysitter Kata

Background

This kata simulates a babysitter working and getting paid for one night. The rules are pretty straight forward.

Feature

As a babysitter
In order to get paid for 1 night of work
I want to calculate my nightly charge

Keybase proof

I hereby claim:

  • I am urbo425 on github.
  • I am urbo425 (https://keybase.io/urbo425) on keybase.
  • I have a public key ASDQrvy-tGCYNOOEf0YN2ObkxfDGWy-hwboAbFXyySfYwQo

To claim this, I am signing this object:

@urbo425
urbo425 / .gitconfig
Last active June 11, 2020 21:37
gitconfig
[alias]
aa = add --all
br = branch
cl = clone
cls = clone --recurse-submodules
co = checkout
cob = checkout -b
ci = commit
cim = commit -m
lg = log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit
@urbo425
urbo425 / Sencha Training Notes
Last active April 29, 2016 15:42
Notes from Sencha Theme Training
sencha web start
sencha web -p 8000 start
# same as "sencha app watch" but doesn't constanty run
Application.js
# launch: function ()
## used to run multiple apps or other function
sencha app refresh
# Apps.JSON changes
# Python Web Server (run in any directory)
python -m SimpleHTTPServer 8000
SELECT c.dealer_id, c.customer_number, c.mail_date, dtfn.website,
(CASE WHEN (dtfn.toll_free_number IS NULL) THEN 'number' ELSE dtfn.toll_free_number END) AS toll_free_number,
(CASE WHEN (c.mail_type = 'FFC7BK') THEN 'Filed_BK'
WHEN (c.mail_type IN ('C','T','T2') AND c.credit_bureau = 'tu') THEN 'gba'
WHEN (c.mail_type IN ('C','T','T2') AND c.credit_bureau = 'eq') THEN 'mda'
WHEN (c.mail_type = 'OC13BK') THEN 'open_chap_13'
WHEN (c.mail_type IN ('DC7BK','FDC7BK')) THEN 'discharged_bk'
END) AS letter_type,
dc.letter_head
FROM customers c
@urbo425
urbo425 / 0_reuse_code.js
Last active September 11, 2015 16:03
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
@urbo425
urbo425 / config.js
Last active August 29, 2015 14:24
IRC Bot
{
channels: ["#SomeChannel"],
server: "irc.freenode.net",
botName: "BroBot",
ops:[]
}