Tuesday, May 5, 2015

Text Mechanic.co - Keyword Suggestion Generator tool

Today, I came accross the greatest keyword suggestion generator tool which is Text Mechanic's Keyword Suggestion Generator tool. It works great, it is efficient, and extremely helpful.

According to textmechanic.co,

The Text Mechanic's "Keyword Suggestion Generator" will retrieve Google.com auto suggest results* for your entered seed text in an easy to investegate format. Seed text can be a letter, number, word, phrase, related to what you (and others) are querying to find in Google search results.

Enter seed text into the seed text field and click "Submit" button. Results will load here. Click on a result to open a Google.com search window for that result. Can't think of anything for seed text? Just click the "Random" button for a random seed word.

Click "Prefix" or "Suffix" button to prefix/suffix exisiting seed text with the letters a to z. Query rate will vary between 2.5 to 4.5 seconds. When suffix seeding, place a space at the end of exisiting seed text to query last word as a full word. Prefix seeding is tricky and only gives numerous results on web search. Seeding a single word use no front space. Seeding two words or a partial phrase, place a space before the first word. Trial and error is a must.


Keyword Suggestion Generator


How to redirect the whole page when you submit a form in an iframe

Thanks to this post on StackOverflow, I found to redirect the whole page when you submit the form with an iframe inside.

Problem: You have an iframe which got a form, when you use the iframe to submit the form, the page will not redirect normally and this might cause some behavior which you don't like.

Solution: Add target='_parent' to the form.

Example:  <form action="/signup" method="post" enctype="multipart/form-data" target='_parent'>

You don't have to add anything to the iframe. This should work.

12 reasons you should always use CloudFlare

Who would have thought that in this huge internet revolution, there would be a free unlimited CDN service? No one! Today, in 2015 there is a free CDN service and it works great.

It is the one and only... CloudFlare.

CloudFlare, a US-based company headquartered in California, which provides a content delivery network service. Its network protects, speeds up, and improves availability for a website or mobile application with a simple change in DNS.

Here are 10 reasons why you should consider linking your website to CloudFlare.

-1- It's free.
You already knew that from the introduction. Cloudflare could save you hundreds of TBs, millions of requests, provides you security and protection and boost up your site and it's all absolutely for free. This is the first reason why you should consider CloudFlare. While more advanced options cost money, it isn't really important for you can run your website with a free version of CloudFlare.

CloudFlare has many competitors like MAXCDN and others, but they charge you per TB whereas on CloudFlare it is free.

-2- It is easy to setup
Here is an experiment you should do, say those words loudly:
  • One, two, three, one, two, three, drink
  • One, two, three, one, two, three, drink
How hard was that? Yeah, exactly. CloudFlare is as easy to setup as singing those words. No rocket science needed, no programming skills needed, no credit card needed, get started in less than 5 minutes.

All you have to first is input your domain in the text field, then you can follow easy instructions, and change the nameservers in your registrar; heck even CloudFlare will copy your DNS settings automatically. You site will be running through CloudFlare and boosted up in less than 5 minutes.

-3- It protects you against attacks
CloudFlare does automatically protect you against any a denial-of-service (DoS) or distributed
denial-of-service (DDoS) attack. You will sleep at night knowing that threats will be handled and blocked by CloudFlare.

CloudFlare on the next day will show you all the threats they have blocked. Imagine if you were actually unprotected and you suffer from a DDoS attack. Dog help you then.

CloudFlare reported that it uses the collective intelligence of its community to get smarter. CloudFlare’s network learns from every new attack and then shares that information with the rest of the CloudFlare community. That means new threat gets recognized in CloudFlare for future attacks.

-4- It speeds up your website
On average, a website on CloudFlare loads twice as fast, uses 60% less bandwidth and has 65% fewer requests. 

It automatically activates asynchronous resource loading, force aggressive GZIP, auto-minimize HTML, CSS, and JavaScript files everywhere.

It also distribute all your tiny files to all their servers around the globe (CDN), speeding your website to the extreme maximum, all that for free.

-5- It has great and reliable analytics
You think Google Analytics are the best and the most efficient way to track your analytics? Think again! CloudFlare analytics simply rock and they overcome normal analytics like Google Analytics.

Cloudflare are 100% confident in the hits and unique visitors numbers on CloudFlare are better than Google Analytics, and have the raw logs to back them up. 

-6- One-Click install app
You can install many apps for me within one-clikc, for example you can install Google Analytics, submit your site to webmasters.

Some apps include: Infolinks, Pingdom, Vukkle, Smart Errors, Panopta, GamaSec, Dakwak, CodeGuard, Better Browser, etc...

-7- Your server's IP will be hidden
Many of you would like to have their privacy, right? There are 59,423 services online which are dedicated in revealing who is the server company hosting your content. 

Without CloudFlare, assuming you've turned on the gray tick, no one will reveal your true server's IP or your server's host

-8- Your site will stay online when your server goes offline
Unless you're Google, Facebook or Amazon, your server will go down; there is no escape about it.

Cloudflare's Always Online keeps your site available even if your server goes down. If your server goes down, CloudFlare will serve your site's most popular pages from their cache. As soon as your server comes back online, CloudFlare will move users back to regular browsing.

-9- Free, secured, updated, one-click install HTTPS certificate
Would you believe it if I tell you with one-click you can install and activate the https certificate? You don't need to configure anything with your server, nor install or uninstall anything. Your site will have a working and fast https certificate which gets automatically updated online.

You can also choose between Flexible SSL, Full SSL, Full SSL (Strict).
Cloudflare also uses Universal SSL.

-10- Set page rules easily in your website 
You can forward, set a custom cache level and exclude certain CloudFlare settings and apps. You can force https on certain links, bypass cache on other links, and change hundreds of settings like forwarding, custom caching, expire TTL, always online, apps, performance, mirage 2, rocket loader, security, SSL, security check, browser integrity check, etc...

-11- Get help when you're under attack
While CloudFlare automatically blocks normal attacks and normal threats. Some users target you, and they won't stop until they exhaust your website and turn it down. CloudFlare helps you with the "Under Attack Mode".  Advanced and complicated security features you find them on Amazon and Google only. This feature is really great, though you might have to upgrade your account. 

-12- Take CloudFlare anywhere with you
With the unofficial app iFlare, available on the App Store, you can configure your account,  view analytics and take CloudFlare with you wherever you go. It costs only 1$ but it is all worth it.

iTunes description for the app is: iFlare for CloudFlare™ makes it easy to manage your CloudFlare™ account with your iPhone.

Sunday, May 3, 2015

Display number of subscripers on a video page in ClipBucket

ClipBucket is the fastest growing video script which was first started as Youtube Clone, it is not that excellent but it the best around here.

Developed by Arslan Hassan originally, a brilliant programmer who later turned the project into tune.pk, an unblocked YouTube clone in pakistan, Arslan made a fortune out of his projects. 

One of clipbucket problems is that it doesn't show the number of subscribers on a video page.

Many users who are cloning YouTube or would like to create a script similar to YouTube would love to show the number of subscribers in the script.

Fortunately, since I examined every piece of code in clipbucket, I easily know how to do it, it is extremely simple.

First go to watch_video.php and add the following:

//Getting the user information - Read more: BLOG.GEORGECHALHOUB.COM
echo $u = $vdo['username'];
$u = mysql_clean($u);
$udetails = $userquery->get_user_details($u);
//End Getting the user information

Then go to watch_video.html and add the following smarty line where you want to display the number:


That's it. It is pretty simple. The code should any version of clipbucket: 2.0 - 2.1 - 2.6 - 2.7.

Wednesday, April 29, 2015

Irritatated by irrationality on skeptics.se

Here is a famous picture of Richard Dawkins irritated by irrationality:

richard dawkins irritate by irrationality

I have a person known to have a strong heavy and strong basis toward atheism. My account description was once:

You are not a believer. You shall not believe in delusions and superstitions. People are born, they grow old and then they die. That's the world we live in. There's no magic, no mysticism, no immortality, no god, no jesus, no sixth sense, no witchcraft, no omens, no prophecies, no real astrology, no extrasensory perception, no vampires, no angels, no miracles, no ghosts, no psychics, no heaven or hell. The supernatural does not exist nor it will ever will. There is nothing that defies rational thought. You are not a believer. You can't be.

And this is how I lived my life starting the age of 16. I am a skeptical person in my nature; I love scientific skepticism. I fell in love at first sight with skeptics.se. My experience was good and bad at this site.

The site is full of religious people, most of them are respected people with high level of scientific skepticism; I don't mind that at all and I respect every religious people as well as I respect their religion. But I get irritated by irrationality sometimes when they post non-scientific stuff.

One member complained once about Richard Dawkins advertisement, and got it removed from the site:

Another member said vaccines are equal to miracles:

On this post I said that miracle questions should be off-topic:

 Guess which response I got: Vaccines are not different than miracles. I got irritated but remained calm.

And so on...


How to copy files/folders from a server to another server using SSH

I bought a new server for my programming site ifelse.tv, the server company who was renting me their servers has promised to partition my server in a way I could have 2TB of data storage.  I only had 1TB of data storage. I messaged them and they broke the news, they made a mistake and they need to re-format and repartition the server.

I have had uploaded already 150GB of video files, but I wasn't ready to give them up. I wanted a fast, quick and efficient solution.

The quickest and cheapest solution was to copy the 150GB of video files to another server, then add them back when they fix your server.

Both servers had a 100Mbps unmetered internet. That would make on average 14MB/sec. Not bad for 150GB of content files.

The only question was how to do it? Google helped me find my solution and this is how I did it.

1. Login to the server which has files you need backup via SSH. It doesn't matter if you have root access or not:

2. Execute this command (some changes need to be made):
scp -r --ignore-existing /home/admin/domains/s1.ifelse.tv/public_html/ifelse george@

scp (constant): This will copy files from server to server.
 --ignore-existing (contsant): This will sometimes ignore the existing files.
-r (constant): means, recursive, it will copy all subfiles and files inside the folder.
/home/admin/domains/s1.ifelse.tv/public_html/ifelse (variable): The folder or file you need to backup.
george@ (variable): The destination server. As you see, I didn't enter the root account.

/home/george/ifelse (variable): The destination folder on the other server (make sure you create one). 

3. It will ask for the other server's password, enter it:
4. It will begin copying files:

You should leave it for work, as it might take a lot of time. This works pretty well.

Good luck!

Saturday, April 25, 2015

My top 10 favorite songs of all the time

Here are my top 10 songs of all the time:

10) Elissa - Ayshalak

Arabic music is not really my thing. But Ayshalak is different, it has Western Influence. Ayshalak, the main song of Elissa's third album "Ayshalak" was a huge commercial success. Elissa, the famous pop-diva in the Middle East, turned song upside down with her beautiful voice. Unforgettable song.

9) Kodaline - All I Want

This song was featured by Google; that's how got I to know the song. It had me at the beginning: "All I want is nothing more. To hear you knocking at my door. Cause if I could see your face once more. I could die a happy man I'm sure. When you said your last goodbye."

8) Coldplay - Viva La Vida

Viva La Vida is possibly Coldplay's most successful song ever. Coldplay's wikipedia page is twice larger than Kanye West's entire wikipedia page. The lyrics to the song contain historical and Christian references, and the track is built around a repeating string section in unison with a digital processed piano with a timpani background. This song alone sold 7.1 million copies worldwide and has a grammy award. The song is dope, it has been played everywhere and covered by hundreds of artists.

7) Evanescence - Bring me back to life

Along with Immortal, this song is Goddess, bring me back to life is one the hottest rock songs ever written in history.  It also features guest vocals from Paul McCoy of the band 12 Stones. Wind-up released "Bring Me to Life" in 2003 as the lead single from Evanescence's debut studio album, Fallen. The song delivers genres from alternative metal to rap rock and gothic metal, and is considered a nu metal classic. The band won in the category for Best Hard Rock Performance at the 46th Grammy Awards where the song was also nominated for Best Rock Song.

6) Loreen - My Heart Is Refusing Me

Phenomenal and original song. Amazing underrated song. Did not get the justice it deserves. Well, at least 50 million views were expected in the song. The song peaked to number 9 on the Swedish Singles Chart. She co-wrote the song with Moh Denebi and Björn Djupström.

5) Foxes - Let go for tonight

Let Go for Tonight is a song by English singer and songwriter Foxes from her debut studio album Glorious (2014). The song was released as a digital download in the United Kingdom on 23 February 2014 as the album's second single. It entered the UK Singles Chart at number 7. This is the most underrated song of all the time. It deserved at least 100 million views. The talented singer who dropped out of college for good, was attacked and criticized for not being beautiful. 

4) Hurricane - 30 Seconds to Mars

The song was written by lead vocalist and songwriter Jared Leto and produced by Leto, Flood and Steve Lilywhite. The sexual and controversial music video got banned by MTV.

3) Skillet - Comatose

Skillet had it made the song for Jesus, but I people have interpretations for it. Comatose is the seventh full-length album released by the Christian rock band Skillet. Released on October 3, 2006, this album continues their previous album's trend of downplaying the keyboard elements that were prominent in previous releases in favor of more orchestral elements and distorted guitars. Comatose has sold over 500,000 units and has been certified Gold as of November 3, 2009, their first record to do so. On December 6, 2007, the album also received a Grammy Award nomination forBest Rock or Rap Gospel Album. A deluxe edition of Comatose was then released in stores on December 26, 2007 and a live DVD of their headlining tour in support of the record was released in the fall 2008.

2)  Another Love - Tom Odell

British talent. This song is legendary; once I listened to it, my life was never the same. Two years after it has been released, I have listened to the song and once I did, the rest is history. The song peaked at number 10 on the UK Singles Chart; the song also charted in Belgium, Ireland and the Netherlands. It became Odell's first top 10 hit in the UK after it was placed at number 10 in the single chart on 29 June 2013.The song was used in the episode "Do You Remember the First Time?" of season 6 of The CW series The Vampire Diaries.

1) Chandelier - Sia

That was obviously predictable. I already have a blog post for the song chandelier.  It was written by Sia Furler and Jesse Shatkin. For me, Chandelier is the best song ever written in history, better than John Lennon's imagine, better than any Metallica song, better than any Micheal Jackson song, better than any Madonna's song, it is the best song ever in the history of music. The song was supposed to go to Rihanna but it was so personal Sia couldn't give it away because the song appeared to be personal for Sia. In the United States, the single peaked at number 8 on the Billboard Hot 100, becoming Sia's first single to appear on the Hot 100, as well as her first top ten single as a lead artist on the chart, and has sold over 2 million copies in the country. The song received four Grammy nominations for Song of the Year, Record of the Year and Best Pop Solo Performance, with its video receiving a nomination for Best Music Video at the 57th Grammy Awards. A music video for the song was directed by Sia and Daniel Askill, while it was choreographed by Ryan Heffington. It features Maddie Ziegler performing the choreography. In support of the single and 1000 Forms of Fear, Sia performed "Chandelier" on a number of shows including The Ellen DeGeneres Show, Late Night with Seth Meyers and Jimmy Kimmel Live!

Friday, April 24, 2015

Breaking News: ExoClick Bans Publisher Accounts for No Reason

Whether you are an Advertiser looking for a new source of traffic or a Publisher that is looking to generate more revenue, ExoClick.com is your solution!

This is the moto of ExoClick.com on twitter. 

ExoClick is most of the most successful internet advertisements companies in the world, yet ExoClick is one of the most greedy, unloyal and unethical company I have ever worked with. ExoClick should be sued soon.

After having almost 200$ on my ExoClick account, I couldn't login for no reason:

Note that I have never engaged myself in any click-fraud, ever. 98% of my traffic was organic. And I receive provide 100,000 monthly daily impressions for exoclick.

I have 200$ in my account, I was banned without any reason. Apparently, exoclick bans members without any reason, this not the first time, this is how exoClick works, take a look.

Exoclick bans your account if you send traffic from low-paying countries, yes it is true. Here are the evidence I found online:

Case 1: Exoclick banned this user's account because "the clicks aren't worth much".

Case 2: Banning without reason

Case 3: Banning without reason

And so on...

Exoclick should be avoided and not used. 

Friday, April 17, 2015

The Islamic answer that got me banned from skeptics.se

There is no doubt that I love contributing to skeptics.se and I absolutely love this website. I have bought the domain name skeptics.se so that it behaves like a URL shortner.

There comes the muslim question asking if pedophilia allowed and practiced in Islam?

I have had the guts to answer it, but it was very badly received and perceived. My answer received numerous flags as offensive, it had muslims checking it, it received insults and everything.

I will allow myself to post it on Blogger.com since Google supports freedom of expression, though I am not sure if it will cause any troubles.

Not only the team of skeptics.stackexchange.com deleted the answer/question from skeptics.se, they requested the removal of the page from Google cache, to get rid of the question/answer.

Fortunately, bing had has it in cache here, you can go and read it. I also requested to save it on wayback machine here, in case the team had it removed from bing cache.

My closest friend called me an "ass" when reading the answer, many people agreed and disagreed.

So, here you go.

The question:

My answer:


1) One person attacked my answer and called me a troll.

I wish I did screenshot his answer, but it was very low-quality with weak arguments like "Are you serious?", etc...

I don't have the answer, I wish I did. But, anyway.

After his answer, I got angry and started giving him my opinion.

2) Moderators deleted all my comments, without any exception.

I had every comment deleted to silence me and my objective answer, without any exception. The attacking-answer against me was kept alive for 2 days where all my comments have been deleted me. Only one moderator had the guts to talk to me which is Oddthinking, the rest didn't dare to address me. 

As you see in the screenshot, they ask me questions, I respond; but all my comments get deleted.

3) Moderators accused me of sockpuppeting without showing evidence.
Moderators said that I have created the account (and other accounts) which asked the question about Islam and Pedophilia and that account is giving me upvotes to gain reputation points.

It is like saying, 

Mr. Chalhoub, you are accused of murder and you be punished by going to prison but we can't show you the evidence because it is anonymous.

We won't tell who you killed, how you killed, where you killed him.

We're sorry but we can't show you the evidence, now go to prison.

What a disgrace, this is the email.

They have declined to show evidence.

4) Moderators have deleted the question and answer. 

5) Moderators threatened me with deleting my account. 

6) Moderators removed 200 reputation points from my account.

Didn't affect me a lot though, I can get the 180 reputation points back easily. 

7) Moderators finally banned my account for 7 days.

8) I have banned me from answering any type of questions (even after the ban).

That's right. I can't answer any type of questions, even after the ban. This decision was probably put on me to prevent me from getting reputation points or to simply to tell me "george, go away!".

The ban can be revoked with time, and I'm sure I will revoke it in few days:

As you see in the image, not only I have been banned suspended but I have been banned from answering.

After all those actions taken against me, I wanted to delete my account and stop contributing to skeptics.se, but then I realized that I've been doing exceptionally well on skeptics. I have numerous viral answers,  I am the number one skeptic of the year on leaderboard.

I wanted to delete my account, but I changed my mind, I'm staying there against all moderators, to contribute and keep promoting scientific skepticism, nothing will stop from contributing to skeptics.se.

They might be jealous because I've been the number 1 member of the year on leaderboard or maybe because I've had viral and exceptional answers, but I don't really care; I'm not concerned with what other think of me.

I'm not quitting.