This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
defmodule Cards do | |
@moduledoc """ | |
Provides methods for creating and handling a deck of cards. | |
""" | |
@doc """ | |
Returns a list of strings representing a deck of playing cards | |
""" | |
def create_deck do | |
values = ["Ace", "Two", "Three", "Four", "Five"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$temp = function ($object) { //Test Object | |
if (!is_object($object)) { | |
throw new \Exception("This is not a Object"); | |
} | |
if (class_exists(get_class($object), true)) echo "<pre>CLASS NAME = " . get_class($object); | |
$reflection = new \ReflectionClass(get_class($object)); | |
echo "<br />"; | |
echo $reflection->getDocComment(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<form action="[INSERT LSS WHITE LABEL DOMAIN HERE]" method="GET" id="widget"> | |
<input type="hidden" id="page" name="page" value="site/widget/select-business"> | |
<input type="text" id="search" name="search" placeholder="Business Name and Zipcode"> | |
<input type="email" id="email" name="email" placeholder="Enter Business Email"> | |
<input type="submit" value="submit"> | |
</form> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// main.c | |
// help | |
// | |
// Created by Jacob Henke on 2/3/16. | |
// Copyright © 2016 Jacob Henke. All rights reserved. | |
// | |
#include <stdio.h> | |
#include <math.h> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Mac OSX | |
# | |
# Sublime | |
export EDITOR="subl -w" | |
# Colorful BASH in OSX | |
# http://stackoverflow.com/questions/1550288/mac-os-x-terminal-colors | |
export CLICOLOR=1 |