Projects

getRecentProjects(); array_splice($result, 6, -1); foreach($result as $item){ if($item["private"]) continue; $name = $item["name"]; $url = $item["html_url"]; $lang = $item["language"]; $description = $item["description"]; //build out the html echo ''; echo '

' . $name . ' - ' . $description . '

'; echo '
'; } ?>

Articles

getMostRecentPosts(5); foreach($posts as $post){ if($post == null) continue; $id = $post[0]; $author = $post[1]; $title = $post[3]; echo ''; echo '

(' . $author . ') ' . $title . '

'; echo '
'; } ?>