August, 2018
August 14, 2018
In August 14 I worked on Google OAuth2 in ASP.NET Core 2.
Keeping Uptodate with Geary
My personal laptop runs on Ubuntu 16.04 LTS and I use Geary to work with Gmail accounts. I recently run into an issue of Geary not deleting email messages from Inbox and generally being sluggish with getting new mail. I checked and version of the application is \“0.12-dev\“. The currently released version is 0.12.3. So, I decided to upgrade: sudo add-apt-repository ppa:geary-team/releases sudo apt-get update sudo apt-get install geary It appears that update has fixed the issue.
Logging in ASP.NET Core
https://stackoverflow.com/questions/49128340/asp-net-core-include-timestamp-in-all-log-entries?noredirect=1&lq=1
VSTS to AWS
AWS CLI is supported on Python, which is an excellent cross-platform tool. Python package management works well. To add the following line to requirements.txt file: awscli==1.15.72 An alternative is to install AWS CLI with command (run as Administrator on Windows): pip install awscli pip freeze > requirements.txt Linux Hosted generates command to restore Python packages. Make sure it is active in your project: > python -m pip install \--upgrade pip && pip install -r requirements.
AWS Static Website: References
How Do I Configure an S3 Bucket for Static Website Hosting?. Hosting a Static Website on Amazon S3. Example: Setting up a Static Website Using a Custom Domain.
Site Workflow
My worflow on this site consists of: Author content in Visual Studio Code. Run make html and visually inspect the result. Upload to Azure static website host using Azure Storage plugin for VSC. Verify the result at http://sergei.gnezdov.us website. Commit GIT code and push to origin. The origin is a private GIT repository on Visual Studio. NOТЕ: Azure static website is in preview and setup of it was not painless.
Sphinx Comments Deployment
August 3, 2018 I have setup Shinx documentation system for work. We used Read the Docs Sphinx Theme. I decided to add publically available comments to the system. My major restriction is to limit amount of used technologies on the server to reduce chance of breaking the server with installation of new dependencies. It is largely a self-imposed restriction influenced by a set of particular circumstances at work. We currently use IIS Server to run .
Sphinx Theme Customization
Sphinx has some good themes, but customizaiton is a bit limitted. For example, it seems to be not possible to add comments to existing sphinx_rtd_theme theme. So, I had to figure out how to use a custome theme embedded into the project itself. Here is the process I used with sphinx_rtd_theme theme. Steps: Create _theme directory in your project source directory. Copy sphinx_rtd_theme directory (it is the directory that contains theme.