Archive for the ‘Other’ Category

Creating mailto: link

Thursday, July 2nd, 2015

Today I wanted to create a specific link in my responsive (mobile) html design template. When user clicks the link, it should open up the mail client with my desire email addresses, subject, and some text in the body. It was a good idea to CC that email to one or two other email addresses. I searched a lot and here is the final structure I came up with:

 

<a href="mailto:myFirstEmail@example.com? subject=mySubject&body=myLine1%0D%0AmyLine2&cc=test1#example.com;
test2@example.com&bcc=test3@example.com "> Click Here </a>

 

Do not forget to leave key words like mailto, subject, body, cc, and bcc all in lowercase, otherwise they do not work appropriately. 
If you line to have line break in the body, you can easily use %0D%0A


Above format works perfectly on almost all web browsers and mail clients. The only issue is it does not work in mobile Apps appropriately. Any idea ?

* DO NOT USE "#" Inside your mailto link 

 

 

 





Find Absolute Path of Your File

Tuesday, May 12th, 2015

 

I was setting .htaccess file for one of my projects and I noticed I needed to know the absolute path of my file. 
Here is what I found really handy and I would like to share it with you.

All you need to do is opening an editor and copy and paste the bellow code in it. Save you file as "pathfinder.php" and 
upload this file to your folder. Now all you need is a double click on "pathfinder.php".

 

<?php 
$dir = dirname(__FILE__);
echo "<p> Full path to your directory is" . $dir ."</p>";
?>

 

 

 





Error Detected – We are unable to decrypt the certificate id

Thursday, April 23rd, 2015

 

I logged on to my PayPal account and then created my button. I selected and grabbed all codes and pasted it to my WordPress website. Everything was looking good until I clicked on the button. Boom.. Error Detected – We are unable to decrypt the certificate id
I searched a lot and made lots of changes in my code and eventually found the problem. The encrypted messy codes is ending with "—–>". When you paste the code to your wordpress editor, it makes a big empty gap between the code and "—–>". To fix the issue just remove the gap and join "—->" to the encypted messy code. Yess.. you are done.

BTW, If you need to open up your Paypal page in a new window, just do target="_blank". It works for me!  





HTML5 Start Up Template

Monday, April 13th, 2015

Here is a basic html5 template to start your page coding:

<!doctype html>

<html lang="en">
<head>
  <meta charset="utf-8">

  <title>The HTML5 Herald</title>
  <meta name="description" content="The HTML5 Herald">
  <meta name="author" content="SitePoint">
  <script src="js/scripts.js"></script>
  <link rel="stylesheet" href="css/styles.css">

  <!--[if lt IE 9]>
  <script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
  <![endif]-->
</head>

<body>
  
</body>
</html>




HDMI to VGA Cable

Monday, December 29th, 2014

This HDMI to VGA Cable does not work and there is no cable that will convert HDMI to VGA. Be careful not getting ripped of by others trying to sell you a HDMI to VGA Cable that will convert HDMI to VGA as there are no HDMI to VGA cables as electronic converters must be used.

VGA-HTMI





Fake call from fake Microsoft

Tuesday, September 9th, 2014

 

My phone rang yesterday night at 10:30 PM. It was late night so it couldn’t be from advertisers. My caller ID said “unavailable”. Since I thought it could be my dad or mom from overseas I answered it. It was a woman in a thick accent. She said she was from Microsoft Security Department and my PC’s windows has security issue. She said my windows had virus or maybe Windows key problem and this is why it generated malicious packets.

I was sleepy and on the other hand I didn’t want my windows make problem for others. Since I was aware of cyber scammers I tried to confirm whether she was really from Microsoft. She, with her heavy accent, tried to convince me to fix my windows as soon as possible. Usually no technical guys call late night, it is better to say we customers should spend lots of time on hold to talk to one of techy guys from service providers.

I said thank you for calling me and letting me know my windows problem but since I have three machines at home could you please let me know which one of them had problem.
She just gave me a windows key which did not match with any of my windows operating systems.
I asked how she could find my number and she said they kept all numbers in their customer’s record. I said how they knew my windows had problem and I asked for the broken system’s MAC address.
She said she did not have access to customer’s private information.
I asked what my name was. She said she just had access to my number.
Everything was fishy and so I said please provide me your number and your name.
She did not give me any other information. I was sleepy and I did not want to keep talking with Mrs. No one. I hung up the phone. The next they I searched my experience on the Internet and figured out it was totally scam.

 

Here are some tips  to avoid doing anything wrong in case of facing these scammers:
1- Do not install any software which they recommend
2- Do not give them remote access to your PC
3- Do not pay them on phone and do not give them your credit card number
4- Try to get as much as information. Ask their number, location, Manager’s name, and everything you think could help to report them to the real Microsoft.

 

Always remember:
If something is broken with your windows, they expect you to call them. THEY WON’T CALL YOU!

 





Need website in Seattle?

Tuesday, March 4th, 2014

 

Seattle, Bellevue, and Redmond are three main technological cities in the Washington State. There are plenty of businesses in these areas and each one of them need a website. I am going to talk about why a business, especially in Seattle, needs website and how we should get advantage of online activities.

seattle-online-business

 

Reference to “Seattle.gov”, Seattle is the smartest city in North America and it means majority of people are educated, have access to internet, and mostly find their require stuff online by searching on websites. To know how important Internet is for you, just answer these questions. How many times have you searched for restaurant on search engines like Google or Bing? Did you check their addresses? Did you check their menus and prices? Have you purchased your books and other stuff on Amazon or ebay? Do you have PayPal account? Do you check your bank accounts and pay your monthly bills on their websites?  If you are student, how much are you online on Internet to do your assignment? How do you usually check the weather? and so on. 

(more…)





Hello world!

Tuesday, February 18th, 2014

Welcome to WordPress. This is your first post. Edit or delete it, then start blogging!