Jump to content

hussam

Members
  • Posts

    119
  • Joined

  • Last visited

  • Days Won

    7

Posts posted by hussam

  1. Two complex organisms! How either could have commenced to exist without the other - or something which predated them both,and which would still be a complex organism such as would be necessary in any event... My apologies to the majoity voters (egg) but God is said to have created animals which were in a condition to reproduce (Genesis ch. 1) - so that's my vote!!

     

    God only initialized the universe (means God initialized the big bang) and set the rules which govern evolution of the universe. The six 'days' of creation mean six eras that marked different milestones in evolution.

     

    Evolution happens very slowly and so this question has a very vague response. Something that was very close to today's chicken produced an egg from which came out something closer to today's chicken and so on.

     

    God says (according to Islam) that he created everything from one piece (what do you think that one piece meant?). he created the universe and is constantly expanding it.

    That means that God's role was limited to creating the initial universe and setting the rules which led to evolution.

    The fact that this was documented 1500 years before the development of the theory of evolution and the big bang should give both some credibility.

    Even Stephen Hawking who is an atheist admits that if God exists, he simply initialized the universe and created the physical rules that govern it.

    Needless to say, the chicken/egg argument is pointless since if you look closely, religion and science don't really disagree.

    But if you absolutely need an answer, the egg came first. something that was 99.9999999999% chicken laid a 100.00% chicken egg. I don't believe religion disagrees with that.

  2. Cloudflare's blog had a discussion about that last month.

    You only need IE7 or higher, Firefox 2 or higher, Opera 8 or higher, Safari 3 or higher.

    So really anything from the last 7 years or so works.

  3. All I get when I open your website is a blank page.

    And no http error.

    curl -I http://skaven.heliohost.org/
    HTTP/1.1 200 OK
    Date: Fri, 10 Oct 2014 11:17:07 GMT
    Server: Apache/2.2.16 (Unix) mod_ssl/2.2.16 OpenSSL/0.9.8e-fips-rhel5 FrontPage/5.0.2.2635 mod_bwlimited/1.4 mod_auth_passthrough/2.1 mod_wsgi/3.3 Python/2.7.1
    Last-Modified: Sun, 28 Aug 2011 02:19:08 GMT
    ETag: "2800c0-a7-4ab8768add500"
    Accept-Ranges: bytes
    Content-Type: text/html
    Content-Length: 167
    Age: 57
    

  4. If you want to use cloudflare on your own domain, create an account there and choose the option to add a new website.

    It will walk you through it.

    If your domain is already pointing to heliohost, cloudflare will detect the A record. If not, the next screen will give you the option to manually add it. Use the IP in heliohost cpanel.

     

    It will ask you to point your domain to cloudflare free dns and it will then show you a screen where you can add A Records, MX records, CNAMEs, etc...

    Go to your registrar's website and change the NS records.

    Keep in mind this means cloudflare is now managing ALL your dns records so the ones you have on heliohost cpanel will need to be manually copied over to cloudflare dns settings.

    • Like 1
  5. Regarding the bash bug, not trying to say it is not a major bug because it is indeed a huge bad one.

    However, they don't allow ssh or php functions that can execute processes at heliohost so we are basically more or less safe.

    I recompiled bash on my computer up to the 4.3.027 patchset.

    There is no privilege escalation issue here, only a bug where bash can execute code it is not supposed to at the privilege of the service issuing the shell commands.

  6. I am working on rewriting an old wordpress theme wp-andreas00 while trying to make it look and behave the same as much as possible. It is not a responsive template so just your old-school fixed width template.

    The original theme was from 2008 and so contained a lot of deprecated functions and didn't support comment pagination, and didn't use wp_list_comments() (which meant using plugins for comment system like disqus didn't work) etc.. and I had to fix all that.

    This is my first attempt at a wordpress theme so it far from perfect. It has been a very good learning experience and it led me to learn a lot of the wordpress framework, functions and APIs.

    The source code is here: https://github.com/hussamT/wp-andreas00

    Download-able zip: https://github.com/hussamT/wp-andreas00/archive/master.zip

     

    So far the changes are:

    • New comments.php script.
    • Replaced most deprecated functions.
    • Replaced hardcoded date format with the_date() function so the theme can follow the wordpress settings for date format.
    • Added support for custom header banners.
    • Added support for post thumbnails (in single posts only to keep the front page clean).
    • Added support for custom menus.
    • Used wp_enqueue_style() for theme style sheet.
    • Added support for automatic feed links and removed hardcoded ones from header.php file.
    • Moved some common code from scripts to functions.php file.
    • Now uses post_class() for better control over post styling.

    Comments and suggestions are more than welcome (especially stuff I did wrong and stuff I can improve).

    Again, this is my first attempt at learning wordpress templates.

  7. showDiv() is a php function in your case.

    but it doesn't do anything apart from show html code. <div> is an html tag so you close the php tag before <div ...> and then added <?php } ?> for the closing }.

     

    to use your showDiv function, you need to <?php showDiv() ?>

     

    if this confuses you, there is always:

    <?php

    function showDiv() {

    echo "<div id="test">Hello, world!</div>";

    } ?>

     

    to use this, you can <? php showDiv() ?>

  8. Hi. I lost my cpanel password after generating a new one.

    So I tried to reset my password and i got an email for a reset link which gave me a new one with lots of symbols, a mix of capital and lower case letters.

    But new password won't work either.

    Original one doesn't work either.

     

    What can I do?

     

    Edit: Nevermind. It started working again after 6 minutes since reset.

     

    Sorry for the noise. Feel free to delete the thread.

×
×
  • Create New...