Using data from the USGS Instantaneous Values Web Service.
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
package main | |
import ( | |
"fmt" | |
"reflect" | |
) | |
// Name of the struct tag used in examples | |
const tagName = "validate" |
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
// a mock would look like... | |
let daily = [ | |
{ | |
//.... | |
}, | |
{ | |
name: `2017-01-01.md`, | |
path: `/User/brevity/code/notes/2017-01-01.md`, | |
stat: { | |
blocks: 8 |
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/sh | |
# Configure homebrew permissions to allow multiple users on MAC OSX. | |
# Any user from the admin group will be able to manage the homebrew and cask installation on the machine. | |
# allow admins to manage homebrew's local install directory | |
sudo chgrp -R admin /usr/local | |
sudo chmod -R g+w /usr/local | |
# allow admins to homebrew's local cache of formulae and source files | |
chgrp -R admin /Library/Caches/Homebrew |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>Ansi 0 Color</key> | |
<dict> | |
<key>Blue Component</key> | |
<real>0.19370138645172119</real> | |
<key>Green Component</key> | |
<real>0.15575926005840302</real> |
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
# | |
#bind S source-file ~/.tmux/session1 | |
#bind s source-file ~/.tmux/session2 | |
# improve colors | |
set -g default-terminal 'screen-16color' | |
# renumber windows sequentially after closing any of them | |
# set -g renumber-windows on |
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
/** | |
* a good excuse to play with gists | |
*/ | |
background: #f06; | |
background: linear-gradient(45deg, #f06, yellow); | |
min-height: 100%; |
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
<html> | |
<head profile="http://www.w3.org/1999/xhtml/vocab"> | |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> | |
<link rel="shortcut icon" href="http://ecology-action.org/sites/default/files/favicon.ico" type="image/vnd.microsoft.icon"> | |
<meta name="Generator" content="Drupal 7 (http://drupal.org)"> | |
<link rel="alternate" type="application/rss+xml" title="Front page feed" href="http://ecology-action.org/rss.xml"> | |
<title>Ecology Action of Texas</title> | |
<style type="text/css" media="all">@import url("http://ecology-action.org/modules/system/system.base.css?moam18"); | |
@import url("http://ecology-action.org/modules/system/system.menus.css?moam18"); | |
@import url("http://ecology-action.org/modules/system/system.messages.css?moam18"); |
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
body{ | |
background-color:#afafaf; | |
} |
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
/* http://twitter.github.com/bootstrap/scaffolding.html#responsive */ | |
/* Landscape phones and down */ | |
@media (max-width: 480px) { ... } | |
/* Landscape phone to portrait tablet */ | |
@media (max-width: 768px) { ... } | |
/* Portrait tablet to landscape and desktop */ | |
@media (min-width: 768px) and (max-width: 940px) { ... } |
NewerOlder