Skip to content

Instantly share code, notes, and snippets.

View joelparkerhenderson's full-sized avatar

Joel Parker Henderson joelparkerhenderson

View GitHub Profile
# Free books by Springer with categories
Thanks to Springer for making these available.
See announcement:
https://www.springernature.com/gp/librarians/news-events/all-news-articles/industry-news-initiatives/free-access-to-textbooks-for-institutions-affected-by-coronaviru/17855960
Thanks to Harish Narayanan for the categories.
See announcement:
https://hnarayanan.github.io/springer-books/
@joelparkerhenderson
joelparkerhenderson / gist:8777e29e901376c34809627a884232c8
Created February 13, 2020 04:29
Svelte failure on new project
Error report when "npm run dev" fails, and shows sirv source code file.
When I try Svelte on an older project of mine, that shows "Hello world", the same sirv problem happens, but with a twist.
The project is:
https://github.com/joelparkerhenderson/demo_svelte_hello_world
When I use the "localhost" URL below, the error happens, and shows the sirv source code file.
When I use the "192.168.100.219" URL below, the page shows "Hello world" as expected.

Keybase proof

I hereby claim:

  • I am joelparkerhenderson on github.
  • I am henderson (https://keybase.io/henderson) on keybase.
  • I have a public key ASCqKKKj_nQPaton6ykd3OhIub7tkwLfu6iv97eUbZUKAAo

To claim this, I am signing this object:

// Macros for "crud" a.k.a. database create, read, update, delete.
//
// Status: Wwork in progress, feedback appreciated.
//
// Contact: Joel Parker Henderson <[email protected]>
//
// License: MIT
//
// # Introduction
//
Verifying I am +joelparkerhenderson on my passcard. https://onename.com/joelparkerhenderson
require 'ostruct'
class Transaction
attr_accessor :name, :last_name, :nation_id
def nation; OpenStruct.new(name: "Nation ID " + nation_id); end
end
@transaction = Transaction.new