Ghumkumar: Random thoughts!

  • অভাজনের বিলেত যাত্রা – পর্বঃ৪

    অভাজনের বিলেত যাত্রা – পর্বঃ৪

    বিমান থেকে নেমে দীর্ঘ সর্পিলাকার পথ পার হয়ে যখন ইমিগ্রেশনের লাইনে পৌঁছলাম, ততক্ষণে সেখানে গরুর হাঁটের মতই ভিড়। আহা সেই সময়, যখন মানুষ লাইনে দাঁড়িয়ে পেছন থেকে ধাক্কা-ধাক্কি করতো, গলা খুসখুস করলে কাশি দিতে লজ্জা পেত না! ব্যাগ থেকে কাগজপত্র বের করে হাতে নিয়ে লাইনে দাঁড়ালাম।

  • অভাজনের বিলেত যাত্রা – পর্বঃ৩

    অভাজনের বিলেত যাত্রা – পর্বঃ৩

    মেঘের ফাঁক দিয়ে লন্ডন শহরের টুকরো টুকরো ছবি দেখতে দেখতেই বিমানের চাকা মাটি ছুঁয়ে কেঁপে উঠলো। যাত্রার এই শেষ এক ঘণ্টা যেন অনন্তকাল ধরেই চলছিল। মেঘলা মন খারাপ করা আবহাওয়া আর সাথে টিপটিপ বৃষ্টি। এক টার্মিনাল থেকে আরেক টার্মিনালে যাওয়ার শাটলের জন্য লম্বা লাইন।

  • অভাজনের বিলেত যাত্রা – পর্বঃ২

    অভাজনের বিলেত যাত্রা – পর্বঃ২

    সিকিউরিটি এরিয়া পার হয়ে বিশাল লাউঞ্জ এলাকায় এসেই মনে হলো হারিয়ে গেছি। আর সেই-যে ধাক্কাটা, লাগলো এখন। মনে হচ্ছিল কী নির্বোধের মত কাজ করছি। সব ছেড়ে এত দূর যাত্রার তো কোনও মানে হয় না। এরচেয়ে এখান থেকেই একটা ফিরতি ফ্লাইট ধরে ফিরে গেলে কেমন হয়?

  • অভাজনের বিলেত যাত্রা – পর্বঃ১

    অভাজনের বিলেত যাত্রা – পর্বঃ১

    দুই-তিন দিনের তাপ-দাহ শেষে হালকা ঝিরিঝিরি বৃষ্টির এক দুপুরে ঢাকা থেকে মার্কিন মুলুকের উদ্দেশ্যে যখন যাত্রা শুরু হল, তখনও ঠিক বুঝে উঠতে পারিনি যে সব ছেড়ে কত দূরের পথে রওয়ানা হচ্ছি। তখন মাথায় একমাত্র চিন্তা, সামনে ৩০ ঘণ্টার লম্বা সফর! ধাক্কাটা প্রথম লাগবে মোটামুটি ৮-৯ ঘণ্টা পরে। সে ব্যাপারে পরে আসছি। মার্কিন মুলুকে যাত্রার প্রস্তুতি মূলত শুরু হয়েছিল এক মাস আগে থেকে। দূতাবাসের হাসিখুশি কর্মকর্তা যখন বলল আপনাকে অনুমতি দেওয়া হচ্ছে, এক সপ্তাহ পরেই পাসপোর্ট হাতে পাবেন – তার পর থেকে। তার আগের যা কিছু সবই ঝুলন্ত। মোটামুটি প্রস্তুতি ছিল যে কর্মকর্তা আমাকে বিমুখ করবেন, আর আমি হাঁফ ছেড়ে বাঁচবো। কে চায় তার চেনা জগত থেকে বের হয়ে অচেনা রাস্তায় পা রাখতে?

  • Lets Encrypt commands for CentOS

    Lets Encrypt commands for CentOS

    This is just a quick cheatsheet to install and renew letsencrypt certificates. Let’s say, your domain name is example.com and your email address is [email protected] and hosted on a CentOS server running Apache.

  • Grid background with CSS

    Grid background with CSS

    Need to create a grid-like background? I recently needed one for an image drop-zone. It’s pretty simple to generate a grid background using the linear-gradient feature of CSS. The CSS lines to notice here is this: Here we’ve added two gradient backgrounds. Each linea-gradient creates a .4rem white line. And when we set the background-size […]

  • Traffic Simulation with HTML/CSS

    Traffic Simulation with HTML/CSS

    Here is how to create a traffic simulation using HTML/CSS …and a pinch of JavaScript. I used CSS3 animations, vehicle images from freepik and jQuery. First, let’s create the road where the vehicles will run. We’ll add three lanes where one will be reserved for priority vehicles and public transports. On each lane, we’ll add […]

  • How to add a virtual page in WordPress?

    How to add a virtual page in WordPress?

    There are many use cases for a virtual page. Let’s say showing the invoice or payment status page for a payment plugin in the front-end, without compromising active theme. I needed one recently to show payment statuses. Here is how I implemented it. 1. Hook “init” to catch the specific slug First we need to […]

  • Translate WPML via WordPress REST API

    Translate WPML via WordPress REST API

    Although REST API is now included into the WordPress core, WPML – one of the most popular translation plugin – still didn’t catch up to that. Anyways, after extensive googling I decided it’s better to implement the feature myself. Here is how the translation worked. Step 1: Add a custom end-point I added an end-point /translate to do […]