Shishir Raven

I code things

Recent Articles

An easy method to write Blocks in WordPress (for Patterns)

What needs to be achieved? Short Answer 😊 Building and Saving new patterns is difficult if your are building complex structures. Long answer (TLDR) 🥱 I am building a Tailwind Theme and want to style some pre-saved blocks into my theme. Now the process of creating these it to create a Nested Structure with the […]
Author
admin
Published
September 5, 2022
Read the Article

Articles from the last two weeks.

Snake & Ladders Multiplayer Game.

I build a multi player game of the classic “Snake & Ladders”, the game can be played between 1 or more remote players. Technologies Used. Vue JS Tailwind CSS for Styling. Socket.io for Real Time communication.

Remove Default CSS and JS from wordpress Template

Removing all the Default Theme Javascript and CSS from a Wordpress Template.

Why? Case : Using a VueJS Application in a WordPress Plugin and Theme CSS is Clashing. There are some default CSS/JS which are included in every page + there is the Theme CSS which is also included on every page. I did not required any for it to work on my page. Since you are […]

Hosting VueJS Project on Github Pages

Hosting a VueJS project is pretty straight forward but I faced problem with VueJS Routing. First of all it did not work out of the box. I had to change the base path in the config file. I added the base URL to the vite config file. I added the base also to the router […]

Finally Microsoft has build the feature that I was looking for. It's Focus Sessions.

Well I am a fan of pomodoro technique and its a wonderful thing. So I was always looking for a countdown timer that could run on the Windows and could appear on top of the all the windows. Did some searches on the internet and could not find a suitable free match. But to my […]

Why is somebody not working on these ideas

Well efficiency is missing in our current usage of resources like the use of electricity. Like I miss switching off the fan when I leave the room. Couldn’t an automated system which could detect an empty room for 5 minutes and turn off the fan a brilliant idea. One of the similar ideas is the […]

How to Speed up Project Development with a .bat file.

Well every developer might be facing the same process when they open up their laptops every day. Like opening the project, opening the Project Management Website, opening the code folder etc, etc. Here are some ready to use commands that can help you Automate the process. Opening the Project Folder in VS Code through a […]

How to avoid node_modules folder in Zip.

Just as I started coding on an exciting note taking app I realized that if my laptop crashed I would lose all the hard work I have put into coding thousands of lines. I had not taken the backup in a while so I stopped the work and uploaded a zip to Google Drive. But […]

Automatically extracting price from Amazon.com

This post illustrates how you can extract price from amazon.in or amazon.com using puppeteer.This project uses Node.JS and puppeteer library to do the extractions. Extracting Prices from Amazon.in and outputting to console.

Custom Post Type returning only posts belonging to the Author in Wordpress REST API

Add the following to your plugin code. Replace ‘goals’ with your content type name. About this solution. The great part about this is that you don’t need to create any custom endpoints to show only the related posts to the author. Can apply very easily for any CUSTOM Posts. Possible Scenarios where can you use […]