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
<ul> | |
<li ng-repeat="marketCity in marketCities"> | |
<h2>{{marketCity.label}}</h2> | |
<ul> | |
<li ng-repeat="station in marketCity.stations"> | |
<div class="StationInfo"> | |
<div class="label"> | |
{{station.orgDisplayName}} | |
</div> | |
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
// Define the unique market cities | |
$scope.marketCities = []; | |
for (var i = 0; i < data.query.results.station.length; i++){ | |
// if it isn't already there, add it | |
if(i !== 0 && data.query.results.station[i].marketCity !== data.query.results.station[i-1].marketCity){ | |
$scope.marketCities.push({ label: data.query.results.station[i].marketCity, stations: [data.query.results.station[i]]}); | |
}else if(i == 0){ | |
$scope.marketCities.push({ label: data.query.results.station[i].marketCity, stations: [data.query.results.station[i]]}); | |
}else if(data.query.results.station[i].id !== data.query.results.station[i-1].id){ | |
// is the market already there? well, just add the station then. |
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
<!-- | |
Joe Steinbring | |
http://steinbring.net | |
--> | |
<!DOCTYPE html> | |
<html> | |
<head> | |
<title></title> | |
</head> |
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
<!-- | |
Joe Steinbring | |
http://steinbring.net | |
/////////////////////// | |
This is part 2. To see the original version, check out https://gist.github.com/steinbring/368a9e693c8c765125df. | |
--> | |
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Find Me!</title> |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Find Me!</title> | |
</head> | |
<body> | |
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script> | |
<script type="text/javascript"> |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<title>Pocket Joe</title> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<link rel="stylesheet" href="css/jquery.mobile-1.4.0.min.css"> | |
<link rel="stylesheet" href="css/main.css"> | |
<script src="js/jquery.js"></script> | |
<script src="js/jquery.mobile-1.4.0.min.js"></script> |
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
<!DOCTYPE html> | |
<html lang="en-US"> | |
<head> | |
<title>Pocket Joe</title> | |
<!-- jQuery CDN --> | |
<script src="http://code.jquery.com/jquery-1.9.1.js"></script> | |
<!-- jQuery UI CDN --> | |
<script src="http://code.jquery.com/ui/1.10.4/jquery-ui.js"></script> | |
<!-- A jQuery UI CSS --> | |
<link rel="stylesheet" href="http://code.jquery.com/ui/1.10.4/themes/smoothness/jquery-ui.css"> |
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 method="post" enctype="multipart/form-data"> | |
<input name="theFile" type="file"> | |
<input name="submitButton" name="submit" type="submit" value="Upload"> | |
</form> | |
<cfif isDefined("form.theFile")> | |
<!--- Is there a file? Upload it to the files folder. ---> | |
<cffile action="upload" | |
filefield="theFile" | |
accept="application/vnd.openxmlformats-officedocument.wordprocessingml.document" |
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
<!-- | |
Joe Steinbring | |
http://steinbring.net | |
11/10/2013 | |
--> | |
<html> | |
<head> | |
<title>Decimal to Binary Converter</title> | |
</head> | |
<body> |
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
<cfsilent> | |
<cfif isDefined("url.language")> | |
<cfquery name="VocabQuery" datasource="erp"> | |
select vcName as name, | |
vcValue as value, | |
vcLanguage as language | |
from tblVocab | |
where vcLanguage = <cfqueryparam cfsqltype="cf_sql_varchar" value="#url.language#"> | |
</cfquery> | |
<cfset variables.vocabulary = StructNew()> |