This file contains hidden or 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
module ApplicationHelper | |
$component_symbol_hash = { | |
'1' => "fa-check-square", | |
'2' => "fa-list", | |
'3' => "fa-cogs" | |
} | |
# Determine if subcomponent | |
def containsLetter(string_value) |
This file contains hidden or 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
<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> |
This file contains hidden or 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
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. |
OlderNewer