Skip to content
Chandan Kumar

Blog

View all tags
Remix Run Tutorial: Mongodb connection with Mongoose and Typegoose

We will use Typegoose to create MongoDB models instead of using Mongoose directly. "Typegoose is a "wrapper" for easily writing Mongoose…

reactjs, mongodb
Remix Firebase authentication on server side

Tutorial on using Firebase to authorize server side access in a Remix app. Remix has a good support for server side rendering. In this part…

reactjs, firebase, remix
Remix: Web Socket connection Tutorial under 5 minutes, and beyond

To setup Socket.io with Remix we need to do the following Setup Remix App with Express Add Web socket dependencies Tweak package.json to run…

remix, react
Remix: Fly.io deployment

A short tutorial on deploying Remix app on fly.io Fly.io is one of the platforms that you can use to run your applications on the internet I…

remix, react
Remix: Tailwind CSS integration tutorial

Almost all the steps here are from official documentation on Remix Tailwind doc: https://remix.run/docs/en/v1/guides/styling#tailwind To…

remix, react
Yarn workspace tutorial, introduction and cheatsheet

Your dependencies can be linked together, which means that your workspaces can depend on one another while always using the most up-to-date…

nodejs
Remix Tutorial: Firebase Authentication

New post on server side You can read up or watch the hands-on video. A short video tutorial on integrating Firebase authentication in…

reactjs, firebase, remix
React Tutorial: Adding comments to Gatsbyjs blog firebase authentication

Tutorial on integrating firebase on client side, particularly Firestore. I built a comment system for Gatsby Blog powered by Firebase…

react, gatsby, firebase
Gatsby Tutorial: Embed responsive youtube video

A short (video) tutorial on how to embed a responsive Youtube video in Gatsby blog using theme-ui. This blog is based on Lekoarts, which…

reactjs, gatsby
Remix Run Tutorial: Mongodb connection with Mongoose

Refer to newer post on this at /blog/remix-mongodb-typescript-tutorial This is a short tutorial on integrating remix.run with Mongodb using…

reactjs, mongodb
Gatsby blog comments using firebase tutorial - part 1

Tutorial on integrating firebase on client side, particularly Firestore. This is part 1 that covers the following install firebase in…

gatsby, firebase
Tailwind CSS tutorial getting started

Tailwind is a utility-first CSS library. This articile is about using tailwind CSS with just HTML and CSS file and doesn't cover JavaScript…

css
Focus stacking on Nikon D5000

Macro Photo of stink bug, using 2 images to reduce DOF. Took this image in 2019 but could not stack it, as I could not find stacking app…

photography
Gatsby Theme Shadowing Lekoarts

This site is powered by Lekoarts theme, while it has a lot of features, I wanted to change styling and some text contents that the theme…

gatsby
Adding comments to a Gatsby Blog

One key feature of a blog is to allow readers to leave comments. One of the easiest way to do this in Gatsby is to use Disqus . While one…

gatsby
Styling React/Next.js using tailwind

Quickest way to setup Next.js with Tailwinds CSS is to use the official nextjs example. 2021 is nearing end and my preferred way to build…

nodejs, nextjs
Timelapse Livingstone Daisy on a Nikon DSLR

Livingstone Daisy Timelapse using Nikon D5000 over a period of few hours. This Timelapse comprises of little over 700 frames at 4k pixels…

Issue with Microsoft Azure Functions connecting to CosmosDB

This one was a pesky annoying issue that ate up a lot of my time. The solution was just deletion of a line. I couldn't find the exact issue…

JavaScript, Azure
fly.io on Apple M1 deployment

Summary Building and deploying docker container image from Apple Mac M1 runs into error. fly.io runs on AMD architecture. Mac M1 is ARM. I…

docker
Review: Hyper.is terminal

What? A terminal built on web technologies https://hyper.is Just a terminal. I did not find anything extremely useful. Looks good, but then…

Gatsby Switch

Finally switched from Jekyll based blogging system to Gatsby. I had this working on a separate beta CNAME for sometime now, but decided to…

Macro Photography: Focus Stacking

Focus Stacking: It's an image processing technique in which multiple photographs taken at various focal distance to create a greater DOF. In…

photography
Migrating to Gatbsy

I planned to use Gatsby for a long time now, but deferred it for a very long period of time. There was no real strong reason to migrate from…

blog, JavaScript
Kubernetes: Getting started

Kubernetes Kubernetes is an open-source system for automating deployment, scaling, and management of containerized applications. This…

programming
Application Performance

Performance tuning is exciting especially when you are fighting outages. It is exciting to the extent that you keep looking at your phone…

programming
Welcome to Jekyll

I haven't been posting anything lately, and there has been much activity on Octopress either. For a strange reason, I used Octopress over…

jekyll
Inkscape wouldn't start libgtkmm-2.4.so can't be loaded

For some reason Inkscape wasn't opening up on my system. To figure out the issue, I started it from terminal and noticed that it throws…

ubuntu
Install Atom editor on Ubuntu

Initial opinion Looks pretty; well looks almost like sublime, behaves like it as well. On the negative side, it takes time for cold startup…

editor, ubuntu
HTML5 Video

Added an article on company blog on HTML5 Video using VideoJS. The post is about learnings around videojs.

html5
Dynamic Programming: Screw your class on the fly

I spent about an hour trying to figure out why Sinatra app was spinning off the track. Basically after the update call( put ), Region model…

programming, ruby
Moneta session store on Heroku

Snippet to use Redis as session store on Heroku with Moneta Gem. I have no idea why I did not had tried it out before, but looks pretty neat…

ruby, heroku, redis
Kashmir Trip

Leh was running in my head and I was running in Leh. Well, logging about this has been long pending In July, 2013, I finally managed to get…

travel, kashmir
Android Apps

Some handy apps and tricks on Google Android Music Google Music - On desktop go to Google Music website. You will have to signup with your…

android
Using Omniauth with Sinatra

A brief note and tutorial about OmniAuth Identity. How to use it in conjunction with Sinatra. With no to minor modifications you can use it…

ruby
Compare point and shoot and Mirrorless Camera

I plan to buy a secondary camera thats easier to carry around. At the moment this post is for my reference. Just in case, if this note helps…

photography
Seriously Google? Android 4.2 feature or bug

Two bugs to begin with, Android 4.2 Calendar month December goes missing, second, Google App domain renewal in 2012 happens in the past. I…

android
Install Android 4.2 on Galaxy Nexus

Android 4.2 is out for couple of days now. Yesterday morning I got OTA notification to upgrade it on my Galaxy Nexus GSM. As excited I could…

android
Static IP on Ubuntu

I tried these steps on Ubuntu 12.04. It may differ for other Linux versions. Introduction Sometimes you may want to setup OS instances with…

ubuntu, network, linux
Learning Twitter Bootstrap and Less CSS

Introduction This article is reference to self, but I hope it may help others who want to dive in to Twitter Bootstrap and LESS . I did…

css, less
Octopress - Tutorial otherwise

Octopress is not very active. Nor do I intend to update this. Introduction It is said very eloquently on Octopress home page and I quote…

octopress
Hello Octopress

If for some reason it's not obvious, this site is powered by Octopress. I am fascinated with simplicity of octopress. After playing around…

octopress
Copyleft. WTH
Theme by LekoArts