Lock your (postgres) tables from being altered

red and yellow stop sticker

Want to lock your table but only on DDL operations? Use the below code to ensure no one is altering your tables. To achieve this we will create a trigger on all alter table commands, then filter it down by table name and finally throw an exception telling the user that they cannot alter the table.

Continue Reading

Using Google Sheets as a makeshift Database [Depriciated]

Do you want need a quick solution without going into the hassle of setting up a Database? If your answer to any of those questions was a yes, then you’ve come to the right place. This post will show you how you can use Google sheets as your database. For the purposes of this blogpost I will be usiing this Google sheet.  As you can see, we will be collecting the following data from the user – Name, Email

Continue Reading

Making local changes render on codesandbox embeds

Today I came accross codesandbox which is an online editor catered for web applications. It is an opensource effort with all bugs being tracked and handled by the community. The feature I liked the most about codesandbox was its embed feature, that lets you embed code alongside it's rendered version.

Continue Reading

Site Footer

Sliding Sidebar

About Me

About Me

Hey, I am Thomas Ashish Cherian. What I cannot create, I do not understand.

Social Profiles