Skip to content

Instantly share code, notes, and snippets.


Will Norris willnorris

View GitHub Profile

Keybase proof

I hereby claim:

  • I am willnorris on github.
  • I am willnorris ( on keybase.
  • I have a public key whose fingerprint is 6918 7042 4552 90C1 FCBB 5492 6B3A 242D 0BC4 CBB0

To claim this, I am signing this object:

View gist:c374b88cf92272572f4b
// Modified from
// Disable bold.
term_.prefs_.set('enable-bold', false)
// Use this for Solarized Dark
term_.prefs_.set('background-color', "#002B36")
term_.prefs_.set('foreground-color', "#839496")
View twitter-cards.php
function twitter_metadata($metadata) {
$metadata['twitter:card'] = 'summary';
$metadata['twitter:creator'] = '@willnorris';
foreach (array('url', 'title', 'description', 'image') as $attr) {
if (array_key_exists("og:$attr", $metadata)) {
$metadata["twitter:$attr"] = $metadata["og:$attr"];