Gist - A gem to upload gists from terminal

Whenever I wanted to share a piece of code with someone, I use GitHub’s Gists feature. It works great and offers embed options as well! Since I had been learning how to code Nodejs CLI apps in the past few days, I had been creating more gists than ever. I realised it was cumbersome to open GitHub website to create the gist each time. I consider creating a CLI app as a challenge to address that problem, but as expected, there is already one! Read more →

My first npm package

I published my very own, first npm package yesterday. It’s a very simple JavaScript app that takes in one’s input and echoes it out. It’s available here on the npm registry. While I originally wanted to publish it with the slug hello-world, it was already taken by someone else - obviously! Thankfully npm allows re-usage of slugs with scoped access, and I published it under my name: @arunsathiya/hello-world. I am currently working on another npm package that shows weather at any entered city. Read more →

Create GitLab repository from terminal

I stumbled upon a rather strange feature yesterday! It turns out it’s possible to push git repositories from the local computer to GitLab.com (I guess it works for self-hosted version of GitLab as well) without actually having to create the repository first on GitLab.com. I normally create the upstream repository on GitHub or GitLab.com with a README file, clone it and commit changes from there. Or, I create create a first commit, and set upstream logic with git remote add origin [email protected] Read more →

Baby steps with npm!

I been been reading about npm, node.js and JavaScript for a while. I never understood npm all these days, and used to run commands as I saw. After reading and taking multiple lessons, I feel more confident about working with npm packages now. A few resources that I found helpful so far: npm basics on Treehouse Introduction to npm scripts - a short, but powerful lesson! I now understand how scripts in the package. Read more →

How I feel about GitHub’s new free plan

Today, GitHub announced that they are offering unlimited free private repositories for all users for free. I would have been very excited about this a few months ago, but I am not at the moment. I jumped ship to GitLab.com and I could say I am happy with it. GitLab.com seems to offer unlimited free private repositories with no catch like GitHub. GitHub offers free private repositories are limited to 3 collaborations and there are no protected branches available. Read more →