alanplotko / alanplotko.github.io Goto Github PK
View Code? Open in Web Editor NEWPersonal website.
Home Page: https://alanplotko.com
Personal website.
Home Page: https://alanplotko.com
Pagespeed results are at 100%, but there are a few recommendations elsewhere that can reduce number of requests or request size. Cloudflare caching, however, already takes care of things.
Minifying files and using Cloudflare-hosted resources:
Example: https://umami.is/ self-hosted on Heroku or Vercel.
See GitHub docs for implementation details.
Right now, there are too many conflicting styles sitting atop one another to override CSS in the right direction. The theme should prioritize responsiveness across devices and accessibility. The two styles that make up the theme can be consolidated to one that is fully built on bootstrap after applying the reboot stylesheet. This will also make the dark theme more feasible to build out by using the darkmode.js script and HTML dark class to swap out just the bootstrap component colors on click.
Switch from Foundation to Materialize CSS and refactor current CSS.
_data/
and rebuild the siteHeroku allows running a free web dyno for 1000 hours a month if the account is verified. Given 31 days * 24 hours = 744 hours in a month at most, you can run 24/7 with pinging services like New Relic to keep the dyno from sleeping. That still leaves enough for one-off dynos on the side if needed.
There aren't many options that handle both likes and comments in one dyno, so either:
Let's go with option 2.
Staticman can be hosted with Heroku and is the most lightweight to embed into the Jekyll blog (it's static!). Testing can be done with create sample data files with comments. Staticman can also be deployed via netlify as a serverless function.
The Cloudflare KV store offering is sufficient to track likes and caching can be implemented at edge. The like counter is a simple increment, following Medium system of up to 50 points per user. The browser's local storage can track capacity up to 50 point allotment.
Use reading time plugin that includes improved WPM calculations by filtering out exceptions to the total word count like code blocks. The pluralize filter can help with the output as well.
Note: Make sure the sitemap generates correctly and that it does not conflict with the home page.
Show all non-forked, owned GitHub repositories on the projects page. All GitHub repositories run off http://dev.alanplotko.com, so the home site would show a listing of all repositories as cards (potentially via using GitHub Repositories API with jQuery/JavaScript/Ajax).
`
GitHub API URL: https://api.github.com/users/USERNAME/repos
PurgeCSS will remove any unused styles and can be added to the gulpfile.
Cors headers should be set to appropriate domains for production.
Services
Show table of contents in post if floating table of contents does not fit.
Add SEO plugin to generate necessary meta tags for posts.
PWA service worker at sw.js has been configured to bypass Cloudflare caching. Alternatively, caching can be allowed with query strings (e.g. ?v={{ site.time | date: '%s' }}
) or file hashes via the gulp build, e.g. example.<hash>.js
to ensure Cloudflare sees the updates. gulp-hash and gulp-hash-references could work.
I use cdnjs for external assets (stylesheets and scripts), as it is hosted with Cloudflare too. This can help consolidate requests to the same zone while getting internal assets.
Caching currently follows:
Automate taking backups using mongodump.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.