Skip to content

Commit

Permalink
Merge pull request #20 from niclake/wordpress
Browse files Browse the repository at this point in the history
Wordpress and Tumblr migration
  • Loading branch information
niclake authored Aug 7, 2024
2 parents c87c1dc + 9ce9fc9 commit 196e381
Show file tree
Hide file tree
Showing 388 changed files with 11,975 additions and 6 deletions.
8 changes: 6 additions & 2 deletions .eleventy.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
const collections = require('./config/collections')
const plugins = require('./config/plugins')
const shortcodes = require('./config/shortcodes.js')
const dateFilters = require('./config/filters/date.js')
Expand Down Expand Up @@ -32,8 +33,6 @@ module.exports = function (eleventyConfig) {
extname: ".html"
});



// Passthroughs
['src/assets', '{ "node_modules/littlefoot/dist/littlefoot.js": "assets/js/littlefoot.js" }'].forEach(path => {
eleventyConfig.addPassthroughCopy(path, {
Expand All @@ -46,6 +45,11 @@ module.exports = function (eleventyConfig) {
eleventyConfig.addPlugin(require(plugin.name), { ...plugin.options })
})

// collections
Object.keys(collections).forEach(collectionName => {
eleventyConfig.addCollection(collectionName, collections[collectionName])
})

// Shortcodes
Object.keys(shortcodes).forEach(shortcodeName => {
eleventyConfig.addShortcode(shortcodeName, shortcodes[shortcodeName])
Expand Down
18 changes: 18 additions & 0 deletions config/collections.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
const moment = require("moment");

// const makePath = (type) => {
// const year = new Date().getFullYear();
// return `src/posts/${year}/**/*.md`;
// };

module.exports = {
postsForFeed: (collectionApi) => {
const year = new Date().getFullYear();
return collectionApi
.getAllSorted()
.reverse()
.filter((p) => {
return moment(p.date).isAfter(moment("2018-08-01"));
});
},
};
4 changes: 3 additions & 1 deletion config/plugins.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,9 @@ module.exports = [
options: {
boxColor: '#44475a',
highlightColor: '#50fa7b',
textColor: '#d0d0d0'
textColor: '#d0d0d0',
dayBoxTitle: true,
dayBoxTitleFormat: 'MMMM D'
}
},
]
4 changes: 2 additions & 2 deletions src/feed.njk
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@ eleventyComputed:
<subtitle>{{ metadata.subtitle }}</subtitle>
<link href="{{ permalink | absoluteUrl(metadata.url) }}" rel="self"/>
<link href="{{ metadata.url }}"/>
<updated>{{ collections.post | getNewestCollectionItemDate | dateToRfc3339 }}</updated>
<updated>{{ collections.postsForFeed | getNewestCollectionItemDate | dateToRfc3339 }}</updated>
<id>{{ metadata.url }}</id>
<author>
<name>{{ metadata.author.name }}</name>
<email>{{ metadata.author.email }}</email>
</author>
{%- for post in collections.post | reverse %}
{%- for post in collections.postsForFeed | reverse %}
{%- set absolutePostUrl = post.url | absoluteUrl(metadata.url) %}
<entry>
<title>{{ post.data.title }}</title>
Expand Down
2 changes: 1 addition & 1 deletion src/pages/blog/tags.njk
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ title: Tags
{% for tag in tags %}
<div class="btn-nl-primary">
<a class="tag-bubble" href="#{{tag | slugify}}">
{{tag}} <small>({{collections[tag].length}})
{{tag}} <small>({{collections[tag].length}})</small>
</a>
</div>
{% endfor %}
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
---
title: "Album Review - Pink Floyd - 'The Division Bell'"
date: "2008-06-13"
tags:
- "Guitar"
- "Music Review"
---

[![](images/51h9Z0TK87L._SL500_AA240_.jpg)](http://ecx.images-amazon.com/images/I/51h9Z0TK87L._SL500_AA240_.jpg)
So most of you know me. I listen to a wide variety of music... everything from the occasional pop song (ahh, Kelly Clarkson!) to everyday rock to heavy metal. It's all good in my mind.

Well, I was browsing my dad's collection of music the other day, and I pulled out Pink Floyd's "Dark Side of the Moon". Great album. Always have loved it. So I figured, what the hay, let's see what else they have going on.

In 1994, Pink Floyd released their last studio album, entitled "The Division Bell". Most people know Pink Floyd as the "acid rock" band of the late 60's-early 70's. (When I told my dad about this CD, I got a nice story about when he went to see PF in Germany back in '72. It brings my dad into a whole new light...) What a lot of people didn't like about this album was how ... well, different, it was from their old albums. What people didn't realize is that the band had decided to allow their musical tastes to evolve with their age.

I think "The Division Bell" could be classified as rock/funk/soul/blues/jazz/pop all in one. Starting off with a lovely instrumental, transitioning into a funky riff that sounds like it belongs into a porno, before blowing straight into the next song with heavy instruments. Up and down the album goes, back and forth from sweet harmonies on instruments and vocals to screaming lead riffs on guitar.

As a musician and an aspiring guitarist, I definitely appreciate both the musicianship and the simplicity of the album. As layered and complicated as it might seem at first, once you break it down, the entire album is really quite straight-forward and obvious, which is definitely not a bad thing. It's currently the primary album that I'm listening to, alongside Armin van Buuren's "Imagine" (which is techno/trance/house music... so you can see a little bit of my eclectic tastes here...).

Overall: 8/10. I'm similar to a lot of magazines nowadays, where they only give 10's to the \*perfect\* game/CD/device/whatever, and those are even few and far between. If you're a guitarist of any genre, give this album a listen. If you're a broad-spectrumed fan of music, you would definitely enjoy this as well.

42 changes: 42 additions & 0 deletions src/posts/2008/2008-06-13-america-the-fattest-place-on-earth.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
---
title: "America - The Fattest Place On Earth"
date: "2008-06-13"
tags:
- "America"
- "Goals"
- "Rant"
- "Stupid"
---

So recently, I've been trying to get back into the kind of shape that I used to be. I've never been necessarily ripped or fit, but I used to have enough stamina when I was younger to play basketball for 3 or more hours at a time. Once my leg and arm started bothering me, I kinda dropped out of doing that as much.

Lately, though, I've been hitting up the WRC pretty frequently, trying to accomplish one of my goals of getting back to an optimal BMI/weight. Plus, it's just plain fun to play basketball again.

Anyway, on to the point... so I get home today after playing basketball for about 2-3 hours, and obviously I'm a little hungry, so I make myself some lunch and sit down to eat it. It's only after I'm about halfway through my meal that I realize exactly what I'm eating... tacos. Grease, fat, sodium, but damned if it doesn't taste oh so delicious.

And that's when I realized... all this time, companies in America are more interested in marketing McDonald's, weight loss products, and plastic surgery locations than they are working to make food healthier, better tasting, and most importantly, affordable and easy to prepare.

Think about it. When's the last time you went to get fast food, or grabbed something out of the cupboard, and what you ate was actually good for you? Like right now, here in the office, they have some amazing chocolate chip cookies. (And yes, I'm being a slight hypocrite, because I'm eating one right now...) Why can't they work on making a healthy snack, or making something quick and easy that children can make for themselves that's good for them?

Answer: capitalism in America.

Think about it. A kid eats Easy Mac. Sick. Eats it (or some equivilant) 5 times a week, 52 weeks a year. That's (roughly) 250 fattening meals per year.

Now, in grade school, they combat this with a wonderful thing called recess. Ahh, recess... why can't you exist in college? But you get to high school, people are more concerned with the now... hanging out with friends, studying for a difficult test, working their part time job so they can get their first car, etc. al. Some people are in sports, or working hard to be Mr/Mrs Popular, so they obviously want to look good.

But the food... it tastes so good...

Then my high school (I don't know about yours) starts offering Pizza Hut pizza every Monday, or having a fully-stocked snack room available every day. The school lunches were usually catered to being somewhat healthy, but they tasted like absolute junk, so no one wanted to eat them (usually).

And now I just look at life around my house, or at work, or whatever. The absolute easiest things for me to eat that come to mind are the following - sandwich, Pop Tart, Ramen noodles, leftover whatever, frozen pizzas, granola bars, cookies. Sandwiches at least give me a rounded meal, and leftovers (depending on what we had) can be decent... granola bars are about the only healthy thing on that list. Everything else either costs a buttload, or requires you to put quite a bit of thought and prep into eating it. Not exactly ideal for a college student.

Then, on top of that, I'd be willing to be that somewhere in the mix, health product companies and medical people have approached food companies and asked them not to make their food as healthy as possible. Why? They'd be out of business. It's the same as cars and gas, or the age old hot dogs/hot dog buns... these people and products exist solely because America is full of overweight, non-caring individuals who don't wait until it's too late to do anything about their problems.

And I'm one of those people. A lot of my arthritis/tendonitis is due to the fact that I've carried a little extra baggage around most of my life. It's not the only reason, but it's still a primary one.

I used to think it was kinda funny when I would tease my dad about his gut. When my parents turn it around with the "like father, like son" line... well, that's when I know that enough is enough.

So... is exercise enough to counteract the poor eating habits of Americans... or at least, \*this\* American? Does a slight modification of one's diet (i.e. less sweets, smaller portions, yadda yadda) really make a difference?

We'll find out...

16 changes: 16 additions & 0 deletions src/posts/2008/2008-06-13-first-post.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
---
title: "First Post"
date: "2008-06-13"
tags:
- "Personal"
---

Well, since Logan, Lauren, and Dustin are all doing it, I thought I'd jump in.

No, really. I've meant to start one of these up for a long long time, and being stuck at work with no phone calls until 10pm has given me every opportunity to do so.

So, just to explain a bit...

I'm not exactly sure what this blog is going to become. It may have reviews, it may have rants, it may have just about anything on the face of this earth. Granted, it won't \*all\* be about music... I have many other interests in this world (sports, video games, computers, art, food, etc.) and I'm sure a lot of those will be covered as well.

Whether you comment or not, I truly don't care. I'm just happy that you're taking the time to read whatever ramblings are currently in my head.
52 changes: 52 additions & 0 deletions src/posts/2008/2008-06-13-kobe-bryant-mvp.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
---
title: "Kobe Bryant = MVP??"
date: "2008-06-13"
tags:
- "Basketball"
- "Rant"
- "Sports"
---

Fourth post in a few hours? Sue me.

Anyway... for those of you that aren't really sports fans out there, I'll spell this out as simply as I can for you.

1) MVP = Most Valuable Player. Back in an article that I read about a week before the MVP was announced, it was something along the lines of the most memorable, most exciting, and best player award, all rolled into one, but it also took into account what the player does for their team.

2) This award is given after the \*regular season\* is over. The finals have just started at this point, and there are 16 teams still left playing. You rarely see a member of a non-playoff team win this award, but I digress.

3) Most voters ignore the "team" stat, unless they give the award to Steve Nash, and that's only because his passing is so ridiculous that you are required to tape every Suns highlight on ESPN so you can watch it about 10 times to figure out exactly what he did.

This year, Kobe Bryant won the MVP award. Let's break this down a bit.

Most Memorable - Well, a year ago, Kobe was whining about how he wanted to be traded, calling into national radio stations to complain about how bad his team was, how pathetic his team's owner was, and how much he really missed Shaq on his team (ok, maybe not the last part). He railed on his teammates about how bad they were all season. He whined. He moaned. For a rich guy playing a game day in and day out, he cried more than Martha Steward did when she got sentenced to "prison" (rumor has it that they left the walls painted in whatever lovely colors she decorated them as). He hurt his pinky, and (gasp) there were thoughts that he couldn't play the rest of the season.

Then things changed.

While they officially call it a trade, I'd deem it either a gift from Memphis, or a sucker punch from the LA... somehow, they end up trading Kwame Brown (a decent player) and some nobodies for Pau Gasol, who, while not being nearly the dominant force that Shaq in his prime, Tim Duncan, Dwight Howard, or Vlade Divac (joking again) ever were, he was a vast improvement. Any time you can get a 7' guy on your team to loft the ball to, you're in good hands. Kobe passed up surgery. He... smiled? Yeah, that's a smile. Suddenly, the LA Kobes are now the LA Kobes-and-Friends. Role players were stepping up, and doing their jobs quite well, which made Kobe happy.

But see, I couldn't explain that all without mentioning Pau, or his teammates, or anyone else... seem fair?

Most Exciting - Seeing Kobe fly down the floor and dunk it, or pull of his crazy "get behind the 3-point line, and let me do my thing" wave and drive never ceases to amaze me. For pure basket scoring, I'd say he wins this.

Best Player - How do you define this? Most points? Ok, Kobe had that. Assists? Nope. Steals? Nope. Rebounds? Nope. Any other major category? Yep... technical fouls.

Best Teammate - Don't make me laugh.

So the only clear-cut winner here is most exciting. He lags in every other category.

On the other hand, you have Chris Paul... the little guy for the team and the city with the biggest heart. Chris Paul, who in his 3rd season was doing things to opposing teams that I can't believe still. Chris Paul, who led the league in assists and steals, rebounded decently for a guy not much taller than I am, and \*made his team better\*.

The way I personally would define MVP is this - Who, if you took them away from their team for the whole season, would fall flat on their faces?

LA Kobes (eventually I'll stop with that name, but Stephen A. Smith and Skip Bayless make me laugh every time they say that) - If they got rid of Kobe, they would've sucker punched some other team for a decent shooting guard. Fisher, Gasol, Walton, Odom and Sasha (I can't spell his last name) are all very very good players in their own right. With Kobe, they get better. Would they be a playoff team without Kobe? Probably not. Would they hold their own? Definitely.

N.O. Hornets - The Hornets without Chris Paul would be roughly the equivalent of a blind man trying to slalom ski. Possible? Sure. Probable? Buy me a lottery ticket. Chris Paul \*made\* that team. He will continue to make that team for years to come. He is, without a doubt, the new face of the NBA beside Lebron James. He is the guy that I want to see for years and years to come.

Think about this, when it comes to memorable moments. What do you like to see more? (And be honest with yourself.) A guy clearing everyone out, then driving in for a powerful dunk in someone's face? Or do you like to see a fast break with unbelievable ball handling and an insane pass that leaves the defender picking his dentures up off the free throw line?

And now, here they are in the Playoffs. Granted, the Kobes are in the Finals while NO was bounced early. But again, remember how I said that LA was still decent without Kobe. NO doesn't have a prayer without Chris Paul, and they know it. They have great players, but they're not a cohesive team without a quality point guard.

I have absolutely no problem with the NBA having a Regular-Season- and Finals-MVP. That's perfectly fine. I can't wait to see Paul Pierce host that trophy after the Celtics win the Finals this year... for the NBA Finals, he definitely deserves it. A memorable Game 1, and a gritty Game 4 performance locked that up real quick. But seriously, for Reg. Season MVP, the NBA needs to clearly define a set of rules on what makes people eligible for this award. When it came to making teammates better, I even thought that Kevin Garnett was a better candidate than Kobe is, or will ever be.

And after all that... I can't wait for Boston to hand it to LA \*in\* LA... it will be sweet.
21 changes: 21 additions & 0 deletions src/posts/2008/2008-06-13-memories-of-the-flood.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
---
title: "Memories of the Flood"
date: "2008-06-13"
tags:
- "Cedar Falls"
- "Flood"
---

Just some random memories/thoughts about the floods we had here in Iowa.

A city the size of Cedar Falls escaped serious damage to their businesses and downtown area because 1) We put a disaster team in place about 7 years ago, and 2) because we have tons of people that volunteered their time to go and place sandbags on top of the new levee we built.  Cedar Rapids and Iowa City... well, I'm not sure what the reason is, but last time I checked, they had about 100 blocks that were under water.  Even Waterloo, who is just right down the road, still had a ton of flooding compared to what happened in CF.

That just makes me proud to be from this city.

But just to throw a little humor into the situation... here's my favorite quote from the whole fiasco.

News broadcaster - "...and so we are urging you to volunteer to go to Downtown Cedar Falls and help place sandbags on the levee.  We're worried that the river might crest above that wall and flood most of downtown."

Some random guy - "Oh no!  Not Cup of Joe!" \*dashes to his car to drive to the volunteer point\*

I got a good laugh out of that.
Loading

0 comments on commit 196e381

Please sign in to comment.