blog posts

databases (1) django (1) drupal (2) java (4) processing (7) wamp (1) yahoo pipes (1)

Sunday, 30 January 2011

temperature data

Saturday, 29 January 2011

a copy of php my admin

<?php

// Page créé par Shepard [Fabian Pijcke] <Shepard8@laposte.net>
// Arno Esterhuizen <arno.esterhuizen@gmail.com>
// et Romain Bourdon <romain@anaska.com>
// 
// icônes par Mark James <http://www.famfamfam.com/lab/icons/silk/>



//chemin jusqu'au fichier de conf de WampServer
$wampConfFile = '../wampmanager.conf';

//chemin jusqu'aux fichiers alias
$aliasDir = '../alias/';



// on charge le fichier de conf locale
if (!is_file($wampConfFile))
    die ('Unable to open WampServer\'s config file, please change path in index.php file');
//require $wampConfFile;
$fp = fopen($wampConfFile,'r');
$wampConfFileContents = fread ($fp, filesize ($wampConfFile));
fclose ($fp);


//on récpères les versions des applis
preg_match('|phpVersion = (.*)\n|',$wampConfFileContents,$result);
$phpVersion = str_replace('"','',$result[1]);
preg_match('|apacheVersion = (.*)\n|',$wampConfFileContents,$result);
$apacheVersion = str_replace('"','',$result[1]);
preg_match('|mysqlVersion = (.*)\n|',$wampConfFileContents,$result);
$mysqlVersion = str_replace('"','',$result[1]);
preg_match('|wampserverVersion = (.*)\n|',$wampConfFileContents,$result);
$wampserverVersion = str_replace('"','',$result[1]);



// repertoires à ignorer dans les projets
$projectsListIgnore = array ('.','..');


// textes
$langues = array(
    'en' => array(
        'langue' => 'English',
        'autreLangue' => 'Version Fran&ccedil;aise',
        'autreLangueLien' => 'fr',
        'titreHtml' => 'WAMP5 Homepage',
        'titreConf' => 'Server Configuration',
        'versa' => 'Apache Version :',
        'versp' => 'PHP Version :',
        'versm' => 'MySQL Version :',
        'phpExt' => 'Loaded Extensions : ',
        'titrePage' => 'Tools',
        'txtProjet' => 'Your Projects',
        'txtNoProjet' => 'No projects yet.<br />To create a new one, just create a directory in \'www\'.',
        'txtAlias' => 'Your Aliases',
        'txtNoAlias' => 'No Alias yet.<br />To create a new one, use the WAMP5 menu.',
        'faq' => 'http://www.en.wampserver.com/faq.php'
    ),
    'fr' => array(
        'langue' => 'Français',
        'autreLangue' => 'English Version',
        'autreLangueLien' => 'en',
        'titreHtml' => 'Accueil WAMP5',
        'titreConf' => 'Configuration Serveur',
        'versa' => 'Version de Apache:',
        'versp' => 'Version de PHP:',
        'versm' => 'Version de MySQL:',
        'phpExt' => 'Extensions Charg&eacute;es: ',
        'titrePage' => 'Outils',
        'txtProjet' => 'Vos Projets',
        'txtNoProjet' => 'Aucun projet.<br /> Pour en ajouter un nouveau, cr&eacute;ez simplement un r&eacute;pertoire dans \'www\'.',
        'txtAlias' => 'Vos Alias',
        'txtNoAlias' => 'Aucun alias.<br /> Pour en ajouter un nouveau, utilisez le menu de WAMP5.',
        'faq' => 'http://www.wampserver.com/faq.php'
    )
);



// images
$pngFolder = <<< EOFILE
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAAA3NCSVQICAjb4U/gAAABhlBMVEX//v7//v3///7//fr//fj+/v3//fb+/fT+/Pf//PX+/Pb+/PP+/PL+/PH+/PD+++/+++7++u/9+vL9+vH79+r79+n79uj89tj89Nf889D88sj78sz78sr58N3u7u7u7ev777j67bL67Kv46sHt6uP26cns6d356aP56aD56Jv45pT45pP45ZD45I324av344r344T14J734oT34YD13pD24Hv03af13pP233X025303JL23nX23nHz2pX23Gvn2a7122fz2I3122T12mLz14Xv1JPy1YD12Vz02Fvy1H7v04T011Py03j011b01k7v0n/x0nHz1Ejv0Hnuz3Xx0Gvz00buzofz00Pxz2juz3Hy0TrmznzmzoHy0Djqy2vtymnxzS3xzi/kyG3jyG7wyyXkwJjpwHLiw2Liw2HhwmDdvlXevVPduVThsX7btDrbsj/gq3DbsDzbrT7brDvaqzjapjrbpTraojnboTrbmzrbmjrbl0Tbljrakz3ajzzZjTfZijLZiTJdVmhqAAAAgnRSTlP///////////////////////////////////////8A////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////9XzUpQAAAAlwSFlzAAALEgAACxIB0t1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YP6L6P0guIqkVjt0DisEGAAQQigEgG0AhHxBVi4L9wqvBBiEHtqs/xACAAAIbEBBd/x+Eg2ObwH4FORmGfYCaQRikCUS7B5YBNReBMUgvQABBDADaAtIIwsEx9f/Dk9pQsH9kHTh8XANKMAIRIIDAhF9ELTiQQH4FaQAZCAsskPNhyRpkK7oBAAEEMSC8GsVGkEaYIlBghcU3gbGzL6YBAAEEJnzCgP6EYs/gcjCGKQI5G4Z9QiswDAAIIAZKszNAgAEAHgFgGSNMTwgAAAAASUVORK5CYII=
EOFILE;
$pngWrench = <<< EOFILE
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAAA3NCSVQICAjb4U/gAAABO1BMVEXu7u7n5+fk5OTi4uLg4ODd3d3X19fV1dXU1NTS0tLPz8+7z+/MzMy6zu65ze65zu7Kysq3zO62zO3IyMjHx8e1yOiyyO2yyOzFxcXExMSyxue0xuexxefDw8OtxeuwxOXCwsLBwcGuxOWsw+q/v7+qweqqwuqrwuq+vr6nv+qmv+m7u7ukvumkvemivOi5ubm4uLicuOebuOeat+e0tLSYtuabtuaatuaXteaZteaatN6Xs+aVs+WTsuaTsuWRsOSrq6uLreKoqKinp6elpaWLqNijo6OFpt2CpNyAo92BotyAo9+dnZ18oNqbm5t4nt57nth7ntp4nt15ndp3nd6ZmZmYmJhym956mtJzm96WlpaVlZVwmNyTk5Nvl9lultuSkpKNjY2Li4uKioqIiIiHh4eGhoZQgtVKfNFdha6iAAAAaXRSTlMA//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////914ivwAAAACXBIWXMAAAsSAAALEgHS3X78AAAAH3RFWHRTb2Z0d2FyZQBNYWNyb21lZGlhIEZpcmV3b3JrcyA4tWjSeAAAAKFJREFUGJVjYIABASc/PwYkIODDxBCNLODEzGiQgCwQxsTlzJCYmAgXiGKVdHFxYEuB8dkTOIS1tRUVocaIWiWI8IiIKKikaoD50kYWrpwmKSkpsRC+lBk3t2NEMgtMu4wpr5a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ADx7+kG7NSvpOrMnMjt5NUmAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAP///////z9AH///////P0AH//////8/QAD//////z9AAD//////P0AwB/////8/YB4B/////z9wD8Af////P3gH8AH///8/fAP+AB///z9+Af/AB///P38A//AD//8/f4B//AP//z9/wB//A///P3/gD/wD//8/f/gH8Af//z9//APAB///P3/+AQAf//8/f/8AAH///z9//4AA////P3//AAP///8/f/wAD////z9/8AAH////P3+AAAP///8/fAAEAf///z94AB8A////P3AA/4B///8/cAP/wD///z9wD4fgH///P3h/A/AH//8/f/8D+AP//z9//gP+AP//P3/8B8cAf/8/f/wPg4Af/z9/+B+DwA//P3/4PwPwA/8/f/x/A/gA/z9///8D/AA/P3///wP/AD8/f///B+GAPz9///8HwcA/P3///wfA8D8/f///D8D8fz9/////wP//P3/////gf/8/f////+B//z9/////8P//P3/////w//8/SgAAAAYAAAAMAAAAAEAIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAC7jFuUp18I8LR8QLS/k2RD3NDGAgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACqZhvhplwC/6ZcA/2nXg/trW4q0LiHTm3OtJkPAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADJonqGpFkB/6ZdBfzNsJBSxaB5MLyNXISvcSvPtX9FmcCWZzYAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADk2c4IuIJGtqRaAf+mXQn4v5duWgAAAADVw7MCw5puQLeDSqCxdjXCuopTd8qqiSLd08wBAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA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affichage des images
if (isset($_GET['img']))
{
    switch ($_GET['img'])
    {
        case 'pngFolder' :
        header("Content-type: image/png");
        echo base64_decode($pngFolder);
        exit();
       
        case 'pngFolderGo' :
        header("Content-type: image/png");
        echo base64_decode($pngFolderGo);
        exit();
       
        case 'gifLogo' :
        header("Content-type: image/gif");
        echo base64_decode($gifLogo);
        exit();
       
        case 'pngPlugin' :
        header("Content-type: image/png");
        echo base64_decode($pngPlugin);
        exit();
       
        case 'pngWrench' :
        header("Content-type: image/png");
        echo base64_decode($pngWrench);
        exit();
       
        case 'favicon' :
        header("Content-type: image/x-icon");
        echo base64_decode($favicon);
        exit();
    }
}



// Définition de la langue et des textes

if (isset ($_GET['lang']))
{
    $langue = $_GET['lang'];
}
elseif (preg_match("/^fr/", $_SERVER['HTTP_ACCEPT_LANGUAGE']))
{
    $langue = 'fr';
}
else
{
    $langue = 'en';
}



// recuperation des alias
if (is_dir($aliasDir))
{
    $handle=opendir($aliasDir);
    while ($file = readdir($handle))
    {
        if (is_file($aliasDir.$file) && ereg('.conf',$file))
        {       
            $msg = '';
            $aliasContents .= '<li><a href="'.ereg_replace('.conf','',$file).'/">'.ereg_replace('.conf','',$file).'</a></li>';
        }
    }
    closedir($handle);
}
if (!isset($aliasContents))
    $aliasContents = $langues[$langue]['txtNoAlias'];


// recuperation des projets
$handle=opendir(".");
while ($file = readdir($handle))
{
    if (is_dir($file) && !in_array($file,$projectsListIgnore))
    {       
        $projectContents .= '<li><a href="'.$file.'">'.$file.'</a></li>';
    }
}
closedir($handle);
if (!isset($projectContents))
    $projectContents = $langues[$langue]['txtNoProjet'];


// recuperation des extensions PHP
$loaded_extensions = get_loaded_extensions();
foreach ($loaded_extensions as $extension)
    $phpExtContents .= "<li>${extension}</li>";




$pageContents = <<< EOPAGE
<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
    "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">

<html lang="en" xml:lang="en">
<head>
    <title>{$langues[$langue]['titreHtml']}</title>
    <meta http-equiv="Content-Type" content="txt/html; charset=utf-8" />

    <style type="text/css">
* {
    margin: 0;
    padding: 0;
}

html {
    background: #ddd;
}
body {
    margin: 1em 10%;
    padding: 1em 3em;
    font: 80%/1.4 tahoma, arial, helvetica, lucida sans, sans-serif;
    border: 1px solid #999;
    background: #eee;
    position: relative;
}
#head {
    margin-bottom: 1.8em;
    margin-top: 1.8em;
    padding-bottom: 0em;
    border-bottom: 1px solid #999;
    letter-spacing: -500em;
    text-indent: -500em;
    height: 125px;
    background: url(index.php?img=gifLogo) 0 0 no-repeat;
}
.utility {
    position: absolute;
    right: 4em;
    top: 145px;
    font-size: 0.85em;
}
.utility li {
    display: inline;
}

h2 {
    margin: 0.8em 0 0 0;
}

ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
#head ul li, dl ul li, #foot li {
    list-style: none;
    display: inline;
    margin: 0;
    padding: 0 0.2em;
}
ul.aliases, ul.projects, ul.tools {
    list-style: none;
    line-height: 24px;
}
ul.aliases a, ul.projects a, ul.tools a {
    padding-left: 22px;
    background: url(index.php?img=pngFolder) 0 100% no-repeat;
}
ul.tools a {
    background: url(index.php?img=pngWrench) 0 100% no-repeat;
}
ul.aliases a {
    background: url(index.php?img=pngFolderGo) 0 100% no-repeat;
}
dl {
    margin: 0;
    padding: 0;
}
dt {
    font-weight: bold;
    text-align: right;
    width: 11em;
    clear: both;
}
dd {
    margin: -1.35em 0 0 12em;
    padding-bottom: 0.4em;
    overflow: auto;
}
dd ul li {
    float: left;
    display: block;
    width: 16.5%;
    margin: 0;
    padding: 0 0 0 20px;
    background: url(index.php?img=pngPlugin) 2px 50% no-repeat;
    line-height: 1.6;
}
a {
    color: #024378;
    font-weight: bold;
    text-decoration: none;
}
a:hover {
    color: #04569A;
    text-decoration: underline;
}
#foot {
    text-align: center;
    margin-top: 1.8em;
    border-top: 1px solid #999;
    padding-top: 1em;
    font-size: 0.85em;
}
</style>
   
    <link rel="shortcut icon" href="index.php?img=favicon" type="image/ico" />
</head>

<body>
    <div id="head">
        <h1><abbr title="Windows">W</abbr><abbr title="Apache">A</abbr><abbr title="MySQL">M</abbr><abbr title="PHP">P</abbr></h1>
        <ul>
            <li>PHP 5</li>
            <li>Apache 2</li>
            <li>MySQL 5</li>
        </ul>
    </div>

    <ul class="utility">
        <li>Version ${wampserverVersion}</li>
        <li><a href="?lang={$langues[$langue]['autreLangueLien']}">{$langues[$langue]['autreLangue']}</a></li>
    </ul>

    <h2> {$langues[$langue]['titreConf']} </h2>

    <dl class="content">
        <dt>{$langues[$langue]['versa']}</dt>
        <dd>${apacheVersion} &nbsp;</dd>
        <dt>{$langues[$langue]['versp']}</dt>
        <dd>${phpVersion} &nbsp;</dd>
        <dt>{$langues[$langue]['phpExt']}</dt>
        <dd>
            <ul>
            ${phpExtContents}
            </ul>
        </dd>
        <dt>{$langues[$langue]['versm']}</dt>
        <dd>${mysqlVersion} &nbsp;</dd>
    </dl>
    <h2>{$langues[$langue]['titrePage']}</h2>
    <ul class="tools">
        <li><a href="?phpinfo=1">phpinfo()</a></li>
        <li><a href="phpmyadmin/">phpmyadmin</a></li>
        <li><a href="sqlitemanager/">sqlitemanager</a></li>
    </ul>
    <h2>{$langues[$langue]['txtProjet']}</h2>
    <ul class="projects">
    $projectContents
    </ul>
    <h2>{$langues[$langue]['txtAlias']}</h2>
    <ul class="aliases">
    ${aliasContents}           
    </ul>
    <ul id="foot">
        <li><a href="http://www.wampserver.com">WampServer</a></li> -
        <li><a href="http://www.anaska.com">Powered by Anaska</a></li>
    </ul>
</body>
</html>
EOPAGE;

echo $pageContents;
?>

Wednesday, 26 January 2011

showing tempature data

rect(100,10*row,row,row);

adding the row value in colour gives us a change of colour alternatively we could use the loop functiion

fill(8*row,255,10);
rect(10*row,100,100,100);













Saturday, 22 January 2011

connect to mysql data for wamp

if you are trying to connect to mysql

and you type mysql on your terminal (cmd)
you will recieve an ERROR 1045 access denied for user 'ODBC'@'localhost' <using password no>

to fix this problem you just need login
mysql -u root -p
you will be asked for a password enter this and you will have logged onto mysql

Friday, 21 January 2011

php email problem on windows machine localhost

what to do if you get this error message
arning: mail() [function.mail]: Failed to connect to mailserver at "localhost" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set() in C:\wamp\www\phpdev\report.php on line 39

1. to fix this problem you need to change the smtp settings (simple mail transfer protocol)
2. look at the php.ini file at this location wamp/Apache2/bin/php.ini
3. open the file using your favorite text editor 
4. search for smtp
the default is SMTP = localhost 
5. what you need to find out from your service provider is the name of your smtp.
now replace the localhost value with the name of your service provider 
6. now reset wamp 



Wednesday, 19 January 2011

processing an example of the google api static map

 PImage img;
 void setup() {
   size(400,400);
   img = loadImage("http://maps.google.com/maps/api/staticmap?center=Berkeley,CA&zoom=14&size=400x400&sensor=false","jpg");
   image(img,0,0,width,height);
 }



Instead of passing an nromal image we have passed a google static image. From this we can now add points onto the map. This can be done with google api or can be done in the processing package.

configure blue j

Blue J is a very clever program for java. It is very good in the teaching of object orientated programming.

1. download bluej
2. install it
3. To setup a blue j project go to new project

you will given a path to create your directory.
4. Once you have decided where you would like your project. Click Create
5. Now you will have a window like this

when you click new class a new menu will appear don't change any of the option just type into the textbook
Hello01.
6. Now you should have a similar image to what i have displayed below

You have created your first class.. 7 Now double click on the orange box with shading a code window will appear.

 There is default code already in the window. 8 Remove all the code and type this code in
and type in this code


public class Hello1
{
  
    // All java applications have a main() method.
    // This one displays a simple message.
  
    public static void main(String[] args)
    {  
    
        System.out.println("Hello World.");
    }
}



now you have have a simular image to the one stated below
8 now click on the button that says compile in the top left hand corner. 

now you have compiled your program

go back to your diagram with the class on it. 
you will see that the diagram of the class has changed the has marks have disappeared. This shows you graphically that your class has been compiled. 

notice that the hash marks have gone and there are only two lines in the corner of the book. 

Now right click your mouse button and on the menu click on the the option void main(String [] args)
A new window will appear with the message hello world 




Tuesday, 18 January 2011

Drupal Intro installation in windows operating system. part 2

In the last tutorial we setup the software we needed and uzniped some files. In this tutorial we are going to setup the drupal enviroment. Remember if you are starting again start your wamp server. to make sure you have your little icon

Now you have got your server started again. Lets get are drupal installation running.
1. go to the drupaltest directory that we created in part 1. Now look inside the drupal directory for settings. the path is sites ->settings-> default. Inside this folder you have a file called default_settings.php. Now all you need to do is make a copy of this file and place it inside the same directory. change the name to settings.php.











Writing Hello world in php

you first need open and closed tags

<?php

?>


now you want to print out the text hello world in a variable.
$text = 'Hello World';
 A variable is a storage mechanism to store a value. In php you dont need to declare the type of variable that you need to in other languages such as java.
The print function that is found in php is echo

so if we now want to print hello world

<?php
$text = 'hello world;
echo $text;

?>

In this tutorial you learnt the basic syntax for the openning and closing tags in php as well as what a varaible is and hwo to print text using a variable

Drupal Intro installation in windows operating system.

Alot of you have probably heard about drupal. Well drupal is a content management system. It is an incredible community with lots of modules available. In todays tutorial I am going to show you how to setup a drupal installation using mysql as your database.
1. Download wamp 1.7. this works well with 6.x of drupal.
2. now install wamp where you want it installed on your machine usually its best to install it on your c path. c:/wamp.
2.1 Now to load wamp you need to click on the program which is located in my programs.
An icon at the bottom of your screen will start working it will change from a yellow to a white. When the wamp icon is white. {image comming soon}
2.2 open a web browser you will be asked if you want to make this your default browser.
2.3 in the web address bar type in localhost. Now look for phpmyadmin. This will take you to a graphical presentation of mysql
2.4 There is a privliages section. If you scrole down you will see a password option. type in a password and click go near the password boxes. Now refresh the page. You will get an error message.
2.5 To fix this go to wamp directory and  type config.inc.php. Inside this file you will see a line that looks like this $cfg['Servers'][$i]['password'] = '';  inbetween the two single quotation marks enter the name of your password then save the file.

3. http://drupal.org/project/drupal download tar.gz unzip this file by downloading a program such as winrar. Now you are ready to setup drupal.
Its a good idea to use an IDE i usually use netbeans. Its quite a nice interface for edding files. you can offcourse use any sort of text file. now create a directory inside c:/wamp/www for example called it drupaltest.

unzip your drupal files and copy and pasted them into the directory you have create.
now go to phpmyadmin and create a database for more information on creating tables see post on phpmyadmin building my first database graphically.
once you have created your database. you need to go into your settings file. For people who havent used phpmyadmin before here is a little image with annotations.
click on image to view it close up.

Sunday, 16 January 2011

Setup a django wiki part 1

Firstly you need to create the project


This shows that you use the command python and then the path of the file django-admin.py
Then you use the command startproject to create a new project

Next you want to  to setup the database

To do this go to your settings.py file located in your wikicamp directory  file

engine inside the quotations to sqlite3
the name of the database is your file so in this example the database name is wikicamp.db

to run the server open up a new command prompt and go to the diretory structure of where you have put the project wiki camp 
setup the server python manage.py runserver




now you to sync the database with django .
python manage.py syncdb

now you will be asked to choose a username email address and password. As well as the packages being installed



now we need to create some extra files to we can use models

to do this type the command
python manage.py startapp wiki (make sure that your path includes the wikicamp directory

once you have create some extra files you need to right code for your model
this is found in wiki folder in model.py file

class Page(models.Model):
    name = models.CharField(max_length=200, primary_key = True)
    content = models.TextField(blank=True)

now you need to install your packages go to your settings.py file and at the bottom of the default settings

django.contrib.auth',
    'django.contrib.contenttypes',
    'django.contrib.sessions',
    'django.contrib.sites',
    'django.contrib.messages',
  'wikicamp.wiki'

now save the settings.py file 

now go to your command prompt and type 
python manage.py syncdb

you will get more output showing the file has been synchronised 


if you would like to see the database tables that where created you can test this by typing 
python manage.py sql wiki
this will output the database query

Wednesday, 12 January 2011

What are entities

An entity is for example an office an office has attributes such as staff members

java programing intro

In this introduction i am going to teach you how to tell the world that you exist.


Since this is a basic tutorial i am going to write some code that you might not first understand.


class ham
{

public static void main(String [] args)
{

System.out.println("hello world")
}


}

Lets take a real world anaology. Lets think of a class as our clickboard and on this clipboard is pad of paper. The pad of paper in java term is called a main method and this is where java look first when excuting the code. To continue are anology on our piece paper there is a a message writen on it that says hello world. So when the program is run the words hello world are printed to the screen. The method that java uses to print is System.out.println. This basically means print what ever is inside the brackets. in our case we are using a string. This is basically characters from the alphabet.

I hope you found this useful.

how to fix errors in phpmyadmin

When you first setup your phpmyadmin you are asked to set an admin password.

Step 1: locate the file config.inc.php file that is located in phpmyadmin
Step 2: when you have located the file open notepad
Step 3: locate this particular string of characters in the file by going to find
$cfg['Servers'][$i]['password'] = ''; 
Step 4 inside the single empty quotes type your password 
Here is an example to show you what you should do 
$cfg['Servers'][$i]['password'] = 'enter the password here';

Tuesday, 11 January 2011

processing a two dimensional dataset

void setup()
{
 size(500,400);
 smooth();
 
}


                     
                     

// create arrays to hold data results

// create one array to hold conservative data
// create a second array to hold data on labour
// create a third array to hold data on liberal democrates





void draw()
{
 
float [][] multiid = {
                        {38.6, 35.9, 38.6},
                        {33.7, 33.0, 32.8},
                        {27.7,31.1,28.6},
                      };
                   
                    // design a two dimensional loopp
                 
                  for (int i=0; i < multiid.length; i++)
                {
               
                      for(int x=0; x < multiid[i].length; x++)
                      {
                      fill(255,0,0);
                        ellipse(20*i+20,20+40*x, multiid[i][x], multiid[i][x]);
                      text(multiid[i][x], 100*i ,100*x); 
                      }
                }  
 
}

as i have just realised the loop is not accessing the data as i first expected i will not work on a revison 

processing How to visualise a certain dataset using 1day array

void setup()

{

 size(400,400);

 smooth();


}



                   

                   


// create arrays to hold data results


// create one array to hold conservative data

// create a second array to hold data on labour

// create a third array to hold data on liberal democrates






void draw()

{


  

    fill(255,10);         

  rect(0,0,400,400);


 

    float test[] = {38.6, 35.9, 38.6};

       

     



  

          float Conservative[] =  {38.6, 33.7, 27.7};

          float Labour[] =  {35.9, 33.0, 31.1};

          float libdems[] = {38.6,32.8, 28.6};


    for(int i=0; i < Conservative.length; i++)

    {

   



      fill(0,0,255);

      ellipse(100,150*i+50,Conservative[i],Conservative[i]);

   

    }

 

    for(int i=0; i < Labour.length; i++)

    {

      fill(255,0,0);

      ellipse(200,150*i+50,Labour[i],Labour[i]);

   

    }

  

      for(int i=0; i < libdems.length; i++)

    {

      fill(255,255,0);

      ellipse(300,150*i+50,libdems[i],libdems[i]);

   

    }

 


 

 



}





Monday, 10 January 2011

Django for Windows 7 editing poll options

We saw in the last tutorial how to setup polls in django. The code that is listen below shows quite clearly show are initial code which is commented out and beneath this the new code this alters the order of the poll.  
#admin.site.register(Poll) first generation answer

class PollAdmin(admin.ModelAdmin):
    fields = ['pub_date', 'question']

admin.site.register(Poll, PollAdmin)




lets say we want to collapse some of the fields to make them easier to manage.
we can do this by altering the code like so go to your admin.py file and change the fields so they read

class PollAdmin(admin.ModelAdmin):
    fieldsets = [
        (None,               {'fields': ['question']}),
        ('Date information', {'fields': ['pub_date'], 'classes': ['collapse']}),
    ]
if we exam the code we can see that we have the date field like before but we have added 
classes : ['collapse']
 
 

Configure sqlite3 django for Windows 7 part 2

now if you type in

http://127.0.0.1:8000/admin/

you will be takin for an admin screen
now when you create your database you where asked to login with super user you could choose yes or no
if you chose yes you would have been asked for a username a password and an email address
Enter your username and password


you probably noticed hang a second where are the polls that we create earlier well we need to modify the admin settings so we can manage are polls.

for this in the polls folder we need to create a file called admin.py

from polls.models import Poll
from django.contrib import admin

admin.site.register(Poll)
now retart the server with the following commands:
python manage.py runserver
your screen shoudl look like this 
Now lets look at some polls 


Now this is fine for one question but what happens if we have many questions it would be nice to collapse then and then move onto the next question 



Error with setting up Django sqlite3 database

In this file i purposely made mistakes to see what would happen. I hope this helps

Configure Django Database sqlite3 for Windows 7

to settup the database for Django
step 1: go to the settings file
 ENGINE': 'django.db.backends.sqlite3', # Add 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' or 'oracle'.
        'NAME': 'mysite.db',                      # Or path to database file if using sqlite3.

for sqlight3 you just need to state the engine as sqlite3

type the command
python manage.py syncdb
remmeber the name of the database is just the name of the directory of your project in my case mysite.db

if everthing works you should get ouput simular to this image

The next step is to create your database tables to achieve this you need
to enter the command
python manage.py sql polls

BEGIN;
CREATE TABLE "polls_poll" (
    "id" serial NOT NULL PRIMARY KEY,
    "question" varchar(200) NOT NULL,
    "pub_date" timestamp with time zone NOT NULL
);
CREATE TABLE "polls_choice" (
    "id" serial NOT NULL PRIMARY KEY,
    "poll_id" integer NOT NULL REFERENCES "polls_poll" ("id"),
    "choice" varchar(200) NOT NULL,
    "votes" integer NOT NULL
);
COMMIT;
you should get to simular output to what is shown above
now you need to run the syncdb again to create those tables in the database. 
python manage.py syncd 
it will tell you about the new fixtures that have been added 
eg the polls 

 

Windows 7 for Google app engine exercises 1 Hello world

step 1 create a directory called hello world

Step 2 The directory should have a few files the settings file app.yaml
2.1 content of app.yaml
application: hello
version: 1
runtime: python
api_version: 1

handlers:
- url: /.*
  script: hello.py


Step3 a python file called helloworld.py
print 'Content-Type: text/plain'
print ''
print 'Hello, world!'
 
 to activate your project click run
then when you have a green dot the 
other options will light up and you can click browse

Google app engine setup basics

1. download pythonxx (x stands for the particular version that is currentely available)
http://www.python.org/download/
2.  now download google app engine.
http://code.google.com/appengine/downloads.html
3. now create a folder for example hello.

app engine has configuration file called app.yaml

Among other things this file describes which handerl scripts should be used with which urls


# first line please indication the name of your application for example helloworld

application: helloworld

# version number
version: 1

# run time enviroment at the oment python and java are the main languages
runtime: python
# the version of the api
api_version 1

# handlers are very useful to structuring your document
it uses regular rexpression to find the url paths.
An example of this is the /stylesheets
handlers:
  -url : /stylesheets
  static_dir: stylesheet

# lastly the name of the script is helloworld.py
    script: helloworld.py

Sunday, 9 January 2011

Configure Django For Windows 7 part 2

Step 1
Now we have finished with basic setup lets create are first Project
python c:\pythonXX/lib/site-packages/django/bin/django-admin.py startproject myproject (the reason that i have put xx is that the vision that you are using might be different to my version of python
Step 2
now lets start our server 
load this up by going to the dev directory of your project eg my project
python manage.py runserver

Saturday, 8 January 2011

Configure Django For Windows 7

Step 1:
First you need to download and install python. You can get a python installation from
http://www.python.org/download/
Step 2: now setup enviromental variables.
1. go to my computer and click your menu button
2.  now go to advanced system settings
3. look for the button enviromental variables
4. looked for system variables
5. chooes the variable called path
6. click edit

7. Now go to the end of the list
8. Enter C:/Pythonxx ; (put semi colon at the end)
9. To test this worked correctly. Go to the start menu
accessories --> cmd
type python if the system works
you will get a prompt like >>>

Step 3
1. download load the  Django-1.2.4.tar.gz.
2. now find a place you want to unzip the tar.gz file. To unzip you can ues a program called 7 zip.
3. when the file is unzipped  go to the director you unzipped in by going to cmd
4. type the command python setup.py install
5. This will unzip django for you
6 now to store your django project create a directory on your c:/ prompt
call it dev
mkdir creates a directory in msdosd

Popular Posts