Giter Site home page Giter Site logo

jameshfisher.com's Introduction

jameshfisher.com

npm install
npm run build  # or npm run dev

jameshfisher.com's People

Contributors

brian-myers-bose avatar dependabot[bot] avatar douglashill avatar eleith avatar jameshfisher avatar lukabratos avatar philpinkerton avatar philthomas avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

jameshfisher.com's Issues

Backend Auth Issues with 2017-08-05-sign-in-with-google.md

Hi James,

I appreciate your article for doing Google SSO via a Golang app (2017-08-05-sign-in-with-google.md). I'm noticing that the frontend client works as expected, but the backend parsing doesn't seem to work anymore. Perhaps it's the change in the keys at https://www.googleapis.com/oauth2/v3/certs. There are now two, and they're no longer in PEM format. Just wanted to give a heads up, as your post shows in Google search results on this topic.

Licence?

Hello.

I quite like how your personal website is laid out. The simplicity of it appeals to me greatly. I was hoping to rip it off and use it for my own nefarious purposes. Would you consider adding a licence to this repo to aid me in my blatant derivative endeavours?

PS I also hate telephones

CORS vs. "I can see your local web servers"

Regarding, http://http.jameshfisher.com/2019/05/26/i-can-see-your-local-web-servers:

When I open up a server on my local network and try out your page, the JS console log gives me:

Access to fetch at 'http://192.168.0.1/' from origin 'http://http.jameshfisher.com' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.

It seems to me that in all cases the requests you're talking about should be blocked from getting any data (beyond information that the port is open) by CORS, as per the same origin policy unless the server you're talking to explicitly authorizes such requests from web pages served from other hosts. What am I missing here?

getaddrinfo: loading order question

Hi Jim, thank you for your articles, I've been learning tons recently.

I'm currently trying to reproduce the steps you have done on What does getaddrinfo do? and when running strace, I see the following:

openat(AT_FDCWD, "/etc/nsswitch.conf", O_RDONLY|O_CLOEXEC) = 5
stat("/etc/resolv.conf", {st_mode=S_IFREG|0644, st_size=304, ...}) = 0
openat(AT_FDCWD, "/etc/host.conf", O_RDONLY|O_CLOEXEC) = 5
openat(AT_FDCWD, "/etc/resolv.conf", O_RDONLY|O_CLOEXEC) = 5
openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libnss_files.so.2", O_RDONLY|O_CLOEXEC) = 5
openat(AT_FDCWD, "/etc/hosts", O_RDONLY|O_CLOEXEC) = 5
openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libnss_dns.so.2", O_RDONLY|O_CLOEXEC) = 5
openat(AT_FDCWD, "/etc/gai.conf", O_RDONLY|O_CLOEXEC) = 5

But, in your article, you state that:

The file [...] /etc/resolv.conf is known by /lib/x86_64-linux-gnu/libnss_dns.so.2

How can ping load /etc/resolv.conf before loading libnss_dns.so if the path is only known by libnss_dns.so?
I am thinking it might have something to do with /etc/host.conf but even when commenting that file it still loads resolv.conf.

EDIT: after some deeper look it seems that resolv.conf is known by libresolv.so, which is loaded very early.

The dots do matter - email-domains too!

Hey James,
maybe you already know, but the same "trick" works with using an old "@googlemail.com" instead of "@gmail.com"...
I tried contacting netflix about this, but they just delete the "new" account.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.