Skip to content

Commit

Permalink
Revert "build"
Browse files Browse the repository at this point in the history
This reverts commit 9d83ec2.
  • Loading branch information
donald-pinckney committed Jun 22, 2017
1 parent 9d83ec2 commit 70170ba
Show file tree
Hide file tree
Showing 20 changed files with 1,201 additions and 0 deletions.
10 changes: 10 additions & 0 deletions 404.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
layout: default
title: "404: Page not found"
permalink: 404.html
---

<div class="page">
<h1 class="page-title">404: Page not found</h1>
<p class="lead">Sorry, we've misplaced that URL or it's pointing to something that doesn't exist. <a href="{{ site.baseurl }}">Head back home</a> to try finding it again.</p>
</div>
1 change: 1 addition & 0 deletions CNAME
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
donaldpinckney.com
9 changes: 9 additions & 0 deletions LICENSE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Released under MIT License

Copyright (c) 2013 Mark Otto.

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
35 changes: 35 additions & 0 deletions _config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
# Permalinks

# Setup
title: Donald Pinckney
tagline: 'Explorations in math and computer science.'
description: 'Who tinkers with math, CS, and random stuff.'
url: http://donaldpinckney.com
baseurl: ""

author:
name: 'Donald Pinckney'
email: [email protected]

paginate: 5

# Custom vars
social:
github: donald-pinckney
twitter: donald_pinckney

# Gems
gems:
- jekyll-paginate
- jekyll-gist
- github-pages
- jekyll-autolink_email
- jekyll-sitemap

# Sitemap stuff
sitemap:
include_posts:
- "/index.html"

# Plugins
plugins_dir: [jekyll-autolink_email, jekyll-sitemap]
32 changes: 32 additions & 0 deletions _includes/head.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
<head>
<link href="http://gmpg.org/xfn/11" rel="profile">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta http-equiv="content-type" content="text/html; charset=utf-8">

<!-- Enable responsiveness on mobile devices-->
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1">

<title>
{% if page.title == "Home" %}
{{ site.title }} &middot; {{ site.tagline }}
{% else %}
{{ page.title }} &middot; {{ site.title }}
{% endif %}
</title>

<!-- CSS -->
<link rel="stylesheet" href="{{ site.baseurl }}public/css/poole.css">
<link rel="stylesheet" href="{{ site.baseurl }}public/css/syntax.css">
<link rel="stylesheet" href="{{ site.baseurl }}public/css/hyde.css">
<link rel="stylesheet" href="http://fonts.googleapis.com/css?family=PT+Sans:400,400italic,700|Abril+Fatface">

<!-- Icons -->
<link rel="apple-touch-icon-precomposed" sizes="144x144" href="{{ site.baseurl }}public/apple-touch-icon-144-precomposed.png">
<link rel="shortcut icon" href="{{ site.baseurl }}public/favicon.ico">

<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css">


<!-- RSS -->
<link rel="alternate" type="application/rss+xml" title="RSS" href="/atom.xml">
</head>
65 changes: 65 additions & 0 deletions _includes/sidebar.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
<div class="sidebar">
<div class="container">
<div class="sidebar-about">
<h1>
<a href="{{ site.baseurl }}">
{{ site.title }}
</a>
</h1>
<p class="lead">{{ site.description }}</p>
</div>

<nav class="sidebar-nav">
<div class="horizontal-block">
<div class="horizontal-item">
</div>
<a class="horizontal-item sidebar-nav-item{% if page.url == site.baseurl %} active{% endif %}" href="{{ site.baseurl }}">Home</a>

{% comment %}
The code below dynamically generates a sidebar nav of pages with
`layout: page` in the front-matter. See readme for usage.
{% endcomment %}

{% assign pages_list = site.pages %}
{% for node in pages_list %}
{% if node.title != null and node.sortBelow != true %}
{% if node.layout == "page" %}
<a class="horizontal-item sidebar-nav-item{% if page.url == node.url %} active{% endif %}" href="{{ node.url }}">{{ node.title }}</a>
{% endif %}
{% endif %}
{% endfor %}

<div class="horizontal-item">
</div>
</div>

<hr />

<div class="horizontal-block">
{% for node in pages_list %}
{% if node.title != null and node.sortBelow == true %}
{% if node.layout == "page" %}
<a class="horizontal-item sidebar-nav-item{% if page.url == node.url %} active{% endif %}" href="{{ node.url }}">{{ node.title }}</a>
{% endif %}
{% endif %}
{% endfor %}


<a href="https://github.com/{{ site.social.github }}" class="sidebar-nav-item horizontal-item" target="_blank">
<i class="fa fa-github"></i><span class="only-desktop"> {{ site.social.github}}</span>
</a>
<a href="https://twitter.com/{{ site.social.twitter }}" class="sidebar-nav-item horizontal-item" target="_blank">
<i class="fa fa-twitter"></i><span class="only-desktop">@{{site.social.twitter}}</span>
</a>
</div>
</nav>

<div class="sidebar-footnote">
<p class="sidebar-footnote">
&copy; {{ site.time | date: '%Y' }} Donald Pinckney. All rights reserved.
<br />
The views and opinions expressed here are my own, and do not reflect the views of Apple, Inc.
</p>
</div>
</div>
</div>
15 changes: 15 additions & 0 deletions _layouts/default.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<!DOCTYPE html>
<html lang="en-us">

{% include head.html %}

<body class="theme-base-0b">

{% include sidebar.html %}

<div class="content container">
{{ content }}
</div>

</body>
</html>
8 changes: 8 additions & 0 deletions _layouts/page.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
layout: default
---

<div class="page">
<h1 class="page-title titular">{{ page.title }}</h1>
{{ content }}
</div>
25 changes: 25 additions & 0 deletions _layouts/post.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
---
layout: default
---

<div class="post">
<h1 class="post-title titular">{{ page.title }}</h1>
<span class="post-date">{{ page.date | date_to_string }}</span>
{{ content }}
</div>

<div class="related">
<h2>Related Posts</h2>
<ul class="related-posts">
{% for post in site.related_posts limit:3 %}
<li>
<h3>
<a href="{{ post.url }}" class="titular">
{{ post.title }}
<small>{{ post.date | date_to_string }}</small>
</a>
</h3>
</li>
{% endfor %}
</ul>
</div>
19 changes: 19 additions & 0 deletions _posts/2017-06-06-content-coming-soon.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
---
layout: post
title: A Sneak Peek of What's to Come
excerptShowsAll: true
---

Welcome to Donald's blog! Since I just made it a few days ago, there isn't a lot of content here yet, but I'm planning to write some posts over the next few weeks.

To give you a sneak preview [email protected] of what to expect, I'll likely post about topics in these areas:

1. Machine Learning
2. Programming Languages
3. Swift
4. iOS Development / Apple stuff
5. Math
6. Music
7. Martial Arts

Stay tuned for lots of exciting content!
11 changes: 11 additions & 0 deletions about.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
layout: page
title: About Me
sortBelow: true
---

I'm a 3rd year undergraduate student at UC Davis, studying Math and Computer Science. In particular, I enjoy studying machine learning, computer vision, programming languages, and abstract algebra.

Outside of school I enjoy practicing martial arts (in particular Tai Chi, Wing Chun, and Taekwondo), playing music, and of course coding.

Feel free to check out my work on [GitHub](https://github.com/{{ site.social.github}}), and connect with me on [Twitter](https://twitter.com/{{ site.social.twitter}}).
28 changes: 28 additions & 0 deletions atom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
---
layout: null
---

<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">

<title>{{ site.title }}</title>
<link href="{{ site.url }}/atom.xml" rel="self"/>
<link href="{{ site.url }}/"/>
<updated>{{ site.time | date_to_xmlschema }}</updated>
<id>{{ site.url }}</id>
<author>
<name>{{ site.author.name }}</name>
<email>{{ site.author.email }}</email>
</author>

{% for post in site.posts %}
<entry>
<title>{{ post.title }}</title>
<link href="{{ site.url }}{{ post.url }}"/>
<updated>{{ post.date | date_to_xmlschema }}</updated>
<id>{{ site.url }}{{ post.id }}</id>
<content type="html">{{ post.content | xml_escape }}</content>
</entry>
{% endfor %}

</feed>
30 changes: 30 additions & 0 deletions deploy
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
#!/bin/bash
# Make temporary dest dir, and clean up.
dest=$(mktemp -d)
echo $dest
trap "{ rm -rf $dest; }" EXIT SIGINT SIGTERM

# Commit to src branch if needed
git checkout src
if [[ `git status --porcelain` ]]; then
git add .
git commit -m "$1"
fi
git push

# Build to temp directory
jekyll build -d $dest

# Checkout master, nuke everything
git checkout master
git rm -r .
rm -rf *

# Copy in built files
cp -R $dest/* .

git add .
git commit -m "build"
git push

git checkout src
54 changes: 54 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
---
layout: default
title: Home
---

<div class="posts">
{% for post in paginator.posts %}
<div class="post">
<h1 class="post-title">
<a href="{{ post.url }}" class="titular">
{{ post.title }}
</a>
</h1>

<span class="post-date">{{ post.date | date_to_string }}</span>

{% if post.excerptShowsAll %}
{{ post.content }}
{% else %}
{% assign BREAK_SIZE = 50 %}

{% assign con = post.content | strip_html | lstrip %}
{% assign pars = con | newline_to_br | split: "<br />" %}
{% assign firstP = pars.first %}
{% assign shortFirst = firstP | truncatewords: BREAK_SIZE %}

{% if shortFirst != firstP %}
{{ con | markdownify | truncatewords: BREAK_SIZE }}
{% else %}
{{ firstP }}
{% endif %}
{% endif %}

</div>
{% endfor %}
</div>


<div class="pagination">
{% if paginator.next_page %}
<a class="pagination-item older" href="{{ site.baseurl }}page{{paginator.next_page}}">Older</a>
{% else %}
<span class="pagination-item older">Older</span>
{% endif %}
{% if paginator.previous_page %}
{% if paginator.page == 2 %}
<a class="pagination-item newer" href="{{ site.baseurl }}">Newer</a>
{% else %}
<a class="pagination-item newer" href="{{ site.baseurl }}page{{paginator.previous_page}}">Newer</a>
{% endif %}
{% else %}
<span class="pagination-item newer">Newer</span>
{% endif %}
</div>
13 changes: 13 additions & 0 deletions ml.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
layout: page
title: ML Resources
---

TEST Easily the best way to improve at machine learning is to just get practice at it. Practice helps you improve at machine learning in two ways:
1. You get familiar with implementing common algorithms. Whether you use machine learning libraries or roll your own, becoming comfortable with these algorithms is critical.
2. By working with a variety of data sets, you can also gain an intuition of how data is structured, so you know when to apply what algorithms.

So, the most effective way to gain experience at machine learning is to experience implementing a *variety* of algorithms over *differently behaved* data sets.

I've consolidated the machine learning resources I am familiar with, both from school and outside, into a list below. I've marked each data set with what algorithm(s) I used for the data set, but please experiment with any algorithm that interests you!

Binary file added public/apple-touch-icon-144-precomposed.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 70170ba

Please sign in to comment.