Skip to content

Instantly share code, notes, and snippets.

View bumble-bee-chuna's full-sized avatar

Bee bumble-bee-chuna

  • Anchorage, Alaska
View GitHub Profile
module ApplicationHelper
$component_symbol_hash = {
'1' => "fa-check-square",
'2' => "fa-list",
'3' => "fa-cogs"
}
# Determine if subcomponent
def containsLetter(string_value)
<li class="">
<a href="#">
<i class="fa fa-check-square"></i>
<span class="nav-label">1, 1</span>
<span class="fa arrow"></span>
</a>
<ul class="nav nav-second-level collapse" style="height: 0px;">
<li class=""><a href="#">1-subitem1, 1A</a></li>
<li class=""><a href="#">1-subitem2, 1B</a></li>
</ul>
import numpy
from pandas import DataFrame, Series
def points():
'''
Imagine a point system in which each country is awarded 4 points for each
gold medal, 2 points for each silver medal, and one point for each
bronze medal.