profile
viewpoint
If you are wondering where the data of this site comes from, please visit https://api.github.com/users/gottfrois/events. GitMemory does not store any data, but only uses NGINX to cache data for a period of time. The idea behind GitMemory is simply to give users a better reading experience.
Pierre-Louis Gottfrois gottfrois @textmaster Paris Pierre-Louis Gottfrois is an enthusiasts software developer who loves Ruby On Rails, decoupled code base and all web technologies.

gottfrois/dashing-rails 1455

The exceptionally handsome dashboard framework for Rails.

gottfrois/grape-attack 131

A middleware for Grape to add endpoint-specific throttling.

gottfrois/doorkeeper-provider-app 39

Rails sample API using Devise, Doorkeeper and OAuth2

gottfrois/grape-knock 18

Use Knock with Grape.

gottfrois/activity_stream 7

A Rails demo app using MongoDB to build an efficient activity stream with all features embedded.

gottfrois/beez 5

Simple, efficient ruby workers for Zeebe workflows.

gottfrois/dashing-hotness 5

Dashing widget that changes the widget's color depending on the value displayed

gottfrois/dashing-rails-demo 3

Rails 4 demo application for dashing-rails gem

gottfrois/awesome-ruby 2

A collection of awesome Ruby libraries, tools, frameworks and software

pull request commentgottfrois/link_thumbnailer

Added check for existence of the node's href attribute

Perfect thank you 👍

cameronmccord2

comment created time in 17 days

issue closedgottfrois/link_thumbnailer

Nil ref for an invalid node's href's value

We're getting a NoMethodError when the Favicon scraper is trying to get the href attribute from a node. The node exists but not the href attribute.

The url its failing on is: https://vm.tiktok.com/ZMRkMaRGr/

/gems/link_thumbnailer-3.4.0/lib/link_thumbnailer/scrapers/default/favicon.rb:28 in href /gems/link_thumbnailer-3.4.0/lib/link_thumbnailer/scrapers/default/favicon.rb:12 in value /gems/link_thumbnailer-3.4.0/lib/link_thumbnailer/scrapers/base.rb:29 in call /gems/link_thumbnailer-3.4.0/lib/link_thumbnailer/scraper.rb:39 in block (2 levels) in call /gems/link_thumbnailer-3.4.0/lib/link_thumbnailer/scraper.rb:38 in each /gems/link_thumbnailer-3.4.0/lib/link_thumbnailer/scraper.rb:38 in block in call /gems/link_thumbnailer-3.4.0/lib/link_thumbnailer/scraper.rb:37 in each /gems/link_thumbnailer-3.4.0/lib/link_thumbnailer/scraper.rb:37 in call /gems/link_thumbnailer-3.4.0/lib/link_thumbnailer/page.rb:21 in generate /gems/link_thumbnailer-3.4.0/lib/link_thumbnailer.rb:18 in generate

closed time in 17 days

cameronmccord2

push eventgottfrois/link_thumbnailer

Cameron McCord

commit sha 06e8047b8575c22c5068b5b2038abfe63c202555

added check for existence of the node's href attribute

view details

Pierre-Louis Gottfrois

commit sha aee9a90f23ade5b059724ccb715536bf342e9868

Merge pull request #148 from AboutShout/scraper_favicon_nilref Added check for existence of the node's href attribute

view details

push time in 17 days

PR merged gottfrois/link_thumbnailer

Added check for existence of the node's href attribute

resolves #147

NoMethodError: undefined method `value' for nil:NilClass

Offending url: https://vm.tiktok.com/ZMRkMaRGr/

/gems/link_thumbnailer-3.4.0/lib/link_thumbnailer/scrapers/default/favicon.rb:28 in href /gems/link_thumbnailer-3.4.0/lib/link_thumbnailer/scrapers/default/favicon.rb:12 in value /gems/link_thumbnailer-3.4.0/lib/link_thumbnailer/scrapers/base.rb:29 in call /gems/link_thumbnailer-3.4.0/lib/link_thumbnailer/scraper.rb:39 in block (2 levels) in call /gems/link_thumbnailer-3.4.0/lib/link_thumbnailer/scraper.rb:38 in each /gems/link_thumbnailer-3.4.0/lib/link_thumbnailer/scraper.rb:38 in block in call /gems/link_thumbnailer-3.4.0/lib/link_thumbnailer/scraper.rb:37 in each /gems/link_thumbnailer-3.4.0/lib/link_thumbnailer/scraper.rb:37 in call /gems/link_thumbnailer-3.4.0/lib/link_thumbnailer/page.rb:21 in generate /gems/link_thumbnailer-3.4.0/lib/link_thumbnailer.rb:18 in generate

+1 -1

0 comment

1 changed file

cameronmccord2

pr closed time in 17 days

startedsiduck76/dotfiles

started time in a month

issue commentgottfrois/link_thumbnailer

Blocked by CORs policy

Hey @corejh, this is because you are on the non https version of the website and the script tries to send a request on with https which triggers the CORS error.

Head to https://link-thumbnailer-demo.herokuapp.com/ and it works fine.

corejh

comment created time in a month

issue closedgottfrois/link_thumbnailer

Blocked by CORs policy

Hey there, does this gem work anymore? On the example http://link-thumbnailer-demo.herokuapp.com/ the application throws CORs errors whenever I try on chrome or firefox.

If this gem isn't supported anymore, does anybody have any alternatives?

closed time in a month

corejh

startedtextmaster/minos

started time in 2 months

startedhkrgh/semaphore-ci-reporter

started time in 2 months

starteddgraham/json-stream

started time in 3 months

startedcloudflare/cf-terraforming

started time in 3 months