{"id":238,"date":"2012-12-17T11:47:58","date_gmt":"2012-12-17T15:47:58","guid":{"rendered":"http:\/\/www.atouk.com\/wordpress\/?page_id=238"},"modified":"2017-02-28T03:13:01","modified_gmt":"2017-02-28T07:13:01","slug":"r-pi","status":"publish","type":"page","link":"http:\/\/www.atouk.com\/wordpress\/r-pi\/","title":{"rendered":"R-pi"},"content":{"rendered":"<p><a href=\"http:\/\/www.atouk.com\/wordpress\/wp-content\/uploads\/2014\/04\/404.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/www.atouk.com\/wordpress\/wp-content\/uploads\/2014\/04\/404.png\" alt=\"404\" width=\"800\" height=\"600\" class=\"alignnone size-full wp-image-346\" srcset=\"http:\/\/www.atouk.com\/wordpress\/wp-content\/uploads\/2014\/04\/404.png 800w, http:\/\/www.atouk.com\/wordpress\/wp-content\/uploads\/2014\/04\/404-300x225.png 300w\" sizes=\"auto, (max-width: 800px) 100vw, 800px\" \/><\/a><\/p>\n<p>Add custom error pages to your pi.  Six different pages are included, but you can easily add your own.<br \/>\n(NOTE: Fixed a typo in the README.  Wrong directory was listed.)<br \/>\nPages included are;<\/p>\n<p>300 &#8211; Multiple Choices<br \/>\n401 &#8211; Unauthorized<br \/>\n403 &#8211; Forbidden<br \/>\n404 &#8211; Not Found<br \/>\n500 &#8211; Server Error<br \/>\n503 &#8211; Out Of Resources<\/p>\n<p>[wpdm_file id=11]<\/p>\n<hr\/>\n<p>A simple script to show the correct GPIO pinouts depending on the board version of your pi.<br \/>\nDon&#8217;t forget to <code>chmod +x<\/code> the file.  <code>.\/pins.sh <\/code>to run.  <\/p>\n<p>Code is broken because of a change in bash since it was written.  I&#8217;ll get around to fixing it sooner or later.<br \/>\n[wpdm_file id=5]<\/p>\n<hr \/>\n<p><strong>02\/24\/17 &#8211; UPDATED<\/strong><br \/>\nRewrote the board and memory detection.  it should properly ID all current boards.<br \/>\nCode cleanup.  Added comments.  Fixed meter border transparency.  Other stuff.<br \/>\nChanges and instruction in README inside .rar.<\/p>\n<p><strong>04\/07\/14 &#8211; UPDATED TO USE JQPLOT INSTEAD OF phpChart_Lite<\/strong><br \/>\nAdditional edits\/additions.  Changes and instruction in README inside .rar.<\/p>\n<p>Here the code for the Raspberry pi (www.raspberrypi.org) status page I cooked up.  It was mostly a quick and dirty hack to test Apache\/php on it, but some of the users in IRC (freenode #raspberrypi) wanted copies.  Everything you need to know should be in the README.<br \/>\n<strong><strike>IMPORTANT:<\/strong> The current version of phpChart_Lite ONLY supports line charts, the meter class has been removed.  I will be looking for a replacement and update the code as soon as I find one.<\/strike><\/p>\n<p>(Updated to support Model A boards)<br \/>\n<img decoding=\"async\" src=\"http:\/\/www.atouk.com\/images\/rpistatus.jpg\" alt=\"Raspberry pi status page\" \/><br \/>\n[wpdm_file id=3]<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Add custom error pages to your pi. Six different pages are included, but you can easily add your own. (NOTE: Fixed a typo in the README. Wrong directory was listed.) Pages included are; 300 &#8211; Multiple Choices 401 &#8211; Unauthorized &hellip; <a class=\"more-link\" href=\"http:\/\/www.atouk.com\/wordpress\/r-pi\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"open","ping_status":"open","template":"","meta":{"ngg_post_thumbnail":0,"footnotes":""},"class_list":["post-238","page","type-page","status-publish","hentry"],"aioseo_notices":[],"_links":{"self":[{"href":"http:\/\/www.atouk.com\/wordpress\/wp-json\/wp\/v2\/pages\/238","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.atouk.com\/wordpress\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"http:\/\/www.atouk.com\/wordpress\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"http:\/\/www.atouk.com\/wordpress\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/www.atouk.com\/wordpress\/wp-json\/wp\/v2\/comments?post=238"}],"version-history":[{"count":26,"href":"http:\/\/www.atouk.com\/wordpress\/wp-json\/wp\/v2\/pages\/238\/revisions"}],"predecessor-version":[{"id":495,"href":"http:\/\/www.atouk.com\/wordpress\/wp-json\/wp\/v2\/pages\/238\/revisions\/495"}],"wp:attachment":[{"href":"http:\/\/www.atouk.com\/wordpress\/wp-json\/wp\/v2\/media?parent=238"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}