OpenLLM-France/wikimedia huggingface dataset:
# PHP Programming/Resources

* Beginners PHP - Tutorials and resources.
* Computer-Books.us - A collection of PHP books available for free download.
* EvilWalrus.org - Hundreds of user-contributed scripts and articles; tagged and searchable.
* From C/C++ to PHP Most people program in C++ but not in PHP. This tutorial will explain the important differences.
* getphp.net - PHP and MySQL resources.
* Good PHP Tutorials - A categorized collection of PHP tutorials.
* Hotscripts.com :: PHP - A very good PHP portal.
* Mojavi - One of the most popular MVC framework of PHP.
* Notepad++ - Very simple yet effective source code editor. Supports highlighting and folding.
* NuTutorials PHP Section - Categorized tutorials (~500) for PHP.
* PHP-CLI.COM All about PHP Command Line Interface (CLI).
* PHP-Help.net: PHP codes, PHP scripts, PHP examples - PHP help, PHP codes examples, PHP scripts.
* PHP-Resources.org - Tutorials, docs, newgroups and scripts.
* PHP Books - A large collection of PHP books.
* PHP Books - A large collection of PHP-related books.
* PHP Book Chapters - Sample PHP books chapters, read online.
* PHP Builder - A website for PHP news, articles, code library, forums, etc.
* PHP Developers Network - Network of PHP-resource driven websites.
* PHP Documentation - Searchable documentation with user comments.
* PHP Form tutorials- php tutorials for beginners!
* PHP MySQL Tutorial - Very good beginners tutorial.
* PHP Programming Tutorials - PHP tutorials, focused on beginners.
* PHP Resource Index - Another nice PHP portals for various PHP resources.
* PHP Sample Code on Zedwood - Generate PDFs, XLS files, CSVs, parse xml, analyze mp3s all with php.
* PHP Screencast Tutorials - Screencasts, PDF, and source code for learning PHP.
* PHP Web Application Component Toolkit http://phpwact.org/ - It's a wiki.
* PHPFreaks.com - Learn PHP, PHP Tutorials / How-to, code examples, PHP scripts.
* PHPIndonesia.com - The leading PHP knowledge base in Indonesia that using Wiki format.
* PHPPatterns - Raising awareness and bringing PHP to the Enterprise Creating understanding of PHP's Advanced Capabilities.
* PHPSC - PHP Security Consortium. Guides, etc. on security in PHP code.
* Practical PHP Programming: Paul Hudson's excellent beginner-expert guide to PHP.
* Programmabilities.com - PHP scripts and tutorials.
* Quicknet - A PHP AJAX Framework that Provides Secure Data Transmission.
* SELFPHP - A very good PHP portal. Searchable documentation with examples, PHP Code Book, Code library, forums and Tutorials.
* Symfony - Advanced MVC framework for PHP.
* The Oracle+PHP Cookbook - Explore a broad range of HowTos for leveraging Oracle's PL/SQL APIs in PHP applications.
* The PHP Manual - Extensive information about PHP.
* PHP.net - The PHP website. This is where you go to both get PHP and to read the documentation.
* W3Schools - Quick start with PHP for beginners.
# PHP Programming/PHP Data Objects

PHP Data Objects, also known as PDO, is an interface for accessing databases in PHP without tying code to a specific database. Rather than directly calling mysql_, mysqli_, and pg_ functions, developers can use the PDO interface, simplifying the porting of applications to other databases.

## How do I get it?

The PHP Data Objects extension is currently included by default with installations of PHP 5.1. It is available for users of PHP 5.0 through PECL, but does not ship with the base package.
PDO uses features of PHP that were originally introduced in PHP 5.0. It is therefore not available for users of PHP 4.x and below.

## Differences between PDO and the MySQL extension

PHP Data Objects has a number of significant differences to the MySQL interface used by most PHP applications on PHP 4.x and below:
* Object-orientation. While the mysql extension used a number of function calls that operated on a connection handle and result handles, the PDO extension has an object-oriented interface.
* Database independence. The PDO extension, unlike the mysql extension, is designed to be compatible with multiple databases with little effort on the part of the user, provided standard SQL is used in all queries.
* Connections to the database are made with a Data Source Name, or DSN. A DSN is a string that contains all of the information necessary to connect to a database, such as 'mysql:dbname=test_db'.

## PHP Data Objects usage example

For more information on data source names and the elements in a DSN string for a specific PDO driver (such as MySQL and PostgreSQL), see PHP: PDO Drivers - Manual

## External links

* PHP: PDO - Manual
# Teaching Elementary School Health Education/Mental and Emotional Health/Recognizing Childhood and Adolescent Depression

Unfortunately some of our students may experience depression. As teachers we will need to guide them to seek assistance or help when feeling depressed. Some of the characteristics of depression include:
* Persistent sadness
* Loss of pleasure and interest in activities once enjoyed
* Fatigue or loss of energy
* Restlessness, irritability
* Sleep Disturbances
* Weight or appetite changes
* Lack of concentration or difficulty making decisions
* Feelings of worthlessness, hopelessness, or guilt
* Thoughts of suicide or death
When this characteristics are apparent in a student, conference with the student to see how they feel. They may feel confident in talking to you. See Treatment for Depression for those who are exhibit these traits or are diagnosed with depression. For more information about depression click this link. Depression
# Teaching Elementary School Health Education/Mental and Emotional Health/Social-Emotional Environment

The social-emotional environment is the quality of the contacts a person has with the people with whom they interact. This is important in your students' lives. Their interactions with peers and adults influence their social and emotional well being. Therefore by creating a positive social-emotional environment in your classroom improves upon their health status at school.
# Teaching Elementary School Health Education/Injury Prevention and Safety/Unintentional Injuries/Fires

Most deaths and injuries relating to fires occur within the home environment. Cigarettes, lighters, and matches are the leading causes of these fires. However, some include faulty electical outlets and overloaded circuits.
A smoke detector is an alarm that sounds when it detects smoke. A heat detector is an alarm that sounds when the room temperature resis above a certain level. Every home should have one of these (on each floor) to prevent fire injuries. Batteries for these alarms need to be checked frequently to ensure that they are working properly.
In case of a fire
1. Have a predetermined plan for getting out and meeting your family.
2. Practice the plan.
When a real fire happens you should
1. Alert everyone in the home or building.
2. Place a wet cloth over the face.
3. Crawl out of the building on your hands and knees (stay below the smoke).
4. Feel doors for heat before opening. Do not open hot/warm doors. Open cool doors slowly.
5. Stuff rugs, blankets or clothes around a door to stop smoke from entering (if unable to leave the room). Call out a window for help.
6. Call 911 after you have escaped.
7. Meet family members at the designated meeting place.
8. Never go back into a burning building.
9. Tell fire officials if any people or animals are still in the building.
10. Have ropes or ladders available to help family members escap from two-story houses.
# Teaching Elementary School Health Education/Mental and Emotional Health/Anger Management Skills

Anger is an emotional that we do not want in our classrooms. It is an emotion that varies in intensity from mild irritation to intense rage that is often accompanied by physiological changes that prepare the body for fighting. Our students may have anger built up inside causing hidden anger, which is accompanied by negative, cruel remarks to others, being sarcastic, procrastinating, blowing up easily, being bored, and sighing frequently. We must teach our students anger management skills. They are healthful ways to control and express anger. Click on this link for a lesson dealing with anger management skills and how to address them. Anger Management Teaching the following skills will help your students to manage anger
* Keep an anger self-inventory
* Use self statements to control anger
* Use I-messages instead of You-messages
* Write a letter
* Write in a journal
* Reduce the effects of anger cues with physical activity
* Use safe physical actions to blow off steam
* Keep a sense of humor
* Rehearse what to do in situations that you know your anger triggers
* Talk with a parent or mentor
# Teaching Elementary School Health Education/Mental and Emotional Health
## Introduction

Mental and Emotional Health is the area of health that focuses on:
* developing good character
* interacting in ways that help create a positive social-emotional environment
* developing healthful personality characteristics
* choosing behaviors to promote a healthy mind
* expressing emotions in healthful ways
* seeking help if feeling depressed
* using sucide-prevention strategies
* coping with loss and grief in healthful ways
* being resilient during difficult times
Each of these health goals have several components.

#### I Will Develop Good Character

* Values and Character
* Self Esteem
* Developing Good Character and Improving Self-Esteem

#### I will Interact in ways that Help Create a Positive Social-Emotional Environment

* Social-Emotional Environment
* Social-Emotional Environment and Health Status
* Strategies to Improve the Social-Emotional Environment

#### I will Develop Healthful Personality Characterisitcs

* Personality (at Wikiversity)
* Personality Characteristics that Promote Good Health

#### I will Choose Behaviors to Promote a Healthy Mind

* Mental Alertness and Mental Health

#### I will Express Emotions in Healthful Ways

* Emotions and the Mind-Body Connection
* Anger Management Skills

#### I will Use Stress-Management Skills

* Understanding How Stress Affects Health Status
* Stress-Management Skills

#### I will Seek Help if I Feel Depressed

* Recognizing Childhood and Adolescent Depression
* Treatment for Depression

#### I will Cope with Loss and Grief in Healthful Ways

* Loss and Grief
# Teaching Elementary School Health Education/Mental and Emotional Health/Loss and Grief

Our students may lose a family member or friend close to them. Loss is a feeling that occurs when someone dies or a life situation changes or ends in a loss. Grief is intense emotional suffering caused by a loss, disaster, or misfortune. Some causes of loss and grief for our students may include:
* Change in the family (divorce, death of a family member, loss of job, serious or terminal illness)
* Changes in living conditions (eviction, homeless shelter)
* Death of a friend
* Suicide
* Death of a well-known person
* Tragedies in the news
* The end of something special (graduation, moving away)
* Holidays (Feelings of loss and grief can intensify during holiday seasons)
Click here for a lesson helping students deal with loss or grief. Responding to Social Crises
# Teaching Elementary School Health Education/Injury Prevention and Safety/Violence

Reduce the Risk of Violence
Bullying

## Elementary School Bullying

Fighting
Assault
Homicide
Sexual Harassment
Rape
Child Abuse
Domestic Violence
Risk Factors for Violence
Protective Factors for Violence
Using Assertive Behavior to Reduce the Risk of Violence
# Teaching Elementary School Health Education/Mental and Emotional Health/Developing Good Character and Improving Self-Esteem

To possess good character, one's action must reflect responsible values. Here are some guidelines to teach your students to show self respect.
* Pay attention to your appearance.
* Make a list of responsible actions and review the list often.
* Be a friend to yourself by enjoying activities, such as hobbies, by yourself.
* Write your feelings in a journal.
* Make spending time with family members a priority.
* Care for other people in the way you would like to be cared for.
* Let other people know what helps you feel special.
* Support the interests of family members and friends, and ask them to support your interests.
Click on the following link for a lesson plan where students help build self esteem of their peers. Chain of Compliments
# Teaching Elementary School Health Education/Mental and Emotional Health/Mental Alertness and Mental Health

We must teach our students to be alert, watchful and use their intelligence. When people are mentally alert they understand that their minds need exercise just as their bodies do. By promoting their mental health, students will feel good about themselves, build happy relationships and set realistic goals for themselves. As teachers we want our students lives to be happy and positive. Although life does throw some curve balls. We must educate our students to respond to these problems in a healthy way. Click here for a lesson over emotions. By teaching our students about emotions and how to deal with them, mental alertness will grow and mental health will stay high. Emotional Puppets
# Teaching Elementary School Health Education/Mental and Emotional Health/Personality Characteristics that Promote Good Health

Personality characteristics are used to describe a person. Some of these characteristics promote good health.
* Ambition
* Compassion
* Courage
* Dedication
* Generosity
* Loyalty
* Patience
* Persistence
* Resoluteness
* Respectful
* Self determination
Ask students to gather together, in a community circle ask them to share one word or characteristic that describes someone is a good way. Ask the students to give a characteristic that they would like to work on becoming better at.
# System Troubleshooting/Is it Broken to begin with

Is it Broken to begin with? May seem like a stupid question but knowing your intended results makes a lot of difference. This knowledge will help determine when you have solved the problem and when to stop and pick up the pieces.
# System Troubleshooting/Verify Components

Once the system is sectionalized and the section of the problem is narrowed further you will find yourself testing components. An understanding of each component's properties will help you greatly in understanding the problem.
# System Monitoring with Xymon/Selinux

This example shows how to create and install an SELinux policy under CentOS 5.5 suitable for running Xymon.
The current version of Xymon will, by default, install in /home/xymon.
Xymon consists of CGI and setuid programs and scripts which read, write and create files and directories within the Xymon directories.
Directories under /home are typically considered user directories by SELinux, and normally are set up to prevent the web browser from reading, writing, creating, and deleting user files and directories.
To get around this, we can create a new type (xymon_t) and a corresponding policy (xymon) which gives the web server (httpd_t) and the root user (unconfined_t) the access required to run Xymon without giving Xymon full access to all user directories.
After the policy is loaded, then the installation location of Xymon (/home/xymon) must be relabeled.
First create the file xymon.te:
Compile and load this policy:
After installing the new policy, modify the selinux permissions to allow xymon to run:
Now restart the web server and Xymon.
Monitor the logs and /var/log/audit/audit.log for problems and security violations and modify the policy as appropriate.
-H-
# System Troubleshooting/Don't cause any more problems

Don't cause any more problems... This belongs with the Don't Break It rule but it relates to "I wonder if I do this what will happen" scenario. When attempting anything you should have a hypothesis about the expected result and look for those results. This will establish experience and help you grow as a troubleshooter. It is alright to make mistakes as long as you learn from them. Frying 10 capacitors in a single lab because you bottomed out the rheostat is not a learning experience.
# System Troubleshooting/Establish a Start and End

Establishing a start and end. This is a vital component in the trouble shooting a system. Breaking systems down in this manner gives you a beginning and ending location for the troubleshooting. In an electrical system this would be where the power enters the system.
# System Troubleshooting

Testing and troubleshooting a system can be a complicated process, and one that involves just as much standard methodology as design or manufacture. This book will discuss 10 steps to debugging and troubleshooting a system.

## Table of Contents
### 10 Steps

* Don't Break It!
* Will touching this hurt me?
* Is it Broken to begin with?
* Don't cause any more problems...
* Establish a Start and End
* Sectionalize the System
* Verify Components
* Finding the Cause
* Swapping out Components
* The Clean up!
# System Troubleshooting/Don't Break It

Don't Break It! Easier said than done I know, but it suggests a certain caution when disassembling and reassembling systems and components. You should have a basic amount of knowledge about the configuration and hazards before attempting to disassemble and troubleshoot any system. The general rule of thumb is if a diagnostic test can be done without damage to the unit....do it.
If a system schematic is available, be sure to have that in hand before beginning the troubleshooting process. If no schematic is available, it may be a good starting point to develop some rough sketch. This will help you logically understand the components for the system, and will assist in re-assembly if necessary.
# System Troubleshooting/Sectionalize the System

Most systems can be subdivided into smaller components. This is due to the fact that most large systems cannot be done by one person alone. Breaking the system into smaller components will simplify design and increase understanding of the big picture. This also allows for versatility in design by plug-n-playing different components together to achieve a larger or customizable system.
The jargon term for not knowing what the systems operations are but the expected results off of a given input is black box. What this means is I do not necessarily have to know what the component does as long as I know what is sent and the result that is produced.
You will run into may components that you are not sure of how they work but as long as you know what you are sending and the expended results are occurring they are normally working properly. Problems occur when a problem happens "some of the time" or under certain conditions. There can be many problems with this and isolating the condition and component will further your understanding into the system.
# Pokémon/Pokédex/Types/Electric

There are 21 Electric Pokémon. Of these, 9 are first generation, 8 are second generation and 4 are third generation.
Of the 21 Electric Pokémon, 16 are pure Bug. The other 5 are Water(2), Steel(2) and Flying(1).
The type matching of the Electric type hasn't changed, nor has the type matching of Flying, the only co-type of Electric in the first generation Pokémon. However, Magnemite and Magneton gained the Steel type, which changes their type-matching information. For type matching information on them for Red/Blue/Yellow, use the "Pure Type" line only.

## Type Matching of the Electric Pokemon

| Name | Other type | Effected by moves of type | Effected by moves of type | Effected by moves of type | Effected by moves of type | Effected by moves of type | Effected by moves of type | Effected by moves of type | Effected by moves of type | Effected by moves of type | Effected by moves of type | Effected by moves of type | Effected by moves of type | Effected by moves of type | Effected by moves of type | Effected by moves of type | Effected by moves of type | Effected by moves of type | Effected by moves of type |
| Name | Other type | Normal | Fire | Water | Electric | Grass | Ice | Fighting | Poison | Ground | Flying | Psychic | Bug | Rock | Ghost | Dragon | Dark | Steel | Fairy |
| Pure type | Pure type | | | | ½ | | | | | X2 | ½ | | | | | | | ½ | |
| Ampharos | | | | | | | | | | | | | | | | | | | |
| Chinchou | Water | | ½ | ½ | X1 | X2 | ½ | | | | | | | | | | | ¼ | |
| Electabuzz | | | | | | | | | | | | | | | | | | | |
| Electrike | | | | | | | | | | | | | | | | | | | |
| Electrode | | | | | | | | | | | | | | | | | | | |
| Elekid | | | | | | | | | | | | | | | | | | | |
| Flaaffy | | | | | | | | | | | | | | | | | | | |
| Jolteon | | | | | | | | | | | | | | | | | | | |
| Lanturn | Water | | ½ | ½ | X1 | X2 | ½ | | | | | | | | | | | ¼ | |
| Magnemite | Steel | ½ | X2 | | | ½ | ½ | X2 | 0 | X4 | ¼ | ½ | ½ | ½ | ½ | ½ | ½ | ¼ | |
| Magneton | Steel | ½ | X2 | | | ½ | ½ | X2 | 0 | X4 | ¼ | ½ | ½ | ½ | ½ | ½ | ½ | ¼ | |
| Manectric | | | | | | | | | | | | | | | | | | | |
| Mareep | | | | | | | | | | | | | | | | | | | |
| Minun | | | | | | | | | | | | | | | | | | | |
| Pichu | | | | | | | | | | | | | | | | | | | |
| Pikachu | | | | | | | | | | | | | | | | | | | |
| Plusle | | | | | | | | | | | | | | | | | | | |
| Raichu | | | | | | | | | | | | | | | | | | | |
| Raikou | | | | | | | | | | | | | | | | | | | |
| Voltorb | | | | | | | | | | | | | | | | | | | |
| Zapdos | Flying | | | | X1 | ½ | X2 | ½ | | 0 | | | ½ | X2 | | | | | |

## Notes

* Pure Electric Pokémon are only weak to Ground. All the multi-type Electric Pokémon are weak to other types.
* Zapdos is immune to Ground moves.