Tag Code Example

Recover your old Grammarly Docs

I registered on Grammarly on 2016-05-11T12:49:14.000(I took the date from the API). Since then, Grammerly checked about 1.8M words I wrote which is more or less ~17 novels.

As a non-native English speaker, I generally use Grammarly to at least get rid of any typos.

Not all the checkings were made over Docs in the app since Grammarly has extensions and can check in many other places.

But in the app, I created around ~600 documents unfortunately, Grammarly does not support pagination, and it only...

View full article

PartyTown On SvelteKit

To start, I'll say what party town is, in a nutshell: it's a tool to get some of your execution out of the main thread and into a worker.
It's doing that by communicating between the worker and the main thread, which will primarily execute DOM updates.
More in-depth, this concept works by you marking the scripts as `not javascript` then those scripts are forwarded to the worker. If those scripts are external, they must be passed through a proxy that will get around CORS.
Now most common use for Pa...

View full article

Scrap / GET Contribution Table from GitHub

So when it comes to some products like Twitter & GitHub, there are ways to either access non-public APIs or minimum, to scrap info that we can't take easily with the official API.
For Twitter, I think it is more important because you can access a lot of data for free, but I'm not going into that in detail because methods still work for years. And I think people who found ways to scrape data from Twitter data with not much cost should continue.

About GitHub, you probably know this, for its fronte...

View full article

JS Tag Cloud derived from Wordpress

When I started to code this blog, I tried to extract from my WordPress blog some simple features that I think are essential. Now I don't know how crucial a `Tag Cloud` is, but I assume even if it is not central, nothing is more emblematic of a blog than a tag cloud widget. In the words of Brendan Eich, tag clouds are around since "js purpose was to replace the HTML marque element."
The first thing I did was go to WordPress git source code to do a quick rewrite, but the tag cloud-generating funct...

View full article