Sunday, July 18, 2010

Cards For Death Anniversary

The 3 Big Lies of programmers

The 3 Big Lies of programmers


1.The program is fully tested and error free

2.These working on documentation

3.Por course we can modify

- Anonymous

Saturday, July 17, 2010

Connecting Hard Drive To Lcd Tv

Introduction to Code Igniter

This article is
excellent cooperation of Jesus Yepes, who can read his blog. Remember that the invitation is open to post your items.

In this small post I will make a brief review of the most important reasons to use a php Framework for making our developments more quickly and efficiently (and what's hot, it must be said).

first thing you should do is see what position you are. A framework is designed for people who have a domain, at least half of the programming language in which it is made (in this case PHP) and they want their projects in a more orderly quick. If you are starting with php this is NOT the way you should go. You should start learning PHP "bareback" and then choose the best framework for your caso.También is thankful to be familiar with the model of object-oriented programming in PHP. Why

Code Igniter?
When I caught the bug of frameworks in PHP, which was seeking views on use. Obviously, everyone has their preferences, but something that everyone agrees is that Code Igniter is a great documentation and community, a prerequisite if you're starting in this business, because sooner or later we have questions and someone will have to ask ... no?

addition, Code Igniter is highly extensible, fast, supports PHP 4 (the latest stable version, 1.7.2). Future versions will not support PHP 4, PHP 5 to work required.

Code Igniter MVC uses a programming style in which the application is enter separate layers:

■ Model: The processing / get the data. Generally, we will use it primarily to manage the input and output data in our database.
■ View: Call from the driver, is the way to represent data on the screen. In Code Igniter (and any framework for web) is the mount all the html).
■ Controller: As the name suggests, is that "control" what happens in our aplicación.Básicamente, and roughly a controller receives a request, gets model data, processes, and passes the light to their display properly.
also have helpers in Code Igniter, hooks and bookstores, but we'll discuss this later. Broadly speaking, helpers are a set of functions grouped by functionality, ie, have a helper to create forms, have a helper to work with dates, etc.. The libraries are classes. We have libraries to send emails, we have libraries to validate the data that come from a form, etc.

Hello World!
Note: You must have a web server that supports php, installed, configured and running. For testing, we use a local machine using MAMP MacOs.Puedes Wamp running on Windows, Mac or Mamp Mamp in linux, or you can mount Apache + PHP + MySQL by hand.

started with a sample application, let us roll. Let Codeigniter.com and we downloaded the latest version (1.7.2 at the time of writing). Once downloaded, you will see that we have two directories: System and user_guide. User_guide folder is the documentation can be found on their website in HTML format, it is not necessary for our application to work.

Download and unzip to a directory accessible by our server web.Tendremos the system folder (which contains the framework itself), the directory application you see (is within the system, but I would move it outside to have it all More separately) and the file index.php, which is responsible for starting the whole framework. User_guide directory and the license file I deleted, because they are not required to use the framework.



The first thing to do is edit the file application / config / config.php and put the data from our server, the first parameter, $ config ['base_url'] = http://example.com/; example.com changing our URL, in my case: http://localhost/Sites/ci-baw/

Note: to assure you always end with the url: /

Now, we have access to that directory using our favorite browser ( Needless to say, that for web development, Firefox + Firebug)



We can see that everything went well. We get a default page, which tells us that loaded welcome_message.php view which corresponds to driver controllers / welcome.php.

Well, let's get to see the code, and understand that you have run the driver as welcome and the view is loaded.

applicattion Open the file / config / routes.php:



'll see the following lines of code:

$ route ['default_controller'] = "welcome";
$ route ['scaffolding_trigger'] = ""; It is telling that the driver Code Igniter, if you do not specify any, will be "welcome." Scaffolding_trigger parameter will not see at the moment.

Now, open the file application / controllers / welcome.php.

load-> view ('welcome_message');

}} Let's see, the driver is always called after the name of the file, but with the first in capitals, and must always extend the Controller class. If we declare a constructor (because we need it) in PHP 4 function Welcome () in PHP 5 function__construct (), the first thing we always do in the constructor is to call the constructor of the parent class, in this case, Parant :: Controller (). The constructor will define when we need to assign values \u200b\u200bto the whole class, or load libraries or helpers that use the entire class.

index method is the running if we have not said otherwise. This method, all you do is load a view, 'welcome_message'. If we open the file application / views / welcome_message.php see that contains the code that generates the page we have seen in our browser.

Now, by way of example and finally, let's create a function within the controller Welcome.

function hello_world ()

{echo 'Hello World from Code Igniter';}
visited, the page with your browser, in my case go to:

http://localhost/Sites/ci-baw/index. php / welcome / hola_mundoNota: We'll see soon as you remove the index.php in the middle.

And so far this brief introduction, perhaps too abstract but necessary when you see something new.

Eczema Just On Ankles

Social Rubik, 3 great icons


Ulises Arvizu dream Maquiladora surprises us with new set of icons for Blog and Web exclusive, this time, there are 3 great icons for subscription by RSS, Twitter and Facebook in the form of cubes rubik. Available in three sizes 32 × 39, 64 × 77 and 100 × 120 pixels as PNG-24.

addition includes the vector file (source) so you can create your own Rubik's Cube with other social services or whatever strikes your fancy.

License
■ It is released under the Creative Commons Attribution 2.5.
■ You can use both personal and commercial projects (direct sales pack but not supported). ■
refers to distribute this article and not the direct download file or another post or server.

Download

How To Get Fitted For A Jock Strap

subscription Blogger

In this little post I will make a brief review the most important reasons to use a PHP Framework, to make our developments more quickly and efficiently (and what's hot, it must be said).



first thing you should do is see what position you are. A framework is designed for people who have a domain, at least half of the programming language in which it is made (in this case PHP) and they want their projects in a more orderly quick. If you are starting with php this is NOT the way you should go. You should start learning PHP "bareback" and then choose the best framework for your caso.También is thankful to be familiar with the model of object-oriented programming in PHP.



Code Igniter Why?

When I caught the bug of frameworks in PHP, I was looking for opinions about which one to use. Obviously, everyone has their preferences, but something that everyone agrees is that Code Igniter is a great documentation and community, a prerequisite if you're starting in this business, because sooner or later we have questions and someone will have to ask ... no?



addition, Code Igniter is highly extensible, fast, supports PHP 4 (the latest stable version, 1.7.2). Future versions will not support PHP 4, PHP 5 to work required.



Code Igniter MVC uses a programming style in which the application is enter separate layers:



■ Model: The processing / get the data. Generally, we will use it primarily to manage the input and output data in our database.

■ View: Call from the driver, is the way to represent data on the screen. In Code Igniter (and any framework for web) is the mount all the html).

■ Controller: As the name suggests, is that "control" what happens in our aplicación.Básicamente, and roughly a controller receives a request, gets model data, processes, and passes the light for display properly.

addition, we Code Igniter helpers, hooks and bookstores, but we'll discuss this later. Broadly, the helpers are a set of functions grouped by functionality, ie, have a helper to create forms, have a helper to work with dates, etc.. The libraries are classes. We have libraries to send emails, we have libraries to validate the data that come from a form, etc.



Hello World!

Note: You must have a web server that supports php, installed, configured and running. For testing, we use a local machine using MAMP MacOs.Puedes Wamp running on Windows, Mac or Mamp Mamp in linux, or you can mount Apache + PHP + MySQL by hand.



started with a sample application, let us roll. Let Codeigniter.com and we downloaded the latest version (1.7.2 at the time of writing). Once downloaded, you will see that we have two directories: System and user_guide. User_guide folder is the documentation can be found on their website in HTML format, it is not necessary for our application to work.



Download and unzip to a directory accessible by our server web.Tendremos the system folder (which contains the framework itself), the directory application you see (is within the system, just that I move out to it all far apart) and the file index.php, which is responsible for implementing the entire framework. User_guide directory and the license file I deleted, because they are not required to use the framework.







The first thing to do is edit the file application / config / config.php and put the data from our server, the first parameter, $ config ['base_url'] = http://example . com /, changing our URL example.com, in my case: http://localhost/Sites/ci-baw/



Note: to assure you always end with the url: /



Now, we get to that directory using our favorite browser (or that words, web development, Firefox + Firebug)







We can see that everything went well. We get a default page, which tells us that the hearing welcome_message.php loaded and driver for the controllers / welcome.php.



Well, let's get to see the code, and understand that you have run the driver as welcome and the view is loaded.



applicattion Open the file / config / routes.php:







will see the following lines of code:



$ route ['default_controller'] = "welcome"

$ route ['scaffolding_trigger'] = ""; It is telling that the driver Code Igniter, if you do not specify any, will be "welcome." Scaffolding_trigger parameter will not see at the moment.



Now, open the file application / controllers / welcome.php.




class
Welcome extends Controller {function Welcome

()



{parent:: Controller ();}





function index ()



{$ this-> ; load-> view ('welcome_message');}



} Let's see, the driver is always called after the name of the file, but with the first in capitals, and must always extend the Controller class. If we declare a constructor (because we need it) in PHP 4 function Welcome () in PHP 5 function__construct (), the first thing we always do in the constructor is to call the constructor of the parent class, in this case, Parant :: Controller (). The constructor will define when we need to assign values \u200b\u200bto the whole class, or load libraries or helpers that use the entire class.



The index method is the running if we have not said otherwise. This method, all you do is load a view, 'welcome_message'. If we open the file application / views / welcome_message.php see that contains the code that generates the page we have seen in our browser.



Now, by way of example and finally, let's create a function within the controller Welcome.



function hello_world ()



{echo 'Hello World from Code Igniter';}

visited, the page with your browser, in my case go to:



http://localhost/Sites / ci-baw/index.php/welcome/hola_mundoNota: We'll see soon as you remove the index.php in the middle.



And so far this brief introduction, perhaps too abstract, but necessary when you see something new.

Cirtificate Of Rent Paid 2010

Framework for PHP improves

Blogger has made an improvement to their page 404, that occurs when content is not found, either by a mistake while entering a URL or content has been removed or relocated.



The current error page displays a search field that contains the words entered in the URL after the domain and a link to the homepage of the blog.

A usability detail showing that Blogger wants begin to change several things that do not work for some time.

Marriage Certificate In Aurangabad

404 page How to make Firefox profiles for programming and / or navigate commercial banners

Firefox hides many secrets, but one of the lesser known features of Mozilla Firefox most useful for those developing web pages is the use of user profiles. Firefox allows you to create specific profiles that include those plugins, themes or extensions that a user may need. Moreover, both markers, such as browsing history, downloads, etc., Are unique to this new profile.



And what I want profiles? For example, it can be should start a Firefox profile with all those plugins that are used for development or testing, and have another profile for more general use and not so many plugins. So save memory consumption and maintain our default profile Safe. This article will show you how to set up a profile, how to start or how to have two profiles open at once.



Fifefox first thing is to close, making sure not running in the background. Then, depending on the operating system run "firefox.exe-profilemanager"







This will open this window:









If
you have not created a profile before, you can create a new one now by clicking "Create Profile ...". Before proceeding, I recommend you deactivate it the box "Do not ask at startup." So you can choose the profile when starting Firefox.



Once created, is selected and click "Start Firefox". Now you'll have a brand new Firefox. That is, none of the plugins, or styles, etc ... the default profile will be in the new profile. If our goal is to use the profile to design or debug applications, I recommend you hit instaléis all plugins that you consider necessary.



good thing about having this independent profile, is that not a single profile sobrecargáis with all plugins and thus saving memory. Of course, any changes that you make here will not affect the default profile, and you can try any plugin or theme without any problems. Now you will have a "sandbox" completely fail-safe that you can use as a test without running the risk of default will load your profile.



For convenience you can create shortcuts (this will vary by operating system) to boot one or the other profile. You only have to put this route: firefox.exe-P "NombreDeMiPerfil." In the front window of profiles would be firefox.exe-P "Testing." If you also want the two profiles can be open at once, you can add "-no-remote" to the previous line: firefox.exe-p "Normal"-no-remote.







Note: If you do this the profile of the first shortcut that will execute this is used by everyone.



Needless to say, also can apply the profiles to use on a shared computer and each user has the setting you want. If you want more information on the Mozilla support site has more information on the management profiles.

Friday, July 2, 2010

Camera Slider Blueprints

"Elevator Driver Circuit in Miniature" String Matching

Introduction

digital logic is an area of \u200b\u200bmathematics applied to electronics. This is the basis of systems digital, thanks to this database is that we have developing a circuit that acts as the possible situations of our problem, which consists of the automatic control of all functions of an elevator.

Overall, this project aims imente experts and demonstrate the application of digital systems in a practical and everyday such as a lift.

adaptations digital systems today differ in different areas and extends to large-scale, this is just one example of how the digital electronics is becoming increasingly necessary to automate every aspect of life .

Block Diagram


Circuit Description

The idea is to build a electronic circuit using logic gates and other additional components, for automatic control of all functions of an elevator. To be a model only worked based on 3 floors, this will give us a clear idea of \u200b\u200bhow the circuit, and can extend to more floors if desired, but the fact of working only with 3 floors also means taking into account many variables such as: If the elevator is in 1 st floor and the person at the 3, this has to go up two floors and open the door, or if the elevator is on the 2nd floor and the person also, the door should be opened immediately . If we consider all possible situations, with 9 cases in total.

As the circuit is built using of logic gates is necessary to convert each of the cases to ones and zeros, as shown in the picture.

Electronic Chart



Clickea enlarge image

Photos




Link Download Full Report
Lift Driver Circuit Miniature Electronic Chart




This project was the winner in the IV Week Computer Science 2009 - Fair Technology, School of Computing, National University of Trujillo, Peru.