Skip to content

Instantly share code, notes, and snippets.

Matt Price titaniumbones

Block or report user

Report or block titaniumbones

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View cooking-nyt.js
// ==UserScript==
// @name NYT Cooking
// @namespace http://tampermonkey.net/
// @version 0.1
// @description try to take over the world!
// @author You
// @match https://cooking.nytimes.com/*
// @grant none
// @require https://code.jquery.com/jquery-2.1.4.min.js
// @require https://gist.github.com/raw/2625891/waitForKeyElements.js
@titaniumbones
titaniumbones / ox-slack.el
Last active Oct 22, 2018
ox-slack -- slack exporter for emacs org-mode
View ox-slack.el
;;; ox-slack.el --- SLack Exporter for org-mode
;; Copyright (C) 2018 Matt Price
;; Author: Matt Price
;; Keywords: org, slack
;; Modeled on various other derived backends including 'ox-gfm by Lars Trier
;; This file is not part of GNU Emacs.
@titaniumbones
titaniumbones / post-commit.sh
Last active Dec 7, 2017
Post-commit hook to push to gh-pages. Also pushes master to origin. Intended for use in a gitflow worflow, in other cases you might not want ot push master to origin.
View post-commit.sh
#!/bin/bash
push_branch=master
cur_branch=$(git rev-parse --abbrev-ref HEAD)
# only run if commit is to master
if [ "$cur_branch" == "$push_branch" ]; then
if [ "$(git status -uno --porcelain)" ]; then
echo "uncommitted changes, can't push";
else
git push origin master
View collection.json
{ "name" : "Wierd & Wonderful wildlife",
"url" : "https://www.fws.gov/endangered/education/wonderful.html",
"description" : "'There are many threatened and endangered species that you have probably never heard of. Here, you can learn about 14 weird and wonderful species that are currently endangered, threatened, or of special concern. Learning about these rare species can be fun! Choose a game and good luck!
' Links mostly to old flash games. Not long for htis world.'"
}
@titaniumbones
titaniumbones / collection.json
Created Nov 4, 2017
extract_href output from https://nccwsc.usgs.gov/acccnrs, "Advisory Committee on Climate Change and Natural Resource Science (ACCCNRS)"
View collection.json
{ "name" : "Advisory Committee on Climate Change and Natural Resource Science (ACCCNRS)",
"url" : "https://nccwsc.usgs.gov/acccnrs",
"description" : "The Advisory Committee on Climate Change and Natural Resource Science (ACCCNRS) was established in 2013 to advise the Secretary of the Interior on the operations of the U.S. Geological Survey (USGS) National Climate Change and Wildlife Science Center (NCCWSC) and the Department of the Interior (DOI) Climate Science Centers (CSCs).
ACCCNRS was composed of 25 members that represented (1) State and local governments, including state membership entities; (2) Nongovernmental organizations, including those whose primary mission is professional and scientific and those whose primary mission is conservation and related scientific and advocacy activities; (3) American Indian tribes and other Native American entities; (4) Academia; (5) Landowners, businesses, and organizations representing landowners or businesses.
In 2015, ACCCNRS released its 2015 Report to the Sec
@titaniumbones
titaniumbones / collection.json
Created Nov 4, 2017
extract_href output from https://nccwsc.usgs.gov/southwestcsc, "Southwest Climate Science Center"
View collection.json
{ "name" : "Southwest Climate Science Center",
"url" : "https://nccwsc.usgs.gov/southwestcsc",
"description" : "Reports of and information about the Southwest Climate Science Center"
}
@titaniumbones
titaniumbones / collection.json
Created Nov 4, 2017
extract_href output from https://nccwsc.usgs.gov/southeastcsc, "Southeast Climate Science Center"
View collection.json
{ "name" : "Southeast Climate Science Center",
"url" : "https://nccwsc.usgs.gov/southeastcsc",
"description" : "Reports of and information about the Southeast Climate Science Center"
}
@titaniumbones
titaniumbones / collection.json
Created Nov 4, 2017
extract_href output from https://nccwsc.usgs.gov/southcentralcsc, "Southcentral Climate Science Center"
View collection.json
{ "name" : "Southcentral Climate Science Center",
"url" : "https://nccwsc.usgs.gov/southcentralcsc",
"description" : "Reports of and information about the Southcentral Climate Science Center"
}
@titaniumbones
titaniumbones / collection.json
Created Nov 4, 2017
extract_href output from https://nccwsc.usgs.gov/pacificislandscsc, "Pacificislands Climate Science Center"
View collection.json
{ "name" : "Pacificislands Climate Science Center",
"url" : "https://nccwsc.usgs.gov/pacificislandscsc",
"description" : "Reports of and information about the Pacificislands Climate Science Center"
}
@titaniumbones
titaniumbones / collection.json
Created Nov 4, 2017
extract_href output from https://nccwsc.usgs.gov/northwestcsc, "Northwest Climate Science Center"
View collection.json
{ "name" : "Northwest Climate Science Center",
"url" : "https://nccwsc.usgs.gov/northwestcsc",
"description" : "Reports of and information about the Northwest Climate Science Center"
}
You can’t perform that action at this time.