Skip to content

Oak is adding pipes and filters #357

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 11 commits into
base: gh-pages
Choose a base branch
from
Empty file added _posts/2014-03-
Empty file.
17 changes: 17 additions & 0 deletions _posts/2014-03-15-blucka12-pipes.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
---
layout: post
author: blucka12
title: Pipes and Filters
---

1. -n has the effect it has because it gives us a numbered list as the output
2. wc -l < mydata.dat reads the input of the contents of the file "mydata.dat" and gives a list, whereas wc -l mydata.dat gives a list from the file itself and goes straight to the screen.
3. "sort" is another command that can pipe with the "uniq" command.
4. To be honest, I'm a little confused about this one. I took "cat animals.txt | head -5 | tail -3 | sort -r > final.txt" and substituted "cubane.pdb" for "animals.txt" and "final.pdb" for "final.txt", the last of which was probably not necessary...but oh well. The output was <imgur screenshot file> So, from what I got, it took the first three lines and outputted them in reverse order. So the head -5 part is still a little weird to me...Here's a screenshot:

<a href="http://imgur.com/irgHa0O"><img src="http://i.imgur.com/irgHa0O.png" title="Hosted by imgur.com" /></a>

5. Is alphabetical order one of the potential uses? Here's a screenshot of what I got when applying it to "methane.pdb":

<a href="http://imgur.com/krPJYBt"><img src="http://i.imgur.com/krPJYBt.png" title="Hosted by imgur.com"/></a>

10 changes: 10 additions & 0 deletions _posts/2014-03-19-jacoboakpost.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
layout: post
author:
- jacobthill
- blucka12
title: Reflections on NCAA post
---

The exercise seemed easy enough, until I managed to clone into the "Spring 2014" folder rather than the NCAA folder. Once we got that fixed, following the directions was fairly straight forward. Jacob and I went through the steps, then had to back-track a bit because of capitalization issues, as well as having duplicate content that had to be corrected because both he and I had put in the tag, and Jacob had put the info into the tag on one of the two without us catching that it would break things ever so slightly. Once we had that fixed, we were in a good space, and had our merges complete as you can see on the "Tulsa" and "Albany" posts:

10 changes: 10 additions & 0 deletions _posts/2014-03-19-ncaajacoboakpost.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
layout: post
author:
- jacobthill
- blucka12
title: Reflections on NCAA post
---

The exercise seemed easy enough, until I managed to clone into the "Spring 2014" folder rather than the NCAA folder. Once we got that fixed, following the directions was fairly straight forward. Jacob and I went through the steps, then had to back-track a bit because of capitalization issues, as well as having duplicate content that had to be corrected because both he and I had put in the tag, and Jacob had put the info into the tag on one of the two without us catching that it would break things ever so slightly. Once we had that fixed, we were in a good space, and had our merges complete as you can see on the "Tulsa" and "Albany" posts:

14 changes: 14 additions & 0 deletions _posts/2014-03-28-oaktwitterpost.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
---
layout: post
author: blucka12
title: Twitter from the Command Line!
---

I was thankful to be "Vannah" for this part of our class's learning. I submitted this:

<blockquote class="twitter-tweet" lang="en"><p>Testing tweeting from command line, fam...bear with me...</p>&mdash; Oak Ritchie (@oakritchie) <a href="https://twitter.com/oakritchie/statuses/448867427976491011">March 26, 2014</a></blockquote>
<script async src="//platform.twitter.com/widgets.js" charset="utf-8"></script>

Then I added a cheeky: "It puts the lotion on its skin..."

A couple other users inquired as to how to do it, and I'm looking forward to teaching others how!
17 changes: 17 additions & 0 deletions _posts/2014-04-01-oaksplatspace.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
---
layout: post
author: blucka12
title: Splat Space in Durham
---

I'm reporting live from "Splat Space" in Downtown Durham, located under downstairs next to the "Beyou Cafe" on Main St., and I feel as awesome as this picture is:

<a href="http://imgur.com/koG9KPj"><img src="http://i.imgur.com/koG9KPj.jpg?1" title="Hosted by imgur.com"/></a>

The event started with a couple members introducing and opening up the space, making announcements, introducing newcomers and making people aware of projects. There are a wide array of projects that then start up organically based on what people are interested in.

I was prompted to introduce myself, and saw the look of recognition from the members in attendance who had previously met a couple others from our class.

Once introductions were over, people broke out into groups as they choose, and some just float around to socialize. I huddled up with another guys who was interested in pygame, which I had only heard a little about at that point.

I'm going to hang here for a little while, but wanted to get started with posting about it while in the moment, but Splat Space is a very warm and welcoming space to visit, and I intend to come back!