My Coding Environment Setups - MacOS
MacOS
General
Appearance: Dark
Show scroll bars: Always
Click in the scroll bar to: Jump to the spot that’s clicked
I always love the Dark theme. As for the scroll bar settings, it is nice to hide them, but it makes it much harder to locate and click on the scroll bar.
Trackpad
Point & Click
Tap to click: On
Click: Light
I try to spend less effort for any operations.
More Gestures
Swipe between pages: Off
To disable this feature is that I need to scroll horizontally when browsing the magnified contents. I do not want to get to the previous page accidentally.
Accessibility
Display -> Pointer
Pointer size: Medium
I would like to locate my pointer immediately.
Pointer Control -> Mouse & Trackpad -> Trackpad Options…
Enable dragging: three finger drag
As always, I don’t want to press down the trackpad :).
Sound
Sound Effects
Play sound on startup: Off
Play user interface sound effeects: Off
Please do not frighten a code in any circumstances.
Dock & Menu Bar
Position on screen: Left
Show recent applications in Dock: Off
I used to put the dock at the bottom of the screen, but now I am used to put it at the left.
Displays
Scaled: More Space
It is a good screen. Just display as more information as it could.
Mission Control
Automatically rearrange Spaces based on most recent use: Off
This will prevent system from rearranging different desktops that you have memorized in your mind.
Keyboard
Keyboard
Key Repeat: Fast
Delay Until Repeat: Short
Save one second a time.
Text
Correct spelling automatically: Off
Capitalize words automatically: Off
Add period with double-space: Off
I know what I am typing. Thanks though.
Shortcuts
I tend to disable as much shortcuts as possible. I admit that I have limited space in my head to memorize everything.
Takeaways from Building a Static Website on AWS
With the migration of the website from Azure to AWS, a new infrastructure that is dramatically different is to be set up.
This exmaple is great for setting up a static website on AWS that supports HTTPS. The reason of having such a complicated system to host a static website is mostly due to the fact that S3 does not support HTTPS.
Other than that, there are still some extra things needed to be taken care of when integrating with Hexo.
- In the Lambda function, URL needs to be rewritten to append ‘index.html’ for all folder paths.
- When uploading files to S3, the System defined Metadata ‘Content-Type’ needs to be set to according to the file extension.
Overall, the experience of setting up a static website in the storage blob that supports HTTPS on both AWS and Azure are both non-trival. Whil I do like the resource group concept in Azure for managing multiple resources, AWS does provide more documentations and third party supports for various purposes.