Skip to content

Instantly share code, notes, and snippets.

View jeffbyrnes's full-sized avatar

Jeff Byrnes jeffbyrnes

View GitHub Profile
@jeffbyrnes
jeffbyrnes / lastfm_nowplaying.js
Last active February 26, 2021 00:37 — forked from trisweb/lastfm_nowplaying.css
Last.fm Now Playing Widget. Add to a <script> and <style> tag on your site, or load from files.
/* ********************************************************************** */
/* OLD SCHOOL CURRENT PLAYING STUFF */
const LFM_API = 'https://ws.audioscrobbler.com/2.0/'
// Get one at https://secure.last.fm/login?next=/api/account/create
const LFM_KEY = 'ce8a26c8204cd9994cb27278d682efe3'
const LFM_USER = 'jeffbyrnes'
async function getNowPlaying () {
const recentTracksUrl = `${LFM_API}?method=user.getrecenttracks&user=${LFM_USER}&api_key=${LFM_KEY}+&format=json&limit=1`
let httpRequest
@jeffbyrnes
jeffbyrnes / installcdo.sh
Last active September 3, 2023 15:09 — forked from mainvoid007/installcdo.sh
install cdo with eccodes, hdf5, netcdf4
#!/bin/bash
# This installs CDO with ecCodes, netCDF and HDF5 support. Uses standard locations, with binaries landing in /usr/local/bin
# Forked from https://gist.github.com/mainvoid007/e5f1c82f50eb0459a55dfc4a0953a08e
# Updated to latest versions
# The only “breaking” change for JasPer is the maintainer switched from make to cmake for its build
cdo_path=/opt/cdo-install
apt-get update && apt-get install -y wget build-essential checkinstall unzip m4 curl libcurl4-gnutls-dev
@jeffbyrnes
jeffbyrnes / challah.md
Last active August 29, 2015 14:11 — forked from petecheslock/gist:7072317
@petecheslock’s grandma Evelyn’s challah recipe

Challah

This Makes 2 loaves — or one big ass challah.

INGREDIENTS:

  • 12 ounces water (105-115 degrees fahrenheit)
  • ¼ cup honey
  • 4 ¼ tsp. Active Dry-Yeast
  • 32 oz. Bread Flour, by weight (or approx 5-6 cups)