Saturday, December 28, 2019

Installing PHP on Linux

It can be really helpful to have PHP installed on your home computer. Especially if youre still learning. So today Im going to walk you through how to do so on a PC with linux. First things first, youre going to need Apache to be installed already. 1. Download Apache, this will assume you download the latest version as of this publication, which is 2.4.3. If you use a different one, be sure to change the commands below (since we use the name of the file). 2. Move this to your src folder, at / usr/local/src, and run the following commands, which will un archive the zipped source, in a shell: cd /usr/local/srcgzip -d httpd-2.4.3.tar.bz2tar xvf httpd-2.4.3.tarcd httpd-2.4.3 3. The following command is semi-optional. If you dont mind the default options, which installs it to /usr/local/apache2, you can skip to step 4. If youre interested as to what can be customized, then run this command: ./configure --help This will give you a list of the options you can change for when it installs. 4. This will install Apache: ./configure --enable-somakemake install Note: if you get an error that says something like this: configure: error: no acceptable C compiler found in $PATH, then you need to install a C compiler. This probably wont happen, but if it does, Google install gcc on [insert your brand of linux] 5. Yay! Now you can start up and test Apache: cd /usr/local/apache2/bin./apachectl start Then point your browser to http://local-host and it should tell you It Works! Note: if you changed where Apache installed, you should adjust the above cd command accordingly. Now that you have Apache installed, you can install and test PHP! Again, this assumes youre downloading a certain file, which is a certain version of PHP. And again, this is the latest stable release as of writing this. That file is named php-5.4.9.tar.bz2 1. Download php-5.4.9.tar.bz2 from www.php.net/downloads.php and again place it in your /usr/local/src then run the following commands: cd /usr/local/srcbzip2 -d php-5.4.9.tar.bz2tar xvf php-5.4.9.tarcd php-5.4.9 2. Again, this step is semi-optional as it deals with configuring php before you install it. So, if you want to customize the installation, or see how you can customize it: ./configure --help 3. The next commands actually install PHP, with the default apache install location of /usr/local/apache2: ./configure --with-apxs2/usr/local/apache2/bin/apxsmakemake installcp php.ini-dist /usr/local/lib/php.ini 4. Open the file /usr/local/apache2/conf/httpd.conf and add the following text: SetHandler application/x-httpd-php Then while in that file make sure it has a line that says LoadModule php5_module modules/libphp5.so 5. Now you will want to restart apache and verify that php is installed and woking correctly: /usr/local/bin/apache2/apachectl restart No make a file called test.php in your /usr/local/apache2/htdocs folder with the following line in it: phpinfo(); ? Now point your favorite internet browser at http://local-host/test.php and it should tell you all about your working php installation.

Friday, December 20, 2019

The Importance Of Child Labor Rights - 847 Words

Human rights activists who made a difference What does it mean to make a difference? Does it mean to change the world forever or just for periods of time? Whatever it means, Mother Jones, Cesar Chavez and Malala yousafzai changed the world forever. Mother Jones’s mission was to get child labor rights. Cesar’s mission was to get sustainable working conditions for all farmers. Lastly, Malala’s mission has been to get education for women globally. These three people had different methods of fighting for the necessity of human rights; however, they all had the common goal of persevering until the rights were achieved. Mother Jones worked hard and had a very unique method for getting child labor rights. She led a march across a copious amount†¦show more content†¦Just like Mother Jones, Cesar was ardent about getting farm workers’ rights, except for the fact that Cesar had to wait 5 years longer than Mother Jones. In addition to this, Cesar Chavez led the UFW union to get unprecedented gains that made farmer’s working conditions better( Chavez Foundation). Leader Cesar went great lengths to get these rights. He was determined enough to get a group of people to support his cause. Furthermore, Cesar influenced people who supported his cause to boycott grapes and other products produced by farm workers (Cesar Foundation). Although Cesar didn’t tell the people to commence boycotting, he still influenced them enough to do it anyway. Cesar’s patience, perseverance and being a role model to the public is what made him attain the rights that farm workers desired. This l eader is very inspirational and so is 15 year old Malala Yousafzai. Malala Yousafzai uses social media and global speeches as her methods to fight for womens educational rights. According to Kettler, Malala used blogging to get the word out about her education rights. Afraid is not a word to describe Malala, she let people around the world know that she wants educational rights. Moreover, Malala used her Nobel Peace Prize speech to talk about the right that which everyone has to an education (Kettler). Young activist Malala receiving this reward and using it as publicity is veryShow MoreRelatedResearch Paper On Child Labor1354 Words   |  6 Pages Child Labor Introduction: For centuries and years child labor has become one of the biggest problem in the world. It’s a challenge and long-term work for many countries to put an end to child labor especially those developing countries it’s one of the issues that’s considered as serious issue these days. Child labor refers to children’s who lose their rights and do things that aren’t supposed to do, it refers to children who go to work at the age of schooling. The international labor organizationRead MoreChild Labor in America773 Words   |  4 PagesAlzatia Wilson Western Civilization 1 Mrs. S. Melton November 30, 2009 Child Labor in America Our child labor issue an ongoing world wide effect, currently among America’s society. Researchers even today and our up and down crisis we face economically, leave us with the understanding that poverty is a main cause of child labor. Still in America poor families depend heavenly upon their children working in order to improve their chances of attaining basic necessities. American history goesRead MoreSummary Of Child Labor In Upton Sinclairs The Jungle897 Words   |  4 Pagesthat exposed the bad working condition to immigrants in Chicago and the nasty meat packing factory. One of the big issue in this book is child labor. In the book, a child called Stanislovas Lukoszaite, he was working in a meat packing factory. Although in 1906 there are laws against child labor, but the law is not really enforced. He was just a 13 years old child and during Chicagos snow storm he loses the use of his three fingers, after that he started selling newspaper in Chicago. When he was 15Re ad MoreEssay on The Affect of Child Labor on the World1237 Words   |  5 PagesThe Affect of Child Labor on the World Introduction Child labor is a very hot topic in today’s world. The problems associated with child labor have always been a part of life but thanks to Globalization, everyone is now more aware of the child labor issues that exist. Whether an individual is in favor or against child labor the fact is that child labor affects everyone, because child labor affects the global economy. Children who work play a big role in the economy because they produce goodsRead MoreThe Act Of Raising A Child By Its Parents1656 Words   |  7 PagesParenting: the act of raising a child by its parents. We believe there’s more to it, parenting skills play a huge role in the child’s life. How they develop, learn and see the world are all things that lead back to parenting. This topic is important because we feel that parenting skills are not a main concern nowadays. Parenting is a critical aspect in how your child will develop and thrive. People believe they are doing the right thing for their ch ild and setting them up for success, but are theyRead MoreProgressivism And Social Criticism In The Progressive Era893 Words   |  4 Pagestreated equally and the business relations do not interrupt the political decisions, or the government. Most importantly, if the concept of progressivism did not exist, our business industry would not have thrived, labor conditions would not have changed, women would not have equal rights as men, and overall, there would have been no idea, as to social activism and a political reform. During the Progressive Era, American industrialists began making themselves known through their wealth and power,Read MoreChild Labor Is The Lack Of Intergenerational Human Capital Development1639 Words   |  7 PagesIntroduction Developed countries have a conception that child labor is highly exploitative and is driven by long hours in deplorable conditions in sweat shops, prostitution rings, and rebel armies. While this perception has been very effective at raising awareness and action on the issue of child labor, it is quite misleading as only a small percentage of wage labor is of such an exploitative nature. It is imperative to take a more nuanced view of child labor and accept that it is not inherently bad as theRead MoreThe Nature Of Child Labor1626 Words   |  7 Pagesfuture of any society. Many children around the world are denied the right of having a childhood. When children preform work tasks at a young age, children reduce their present welfare or future income earning capabilities (Singh, 2013). In 2014, the International Labour Organization reported that â€Å"Globally there are 168 million child laborers, over half of which, 85 million, are in hazardous work conditions† (ILO). Child l abor is not a new phenomenon by any means; it has been going on for yearsRead MoreComing From The Republic Of Ghana1527 Words   |  7 PagesComing from The Republic of Ghana, I know firsthand that sweatshops and the child labor that takes place in them can be both dehumanizing and destructive. However, I also understand the benefits of sweatshops. Despite all the facts that prove that sweatshops and the child labor that happens in them are bad, the truth of the matter is that some places have now become so dependent on the income they are receiving from sweatshops that there is no alternative in their minds. In addition, some kids haveRead MoreWhat Causes Juvenile Delinquency?758 Words   |  4 Pagesthe juvenile who commit a crime. This is why courts do not punish the teenagers like they punish the adults when they commit a crime. There are separate juvenile courts and the purpose of juvenile punishment is to help the teenager understand the importance of staying away from crime s.   There are various theories of juvenile delinquency and various researchers have reported different reasons of delinquency. Most of the delinquent teenagers belong from low social, economical or psychological background

Thursday, December 12, 2019

Romeo+Juliet Even well intended deceptions and se Essay Example For Students

Romeo+Juliet: Even well intended deceptions and se Essay crets can be destrucLiterature often teaches us important moral lessons. From the simplest childrens books to Shakespeare, important, lifelong lessons are taught. Romeo and Juliet shows that even the best intentions can turn out harmful. Several characters in the book carried out well intentioned deceptions and kept secrets that all turned out harmful in the end. Even well intended deceptions and secrets can be destructive. When the nurse decided to participate in the deception of keeping Romeo and Juliets marriage a secret it was well intentioned on her part. The nurse assisted in the marriage because she wanted to see Juliet married. The nurse treated Juliet like her own daughter and wanted her to get married without waiting two years. The nurse wasnt thinking logically to support two people who had only just met, get married. This well intentioned act turned out to be fatal to both of the characters. Friar Lawrences decision to marry Romeo and Juliet and deceive their families was based on his well intentioned belief that the marriage would end the feud between the Montegues and the Capuets. When Romeo went to Friar Lawrences cell to ask him to marry he and Juliet, the Friar had some serious doubts. However, he chose to ignore those doubts and take a chance that this union would create peace between the families. The Friar planned to marry them, inform the families at a later date, and have everything end up right in the end. But once again, a well intended act turned out to be destructive. Juliets deception about taking poison to fake her own death had the most tragic consequences of all. The intention of her plan was to create the illusion that she had died and then run off with Romeo to live happily ever after. This deception backfired, and it cost both Romeo and Juliet their lives. Others who knew her secret plan kept silent and also participated in this deceptive act which ultimately ended in destruction. A little secret here, a small deception there, snowballed into death and destruction for the two protagonists in Romeo and Juliet. The main moral lesson in Romeo and Juliet was that even well intended deceptions and secrets can be destructive.

Wednesday, December 4, 2019

Parent nowadays free essay sample

Nowadays, parents are not spending enough time with their children. In this article, we will look at several reasons why parents are not spending enough time with their children as well as the effects of this phenomenon. In recent years, parents have become increasingly preoccupied with their jobs and careers. This is especially true following the 2007 global economic downturn which we are still recovering from. As a result, parents are more concerned about putting food on the table and trying their best to avoid losing their jobs than spending enough time with their children. Another reason why parents are now spending less time with their children is due to their belief that spending quality time with their children can be replaced with showering their children with material goods. Such parents believe that as long as they keep their children happy with new clothes, mobile phones, portable music players and more pocket money, they do not need to spend time with them. We will write a custom essay sample on Parent nowadays or any similar topic specifically for you Do Not WasteYour Time HIRE WRITER Only 13.90 / page Given a choice, most children would prefer to spend time with their friends, rather than with their own parents. These children believe that their parents do not understand them the way their friends do. Moreover, they feel that their freedom is restricted when spending time with their parents. While parents are preoccupied with their careers and jobs, their children spend most of their time being involved in their school life. The life of a student has become very examination-oriented. These days, not only do children attend school but also a variety of tuition classes and extracurricular activities. With this, children would hardly find the time to spend enough time with their parents except during the year-end school holidays. There are both positive and negative effects when parents do not spend enough time with their children. On the positive side, their children may become more independent and there will be fewer opportunities for arguments. Their children will also learn to fend for themselves when their parents are not around. Family life may become more peaceful and harmonious if there is less friction between parents and their children. On the other hand, children may become involved in unhealthy activities if their parents do not spend sufficient time with them. The lack of supervision may cause the children to mingle with the wrong company. Furthermore, the relationship between parents and their children may deteriorate if too little time is spent together as a family unit. Both parties may gradually feel less love for each other which may eventually break up the family.

Thursday, November 28, 2019

A Trip Down Memory Lane Research Paper Example

A Trip Down Memory Lane Research Paper Example A Trip Down Memory Lane Paper A Trip Down Memory Lane Paper The stars have been shining brightly under the dark blanket of the sky. Thin little gray clouds hover around casting light shadows on the face of the moon. A few chirping notes from the sound of crickets outside completes the serenity of the night. I have long been fond of watching these diamond-like trinkets sparkling from high above that simply watching them every night gives me this feeling like that of a child given sweet treats. But It seems Like after tonight, It would take long for me to be able to do this again. The ticking of the clock brought me back to packing my stuffs for I am to leave early tomorrow morning bound to a foggy place uphill for my studies. I was busy rummaging at my now half empty room when I stumbled into something ?a purple box I had used to compile different things I have gathered and collected for the past years for sentimental reasons. I picked it up and opened it as I sat on my bed. And Like the usual, memories flooded my system as If everything Just happened yesterday. From that little girl wearing high socks with big laces a decade ago up to that omen who I am now, I can say that I had my fair share of lifes bitter-sweet experiences. And ironically, as I think about it, whether we admit it or not, we could never regret anything life had to offer. Because each of them, whether big or small, memorable or not, success or failures, all of them honed the person we are today. While learning from them as personal examples of our what Ifs, we are able to measure our strengths and weaknesses. And In some Instances we discover hidden parts of ourselves waiting to be revealed for the world to see. L cant do this. How would you know if you wont even try? l am afraid. What are you afraid of? How long would you let that fear hinder you from growing and learning new stuffs? Come on! Come out of your shell. My thoughts have been storming -the typical scenario happening Inside the mind of an Introvert. I always have this tendency to fast forward things, thinking of all the possible outcomes before even making the first step towards them. Maybe this is because I am afraid to come out of my comfort zone. I want things to go my way and afraid to eave things the other way around. Yes, I have this perfectionist and control-freak nature until things happened which triggered the start of a change. I remember quoting Robert Measles on one of his books that In life, some rain must fall though sometimes It may feel more Like a deluge. It was not raining that day. But for me, it was as if a big dark cloud suddenly came and everything around me started to melt as that dragging aura poured down on me soaking me wet. That after taste of regret adding woods to the fire giving me the instantaneously need to e invisible, to runaway even Just for a while from the haunting of my spontaneous act, to get lost and save myself from a breakdown of emotions. But In ten end, no matter now much I try to Take It, my tears would Detract me revealing the weakling behind that poker face. As they say, I may be able to fool others but I definitely cannot fool myself. I lost in a battle and I cant blame anyone but myself. But the hardest part of losing is the knowledge that so much has been expected from you. This guilt trip has struck me the most. So yes, on that day, I Just et my eyes swell as I was being drenched with the rain. Then after finally growing tired of blaming and crying, it is when everything started to sink in. It was after all a good reminder to keep my feet on the ground and a light to see my burning desire to strive for more. Given that there are still so many who believe and continue to support me amidst a number of times I had fallen on my knees and had broken their expectations. Sometimes, it is okay to fall and commit mistakes because those two are also part of growing.

Sunday, November 24, 2019

Learn Which Sharks Lay Eggs

Learn Which Sharks Lay Eggs Bony fish produce large numbers of eggs that may scatter throughout the ocean, sometimes getting eaten by predators along the way. In contrast, sharks (which are cartilaginous fish) produce relatively few young. Sharks have a variety of reproductive strategies, although they can be divided into two main groups - those that lay eggs, and those that give birth to live young. Read more about the reproductive strategies of sharks below. How Do Sharks Mate? All sharks mate through internal fertilization. The male inserts one or both of his claspers into the females reproductive tract and deposits sperm. During this time, the male may use his teeth to hold on to the female, so many females have scars and wounds from mating. After mating, the fertilized eggs may be laid by the mother, or they may develop either partially or fully inside the mother. The young get their nourishment either from a yolk sac or other methods, which are described in more detail below. Egg-Laying Sharks Of the approximately 400 species of sharks, about 40% lay eggs. This is called oviparity. When the eggs are laid, they are in a protective egg case (which sometimes washes up on the beach and is commonly called a mermaids purse). The egg case has tendrils that allows it to attach to a substrate such as corals, seaweed or the ocean bottom. In some species (such as the horn shark), the egg cases are pushed into the bottom or into crevices between or under rocks. In oviparous shark species, the young get their nourishment from a yolk sac. They may take several months to hatch. In some species, the eggs stay inside the female for a period of time before they are laid, so that the young have a chance to develop more fully and spend less time in the vulnerable, immobile egg cases before they hatch. Types of Sharks That Lay Eggs Shark species that lay eggs include: Bamboo sharksWobbegong sharksCarpet sharksHorn (bullhead) sharksSwell sharksMany catsharks Live-Bearing Sharks About 60% of the shark species give birth to live young. This is called viviparity. In these sharks, the young remain in the mothers uterus until they are born. The viviparous shark species can be further divided into the ways the young sharks are nourished while in the mother: Ovoviviparity Some species are ovoviviparous. In these species, the eggs are not laid until they have absorbed the yolk sac, developed and hatched, and then the female gives birth to young that look like miniature sharks. These young sharks get their nourishment from the yolk sac. This is similar to sharks that form in egg cases, but the sharks are born live. This is the most common type of development in sharks.Examples of ovoviviparous species are whale sharks, basking sharks, thresher sharks, sawfish, shortfin mako sharks, tiger sharks, lantern sharks, frilled sharks, angelsharks and dogfish sharks. Oophagy and Embryophagy In some shark species, the young developing inside their mother get their primary nutrients not from a yolk sac, but by eating unfertilized eggs (called oophagy) or their siblings (embryophagy). Some sharks produce a large number of infertile eggs for the purpose of nourishing the developing pups. Others produce a relatively large number of fertilized eggs, but only one pup survives, as the strongest one eats the rest. Examples of species in which oophagy occurs are the white, shortfin mako and sandtiger sharks. Viviparity There are some shark species that have a reproductive strategy similar to humans and other mammals. This is called placental viviparity and occurs in about 10% of the shark species. The eggs yolk sac becomes a placenta attached to the females uterine wall and nutrients are transferred from the female to the pup. This type of reproduction occurs in many of the larger sharks, including bull sharks, blue sharks, lemon sharks, and hammerhead sharks. References Canadian Shark Research Laboratory. Reproduction. Accessed January 31, 2012.Compagno, L., Dando, M. and S. Fowler. 2005. Sharks of the World. Princeton University Press.Florida Museum of Natural History. Shark Basics. Accessed January 31, 2012.Greven, H. 2009. Viviparous Sharks. Shark Info / Prof. H. Greven. Accessed January 31, 2012.Hamlett, W.C. Reproductive Modes of Elasmobranchs. Florida Museum of Natural History. Accessed January 31, 2012.Martin, R.A. Elasmobranch Reproductive Modes. ReefQuest Centre for Shark Research. Accessed January 31, 2012.Skomal, G. 2008. The Shark Handbook. Cider Mill Press Book Publishers: Kennebunkport, ME. 278pp.

Thursday, November 21, 2019

How Big Global Businesses Compare Research Paper

How Big Global Businesses Compare - Research Paper Example Such results buoyed by strong growth in sales in North America. Thus, the revenue grew to three point eight billion euros. Due to the last year of the considerable change and reinvention, it enabled the company to expect the upcoming 2015 year to be a year of execution with expects annual sales to grow in all sectors, networks, mapping services, technologies and patents (Huuhtanen, 2015). While Nokia holds thirty-nine percent of the world market, it still faces severe competition from such companies as Apple and Google, which entered the market with their high-end products in 2007. Organizational culture is an important factor that influences companies in various contexts. Thus, it is important for establishing competitive advantages and it also impacts on organizational performance. The interest in culture has led to the development of different models, which aim is to explain organizational culture and its relevance for organizations (Dauber, Fink & Yolles, 2012). It is assumed that there are three models of culture within organization, which are the artifacts, the values and the assumed values. Schein believes that artifacts of the company are its dress code, work process and organizational structure. Business goals and strategies as well as company’s philosophies are the espoused values, which should be supported by the way company performs its activities and how these activities are managed. All shared values within the organization constitute assumptions of the company. While using Scheins model, business are able to understand cultural elements o f their organization and be  able to analyze the relationship between assumptions and common business practices. Using models gives possibility to change the basic assumptions of a given culture and hence improve the effectiveness of the company as well (Madu, 2011). Thus, for Apple, the main competitor of Nokia Company, the model of culture includes people with their innovative approach to the development of