Posts
Github Profile Readme
Recently I was lurking on the Internet. I stumbled upon this user profile on GitHub
https://github.com/GOVINDDIXIT
Govind’s profile looked so cool! Below is a screenshot of the same
That’s just a part of it! There was a lot of information in the profile. After seeing this, I was searching on the Internet to find some docs on how to do this. Weirdly I couldn’t find any official GitHub docs on how to add readme to a user profile.
Posts
Childhood Crazy Tech Stuff
I don’t remember much now, but I’m gonna try to recall as much as possible. So, I was young, I don’t remember at what age this happened. Surely some age after I was 11 or 12 as that’s what I got my new computer and Internet. And I think at that time Orkut was pretty famous. So a bit later than that when Facebook was famous in India. So, I saw something about a different theme for Facebook.
Posts
Learning Networking and Hacking
This was during college. I was trying to learn hacking. Haha. I remember following this series of blog posts, which explained stuff. I even printed them out to read and understand and learn. These were big blog posts. The first few posts they mostly taught about networking, this is because, to hack someone, remotely, you need to access their system remotely, and remotely means there must be some connection to the system, and that’s where networks and network concepts came in.
Posts
I Chose Simplicity. I Chose Empathy
Recently I was writing this code for a JSON REST API. We were adding an extra field to our API structure, for a resource. For the sake of simplicity let’s assume we were building an API to store rich text in our database. The size of this rich text was small, like 500 characters, that’s it. And let’s say we came up with some simple solutions on how to store the rich text.
Posts
What's a Software?
A software is more than just source code. This is true for anything. Any creation. The creation may be defined by people in just a few words, the reality is, there are always people behind the creation. There’s always a people aspect to things. In Software, this means everyone involved with the software - all of the teams of developers, product managers, quality analysts, project managers, and Every other than Role who helped build the software and is part of the company behind the software.
Posts
Obscure Javascript
Many front end javascript files are bundled into one file usually, and all the spaces removed, all function and variable names changed - minified. I don’t know what else they do as part of “minification” process and bundling process. Finally you get that obscure JavaScript file. This also reduces the size of the file and hence the amount of data to be downloaded, which makes a big difference, especially for people with low network bandwidth or bad Internet.
Posts
Prettified JSON in HTTP Response
I was randomly thinking about JSON, jq tool and the tool’s ability to prettify JSON by indenting with spaces and it’s ability to remove spaces too.
Suddenly for a second I was thinking why HTTP responses should not have spaces? If they had spaces they would look so cool right? 😂
In a moment I got the answer - yeah. You got it right. Prettifying the JSON with indentation will mean - add spaces.
Posts
Cloning All Git Repos From GitLab Group
tldr; $ curl -H "PRIVATE-TOKEN: $GITLAB_TOKEN" \ "https://<gitlab-url>/api/v4/groups/<group-id>/projects?per_page=100" | jq \ 'map({ id: .id, name: .name, ssh_url: .ssh_url_to_repo, http_url: .http_url_to_repo })' $ cat projects.json | jq ".[].http_url" -r | xargs -I {} git clone {} $ # OR $ cat projects.json | jq ".[].ssh_url" -r | xargs -I {} git clone {} Longer version I have joined a new project. My use case was to clone all the repositories in our team’s GitLab group.
Posts
The Pot
Found this on my Tumblr blog. Migrating it here
Started off to write a poem. It turned out to be something else. :P
The Pot Everyone’s born with a pot.
A very special kind of pot,
which is very much connected
to you and has life in it.
When you are young,
it’s soft and big.
And it’s prone to breaking.
And breaks most times.
People always break it.
Posts
Walking Alone
Found this on my Tumblr blog. Migrating it here
A friend said, what I write comes under “freestyle poem” category…This time, this one, comes under “freestyle essay” category I guess ;) :D
Walking Alone I don’t know when I
started walking alone.
I just know, I have
been doing it for a
long time since then.
Walking alone… in many
places and stages of life.
And each time, it has