Wednesday, March 18, 2020

Chief Justice Warren

Chief Justice Warren Chief Justice Earl Warren defied the american society of the times to help make the future of the country a little brighter. His decisions were controversial to say the least, but his legacy lives on as one of the most influential of the Supreme Court in all US history. When asked what his most important ruling was, many thought the response would be Brown v. the Board of Education. And although this decision did many positive things for the civil rights movement, his response was that of Reynolds v. Sims.The 1964 case surrounded the issue of reapportionment of state and federal legislative districts. The decision of "one person-one vote," gave the citizens a voice. The number of representatives is determined by the number of people, not by the size of the land they live on. Here, Warren cited the fourteenth amendment to the Constitution to support his opinoin.Another Warren decision having to do with the fourteenth amendment is that of Miranda v.Earl Warren; Governor of California a nd Chief Just...Arizona. From this case the "Miranda warning" was created which is now known as the "Miranda rights." When arresting a suspect a number of his rights must be stated to him before being taken into custody. Specific to this case was the right to remain silent before speaking to a lawyer.Warren dealt with the first amendment when tackling the heated debate of religion in schools in Engel v. Vitale. In his decision he again clung to his strict constructionist ways. He ruled that prayer in the New York State Regent schools was illegal. It was in direct violation of the "wall of seperation" between church and state established in the Constitution.

Sunday, March 1, 2020

How to Save PHP Files in Mac TextEdit

How to Save PHP Files in Mac TextEdit TextEdit is a simple text editor that comes standard on every Apple Macintosh computer. By following a few simple steps, you can use the TextEdit program to create and save PHP files. PHP is a server-side programming language that is used in conjunction with HTML to enhance the features of a website. Open TextEdit ​If the icon for TextEdit is  located on the dock, as it is when the computer ships, just click the icon to launch TextEdit. Otherwise, Open a Finder window by clicking on the Finder icon in the dock.Choose Applications from the menu on the left.In the list of applications on the right side of the screen, find and double-click TextEdit. Change the TextEdit Preferences From the Format menu at the top of the screen, choose Make Plain Text. If you dont see this option, but see Make Rich Text, the document is already set for plain text.Select Preferences from the TextEdit menu at the top of the screen.Click the New Document tab and confirm the radio button next to Plain text is selected.Click the Open and Save tab and confirm the box next to Display HTML files as HTML code instead of formatted text is checked. Enter the Code Type the  PHP code into TextEdit. Save theFile Choose Save  from the File menu.Enter your_file_name.php into the Save As field, being sure to include the .php extension.Click the Save button. If a pop-up  asks you if you want to use .txt or .php as the file extension. Click the Use .php button. Testing You cannot test your PHP code in TextEdit. You can test it in PHP if you have it on your Mac, or you can download an emulator app from the Mac App Store- PHP Code Tester, PHP Runner and qPHP can all be used to test the accuracy of your code. Just copy it from the TextEdit File and paste it into the application screen.