Posts marked with "Program" in categories

Finding The Value Of Pi

Everyone must have heard of Pi, the irrational number that never ends. It goes by this :

3.14159265...

I have been learning about Pi since I was in 8th grade. All the time in school, I was curious about to which Pi extends.

Now, I know the extend – Infinity :P. I dedicated my precious Christmas vacation for finding the useless value of Pi.

Why ? Curiosity. Simply, the curiosity made me want to do this. Besides, it’s always fun to do something interesting.

... [READ MORE]

Uploading Images Using AJAX In HTML5

In a post that was published some years ago, I explained how to upload an image using AJAX. But, it is an old trick when HTML5 was not standardized.

But, now browsers have evolved and almost every person in the world has an HTML5 supported browser. Besides, the old trick used a JS file which is about 15KB. If we used HTML5 mechanism instead, then you can save about 14KB.

We use FormData object in JS to make the multipart/form-data, then the file object retrieved from the input element :

... [READ MORE]

The Anagram Game

As you know, I have made Lobby – The localhost OS. I am in the process of adding more and more apps to it. This post explains how I created the Anagram game and the algorithm used for it.

You can download the app from here or search for “Anagram” in the Lobby Store.

The full source code is available on GitHub.

Anagram Game

Anagram Game

How It Works ?

There is a dictionary file containing many english words. When a user requests for a new puzzle, these happens :

... [READ MORE]

logSys Admin

After the release of logSys in May 2014, many have been asking for an admin panel of logSys. It’s finally here. I’m extremely happy to release logSys Admin as an app of Lobby.

logSys Admin Logo

logSys Admin Logo

You can find the app here on Lobby.

Installation

  1. Download & Install Lobby.
  2. Open Lobby
  3. Open **Lobby Store **and search for “logSys Admin”.
  4. Click Install button.

Usage

  1. Open App from the Lobby Dashboard and click “Go To Admin” button.
  2. Click “Setup logSys Admin” button.
  3. Enter the credentials of your database as well as the table which logSys uses and Save.
  4. Once saved, you can use logSys Admin

The dashboard page has some quick facts about your users :

... [READ MORE]

Lobby

[Lobby Logo][1]
Lobby Logo

Lobby is a new project of mine which was under development for more than a year. I’m proud to release it today with the first version 0.2Lobby is a localhost Operating System like AndroidiOS etc.

What It Is

I’ll explain it to you. There are many OSs in this world. From Ubuntu to Windows to Mac to Android to iOS and so on… Developing an application is tough as you have to port it to different OSs. And the language to develop is also different :

... [READ MORE]

Set Same Time Zone in PHP & MySQL

Time Zones are important if you’re creating a social app which will include chat, social network and others which is interacted with the society.

There are many time zones and you have to choose one to set in your server. I would totally recommend using UTC instead of your time zone in server.

Web Server and Database server are different and they each have their own configuration. This includes the time zone too. In this short post, I’m going to show how you can set the same time zone in both of these servers.

... [READ MORE]

Implement 5 Star Rating System With PHP & JavaScript

User ratings are important for your site if you provide downloads of files or run an E-Commerce shop. It is the ratings of other users that tempt your site’s users to buy/download something. So, it is necessary for a site like this to have a Rating System. If you haven’t implemented it yet or want to replace your existing system with a clean one, you’re at the right place.

I give to you, Francium Star : a new member in our Francium Project series. This PHP & JS combined package will provide your site a complete Rating System and it’s very easy to implement.

... [READ MORE]

Advanced Live Group Chat With WebSocket, PHP & jQuery

WebSocket is one of the awesomest part of the HTML5 and we developers should experiment with it as it will be the future of client to server communication.

In a recent post, I made a tutorial of live chat with WebSockets and PHP. It was the basic step into websockets. But, I have created another chat which is more advanced that has the capability to upload images as well as record audio from microphone of the user. It’s somewhat like WhatsApp or Facebook Messenger.

... [READ MORE]

Notebook Paper Design Text Editor With jQuery

Hey, all.. it’s been a while since I wrote anything on my blog. Sorry guys, but I was working on a project which will be released soon. 🙂

WYSIWYG editors are used by us all on the web and if we are going to create a site, it’s better if the editor on it is WYSIWYG. There are many text editors, but there are none with a Notebook Paper design. Well, in this post I will guide you in creating a notebook paper with CSS3 and making that paper design into a text editor.

... [READ MORE]

jQuery Popping Up Text Effect

If you are creating a web app and there is conversation to the user without audio and just text, animations and effect will make the app better.

In this short post, I’m introducing a simple text effect without any trouble at all. All it does is animate the text’s font size. But, the effect is like the text is popping up.

Here’s the code. It’s wrapped in a function and you can easily customize it :

... [READ MORE]

Follow/Subscribe

Telegram 

Mastodon  Twitter

GitHub GitLab

Subdomains

Demos  Lab

Past

This blog was once on WordPress. Now a static site. See source code on

GitLab