Skip to content

Instantly share code, notes, and snippets.

View psychicbologna's full-sized avatar

Alex Fukui psychicbologna

View GitHub Profile
@psychicbologna
psychicbologna / RasPiNamecheapDNS.md
Created March 8, 2024 13:13 — forked from PhilMurwin/RasPiNamecheapDNS.md
How to setup DDclient on Raspberry Pi for use with Namecheap DynDNS

How to use Namecheap DynDNS service with ddclient on the Raspberry Pi

Log into your Raspberry Pi (by ssh for example) or open a terminal window if you are working directly on Pi. In the first step we have to install ddclient, a DynDNS software, on the Pi. For this purpose, the following two commands are necessary.

sudo apt-get update
sudo apt-get install ddclient

Note: During installation an installation wizard opens and wants to know some things from you. Here you can safely enter what you want, because we have to adjust the configuration file manually either way, because the wizard does not support the Namecheap.com interface.

https://user-images.githubusercontent.com/11902346/71958242-b3162200-31e7-11ea-890d-4af64dcc63f5.png
@psychicbologna
psychicbologna / application-alex-fukui-thinkful.md
Last active January 7, 2020 03:51
Job Application at Fjorge

.applicationforfjorge

I reached out to Emi Chen at fjorge:

'Hi Emi!

My name is Alex Fukui and I'm a developer based in Minneapolis. I saw that your company is hiring a front-end developer and saw you've been working there. I was wondering if we could chat about it?

Thanks for your time!'

1) Should the client or the server take more security precautions?
The server should take more security precautions because it is the source of data. Although having frontend security measures is important, outgoing and incoming information can be best validated and checked here.
2) What's the difference between local storage and session storage?
Local storage is kept on the browser indefinitely, while session storage is dumped when the browser is closed.
3) What problem does a JWT expiry time solve?
@psychicbologna
psychicbologna / answers.txt
Last active November 17, 2019 07:01
backend-analysis-capstone2
Which database tables are created in the migrations?
user, language and word
What are the endpoints for user registration, login and refresh?
Registration: POST /
Login: POST /token
Refresh: PUT /token
Link to build: https://zeit.co/alexanderfukui/recipeak-client/1stshcdua

Notes

Client

Client Dependencies & devDependencies

  • jwt-decode What is this?
  • date-fns I remember you.
  • react-scripts What is this? It seems to be used in 'scripts' to streamline starting up a react project:
wireframe: https://gist.github.com/psychicbologna/614440a8bbf6c29b1a9c2c412583bb8b
trello: https://trello.com/b/XfoChRLi/recipeak