This has been written with the latest version of Python 2 in mind (currently 2.7.9), and while the general premise holds true for
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
#!/bin/bash | |
# simple script to download weather data from ncdc | |
# for use with Hadoop: The Definitive guide by Tom White | |
# script downloads all files for each year, | |
# combines into one gzipped file and saves in the DATA_FOLDER directory | |
#FTP address | |
FTP_HOSTNAME="ftp.ncei.noaa.gov" | |
FTP_PATH="/pub/data/noaa/" |
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
var getTableDataAJAX = function() { | |
var getTableData = new XMLHttpRequest(); | |
getTableData.onreadystatechange = function() { | |
if(getTableData.readyState === 4) { | |
var tableInfo = JSON.parse(getTableData.responseText); | |
var tableHeading = tableInfo.tableHeading; | |
var tableCellsPets = tableInfo.tableCellsPets; | |
var tableCellsPeople = tableInfo.tableCellsPeople; |
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
// Base Colors | |
$green: #1aff1a; | |
$black: #1a1a1a; | |
$grey: #cccccc; | |
$yellow: #ffff33; | |
//color palette | |
$palettes: ( | |
green: ( | |
light : lighten($green, 10%), |