Monday, January 2, 2023

How to automatically calculate your total spent on Shopee

1. Go to this calculate.js page and copy all the code. Below is the screenshot for the code.


2. Login to Shopee, bring cursor on your profile icon. Click on My Purchase. Now, you are in "All" tab.


3. Right click anywhere in the page using your mouse. Choose Inspect. Click Console tab.

4. Paste the code you get from Step 1 at the bottom of Console tab. 

5. Press Enter on your keyboard. Wait for the process to complete and it will show total amount you have spent.






Sunday, July 31, 2022

Resignation Email template

This is resignation email template. Feel free to use it. You may also get template for resignation letter.

Dear Sir,

This email to inform you that I am resigning from my position here as {job title}.
Attached in this email is my resignation letter. 

Thank you for all of the opportunities this company has provided me. Please let me know if I can do anything to help make this transition smooth.

Again, it has been a pleasure working here and I want to wish everyone at {company name} the best of luck for the future.

Thank you.

Regards,
{Your name}


Thursday, September 23, 2021

How to solve Mibox keep disconnecting from wifi

Have you ever watch movies using Mibox but out of sudden the internet connection lost?

Try this simple step. Instead of connectiong to 5G wifi, just connect to your 2.4G wifi. 

Mibox seems has connection issue with 5G. Ya, thats all. 

So how to get the 2.4G wifi? Simple.

1. Login to your router. Link, default username and password are usually located under the router.

 
2. Rename your 2.4G as "YourWifi2.4G" and 5G wifi "YourWifi5G"
- do not rename both wifi with same name because only one name will appear when you want to look for wifi.

This is only one of the way to solve this problem. There are actually several ways to solve this. If you have any other solution, feel free to comment below.

Monday, June 14, 2021

Resignation letter

This is resignation letter template. Please feel free to use it.

{Your name}
{Your address}

{Letter's date}
__________________________________________

{HR name}
{Company name}
{Company address}

Dear Sir,

RE: Notice of Resignation

Referring to the above matter; I hereby would like to tender my resignation as a {Your job title} in this company. My resignation will be effective today ({Todays date}) and my last working day will be on {Last day} ({Last date}) after serving my {your notice period. e.g. 1} months’ notice, offsetting {number of annual leave you have to shorten the notice period. e.g. 5} days from the remaining balance of my annual leave.

I would like to take this opportunity to thank You, my Team and the Management. I’m so grateful to be part of this organization. Thank you for all the support and guidance that had been given to me and I wish all the best for the company in future endeavors.

Thank you.

Yours truly,
……………………………………
{Your name}

CC: {Your manager's name}

Saturday, February 1, 2020

How to Change Blogger Email

There are no features in blogger dashboard to do this but there is a tricky way to make it done.

1. Sign in and go to your blogger dashboard.
2. Go to Settings > Basic
3. Click +Add authors, type any new preferred email and click Invite Authors.
4. The new email will received the invitation and accept it.
5. Make the new authors as admin. You can now remove the old authors by clicking the X button





Thursday, September 15, 2016

Clash Royale

If you never play Clash Royale, you need to install this games on your mobile phone. Its free and easy to play. 


In this game, you need to attack opponent towers and destroy it. You need to deploy your troops into the battle field. Make sure you use your elixir carefully as it is crucial in winning the game.



Check out my deck. I have used this deck since Arena 4. Right now, I'm in Arena 7. 


Below are collection of cards that I already found. You need to go higher Arena to unlock new cards.



I am sure most of you have play this game. For those who might wanna try playing this game, just download this game at Google Play and Apple Store


Friday, December 11, 2015

How to Fix No Valid Sound Device Found












Solution :
1. Install Direct X
2. If solution (1) did not work, restart your computer.

I encounter this problem during One Piece Pirate Warriors 3 installation.
After installed Direct X, I still can't play the game. I restart my laptop and it works.

Tuesday, February 3, 2015

How to Transfer Games From an IOS device to an Android Device (and Vice Versa)


I am sure many of us like to play Clash of Clans and Boom Beach.

Sometimes, we might had different devices with different Operating System (OS).

So, you want to continue playing on the current level without having to start all over again.


Just follow this simple steps.

1. Open your IOS mobile game. (For this tutorial, I take Clash of Clans as an example)

2. Press on Settings > Link a device > This is the OLD DEVICE > I want to link to another device.

3. You will see a secret code.

4. Now, open your mobile game on your Android phone.

5. Press on Settings > Link a device > This is the NEW DEVICE.

6. Copy the secret code that you get from your OLD DEVICE into the new one.

Enjoy your game !



How to Play Android Mobile Games on PC

 Have you ever think on playing mobile games in your Personal Computer ?
Here how it is done. =)

1. Download any one of this software.

       - Andy
       - BlueStacks
       - YouWave

2. Install it on your computer.

3. After the installation process finish, sign in using the same email address with your email that you used on your Android phone.

4. Your game will be synchronize automatically. 

Have Fun !

Note: Basically, all the softwares are developed for Android. If you are using an iPhone/ iPad, here is the tutorial on how to migrate the data from IOS to Android (and vice versa)

Tuesday, December 16, 2014

How to restore close tab after accidentally close it

Sometimes, you need to recover back the tabs that you have accidentally close. Here how it is done.

1. Safari - Ctrl + Z

2. Chrome & Firefox - Ctrl + Shift + T


Tuesday, August 12, 2014

How to Post a Status Without Inserting a Picture in WeChat

1. Open WeChat.
2. Press on Discover > Moments.
3. Long press on camera icon.
4. A popup will appeared asking you to write your status.

Saturday, February 22, 2014

Tasbih

Tasbih is a simple Android application that help us to count tasbih. 

Its free.

You can download it here.

Thursday, December 5, 2013

URL Scheme for IOS 7

1. To open IOS Calendar
[[UIApplication sharedApplication] openURL:[NSURL URLWithString: @"calshow://"]];

Sunday, September 1, 2013

Tips to Buy Smartphone

1. Budget
Sometimes, money tells you what to buy. Samsung has provided various phone with various price.

2. Choose Operating System (OS)
Fact has shown that Android and iOS has become the primary OS in every smartphone. It is better if you made careful observation and research about all the OS in the market in terms of functionality and its capability.

3. Processor
You are advised to choose smartphone that has at least dual core processor. Research has shown dual core processor is better than single core in term of life expectancy.

4. Size
Try holding the phone. It is the best way to feel it. If you are confident enough, try putting it in your pocket but make sure you did not walk out from the shop with the phone inside your pocket.I mean, don't steal it.

5. Battery
Most of the smartphone has large battery capacity but cannot hold longer because it is not suitable with the phone itself. The best way is to ask the sellers.

6. Screen
The best screen technology is from AMOLED or LCD. Take note with the screen resolution. Choose at least 800 x 480px screen for better experience.

7. Camera
It depend on you. Take some picture using the smartphone that you want to buy. Don't just listen from the sellers.


Saturday, June 22, 2013

Session in PHP


A PHP session is used to store user information on the server. This will let the server know who you are and what you do. It is because session variables hold information about one single user.

Below is PHP code for session, first you need to create the database.

Create database in MySQL

Database name : sessionlogin

Create SQL table

CREATE TABLE `users` (
`id` BIGINT( 60 ) NOT NULL AUTO_INCREMENT PRIMARY KEY ,
`name` VARCHAR( 50 ) NOT NULL ,
`password` VARCHAR( 32 ) NOT NULL ,
`date` INT( 32 ) NOT NULL ,
`email` VARCHAR( 80 ) NOT NULL
);

connection.php

<?php 
$server = "localhost"; 
$username = "root"; 
$password = "";  
$database = "sessionlogin"; 

mysql_connect("$server", "$username", "$password") or die(mysql_error()); 
mysql_select_db("$database") or die(mysql_error()); 

?>

login.php

<?php
session_start(); // This starts the session which is like a cookie, but it isn't saved on your hdd and is much more secure.

include("connection.php");

    if(isset($_SESSION['loggedin']))
    {
        //die("You are already logged in!");
        header("location:main.php");
    } // That bit of code checks if you are logged in or not, and if you are, you can't log in again!

    if(isset($_POST['submit']))
    {
       $name = mysql_real_escape_string($_POST['username']); // The function mysql_real_escape_string() stops hackers!
       $pass = mysql_real_escape_string($_POST['password']); // We won't use MD5 encryption here because it is the simple tutorial, if you don't know what MD5 is, dont worry!
       $mysql = mysql_query("SELECT * FROM users WHERE name = '{$name}' AND password = '{$pass}'"); // This code uses MySQL to get all of the users in the database with that username and password.
       if(mysql_num_rows($mysql) < 1)
       {
         die("Password was probably incorrect!");
       } // That snippet checked to see if the number of rows the MySQL query was less than 1, so if it couldn't find a row, the password is incorrect or the user doesn't exist!

       $_SESSION['loggedin'] = "YES"; // Set it so the user is logged in!
       $_SESSION['name'] = $name; // Make it so the username can be called by $_SESSION['name']
       //die("You are now logged in!"); // Kill the script here so it doesn't show the login form after you are logged in!
       header("location:main.php");

    } // That bit of code logs you in! The "$_POST['submit']" bit is the submission of the form down below VV

echo "<form type='login.php' method='POST'>
Username: <br>
<input type='text' name='username'><br>
Password: <br>
<input type='password' name='password'><br>
<input type='submit' name='submit' value='Login'>
</form>"; // That set up the form to enter your password and username to login.

?>

main.php


<?php
session_start(); 
if(!isset($_SESSION['loggedin']))
{
    die("To access this page, you need to <a href='login.php'>LOGIN</a>"); 


?>

<?php echo "Hello there, {$_SESSION['name']}! Welcome to my site!"; ?>
<a href="logout.php">Logout</a><br>
<a href="upload.php">Upload</a><br>
<a href="report.php">Report</a>


report.php

<?php
session_start(); // NEVER forget this!
if(!isset($_SESSION['loggedin']))
{
    die("To access this page, you need to <a href='login.php'>LOGIN</a>"); // Make sure they are logged in!
} // What the !isset() code does, is check to see if the variable $_SESSION['loggedin'] is there, and if it isn't it kills the script telling the user to log in!


?>

<?php echo "Hello there, {$_SESSION['name']}! Welcome to my site!"; ?>
<a href="logout.php">Logout</a><br>
<a href="main.php">Main</a><br>
<a href="upload.php">Upload</a><br>


<?php


    include("connection.php");


    $tblename = "users";
    $result = mysql_query("SELECT * FROM $tblename where name = '{$_SESSION['name']}'");
    //$query = ("SELECT user_id FROM users WHERE user_id = '$user_id'");

    echo "<table border='1'>
    <tr>
    <th>Firstname</th>
    <th>Name</th>
    <th>Password</th>
    <th>Date</th>
    <th>Email</th>
    </tr>";

    while($row = mysql_fetch_array($result))
      {
          echo "<tr>";
          echo "<td>" . $row['id'] . "</td>";
          echo "<td>" . $row['name'] . "</td>";
          echo "<td>" . $row['password'] . "</td>";
          echo "<td>" . $row['date'] . "</td>";
          echo "<td>" . $row['email'] . "</td>";
          echo "</tr>";
      }
    echo "</table>";

    //mysql_close($con);
?>

upload.php

<?php
session_start(); // NEVER forget this!
if(!isset($_SESSION['loggedin']))
{
    die("To access this page, you need to <a href='login.php'>LOGIN</a>"); // Make sure they are logged in!
} // What the !isset() code does, is check to see if the variable $_SESSION['loggedin'] is there, and if it isn't it kills the script telling the user to log in!


?>

<?php echo "Hello there, {$_SESSION['name']}! Welcome to my site!"; ?>
<a href="logout.php">Logout</a><br>
<a href="main.php">Main</a><br>
<a href="report.php">Report</a>

logout.php

<?php
session_start();
session_destroy();
header("location:login.php");
?>

Monday, June 10, 2013

Make Up Your Samsung S4 with Stylish Case

At first glance, you might see it as a fine piece of an expert design.
On the backside of the case, it comes with finely carbon fibre. It consist of three opening parts which are the camera lens and flash and for the sound to go through from the speaker. Just like any other Samsung case, it has Samsung logo printed out at the back of the case.

The front part is made from 2 different material. One of them is made by a textured plastic. On the inner part is a kind of fabric that suited firmly with your screen and will give extra care for your phone. At the top is an opening for the speaker and also a printed Samsung logo. They also have printed out Galaxy S4 in a stylish way at the bottom part of the case.
This case come out with different colour. For more info visit this site.

Monday, June 3, 2013

How to Exit Safe Mode in Samsung Galaxy Ace

1. Turn off your phone
2. Pull of the battery from the phone. Wait for 15-30 seconds.
3. Turn on your phone.

Friday, May 3, 2013

Gamesalad. Have you heard about it?


It is a tool to develop games for IOS and Android

No Coding at all !

You can publish your game on the AppStore.

If you know how to draw and know a little bit about design, it is a bonus for you.




You can try it for free in no limited time. Just download it here. Available in Mac and Windows. For Windows, if you can't install it, just update your Windows.

Suitable for everybody, even for kids.

It helps in practicing your logic thinking. 

Below are some books that can guide you through out developing the games :



Tips to Conserve Smartphone Battery

1. Turn off vibration.
Vibration will shorten your battery life. Just played the ringtone.















2. Dim your phone












3. Never overcharge your phone.
Stop charging your phone when you are told to do so.




4. Don't charge your phone regularly.
Charge when the battery meter shows one bar left.




5. Turn off unnecessary applications.
Running apps such as music player may shorten your battery life.















6. Turn off wifi, GPS and bluetooth.


Related Posts Plugin for WordPress, Blogger...