Reading Today

Higher-Order Components



"A higher-order component (HOC) is an advanced technique in React for reusing component logic. HOCs are not part of the React API, per se. They are a pattern that emerges from React’s compositional nature."

read full text »

Workaday Reading

Setup AWS S3 static website hosting using SSL (ACM)



"I registered a new domain (ssml.io) and I want to use it to host a static website using S3 and Cloudfront. For this website I want an SSL connection using a AWS Certificate Manager certificate. Open the buckets properties and activate “Static website hosting”. Make note of the Endpoint URI."

read »

Workaday Reading

Link Relations



"The Amazon API Gateway API includes the following link relations that you can use to access and modify Amazon API Gateway resources."

read »

Workaday Reading

aws¶



"Use aws command help for information on a specific command. Use aws help topics to view a list of available help topics. The synopsis for each command shows its parameters and their usage. Optional parameters are shown in square brackets. Turn on debug logging."

read »

Workaday Reading

todo



"Usage If I pushed this: /** * @todo Take over the world * @body Humans are weak; Robots are strong. We must cleanse the world of the virus that is humanity."

read »

Workaday Reading

Hacked Website Report 2017



"The latest malware and hacking trends in compromised websites. This report is based on data collected and analyzed by the Sucuri Remediation Group (RG), which includes the Incident Response Team (IRT) and the Malware Research Team (MRT)."

read »

Workaday Reading

Window.event



"window.event is a proprietary Microsoft Internet Explorer property which is only available while a DOM event handler is being called. Its value is the Event object currently being handled."

read »

Workaday Reading

Use SSL with MAMP PRO 4



"Since I've updated to chrome 63, my sites in localhost are redirected to https, so I decided to use SSL with MAMP PRO but I can't make it work, chrome says Your connection is not private. As you've already highlighted, this issue started with a Chrome update which is forcing SSL on localhost *."

read »

Workaday Reading

Content Security Policy - An Introduction



"Content Security Policy is delivered via a HTTP response header, much like HSTS, and defines approved sources of content that the browser may load. It can be an effective countermeasure to Cross Site Scripting (XSS) attacks and is also widely supported and usually easily deployed."

read »

Workaday Reading

A new security header: Referrer Policy



"Regular readers will know how fond I am of the existing security headers so it's great to hear that we're getting another! Referrer Policy will allow a site to control the value of the referer header in links away from their pages."

read »