Permalink
Browse files

cucumber post

  • Loading branch information...
1 parent 077ef39 commit b2782bf7ae0f802776dfe35cef457a31d0602244 @BugRoger committed Mar 11, 2012
View
@@ -11,3 +11,4 @@ source/_stash
source/stylesheets/screen.css
vendor
node_modules
+tmp
View
@@ -2,10 +2,10 @@
# Main Configs #
# ----------------------- #
-url: http://BugRoger.github.com
-title: My Octopress Blog
-subtitle: A blogging framework for hackers.
-author: Your Name
+url: http://bugroger.github.com
+title: Brainwidth Exceeded
+subtitle: "Michael Schmidt"
+author: Michael Schmidt
simple_search: http://google.com/search
description:
@@ -58,14 +58,14 @@ default_asides: [asides/recent_posts.html, asides/github.html, asides/twitter.ht
# ----------------------- #
# Github repositories
-github_user:
-github_repo_count: 0
+github_user:
+github_repo_count:
github_show_profile_link: true
github_skip_forks: true
# Twitter
twitter_user:
-twitter_tweet_count: 4
+twitter_tweet_count: 0
twitter_show_replies: false
twitter_follow_button: true
twitter_show_follower_count: false
@@ -81,19 +81,19 @@ googleplus_user:
googleplus_hidden: false
# Pinboard
-pinboard_user:
+pinboard_user:
pinboard_count: 3
# Delicious
delicious_user:
delicious_count: 3
# Disqus Comments
-disqus_short_name:
+disqus_short_name: BugRoger
disqus_show_comment_count: false
# Google Analytics
google_analytics_tracking_id:
# Facebook Like
-facebook_like: false
+facebook_like: false
View
@@ -131,6 +131,7 @@ body.sidebar-footer {
body { -webkit-text-size-adjust: auto; }
body > header { font-size: $header-font-size * 1.2; }
#main {
+ @include box-shadow(#222 0px 0px 40px);
@extend .group;
padding: 0;
margin: 0 auto;
View
@@ -9,12 +9,12 @@ $link-color-active: adjust-color($link-color-hover, $lightness: -15) !default;
// Main Section Colors
$main-bg: #f8f8f8 !default;
-$page-bg: #252525 !default;
+$page-bg: #999 !default;
$article-border: #eeeeee !default;
-$header-bg: #333 !default;
+$header-bg: #111 !default;
$header-border: lighten($header-bg, 15) !default;
-$title-color: #f2f2f2 !default;
+$title-color: #ddd !default;
$subtitle-color: #aaa !default;
$text-color: #222 !default;
@@ -72,7 +72,7 @@ a {
}
html {
- background: $page-bg image-url('line-tile.png') top left;
+ background: $page-bg image-url('fake_header.png') top left repeat-x;
}
body {
> div {
@@ -1,3 +1,5 @@
+@import url(http://fonts.googleapis.com/css?family=Leckerli+One);
+
$blockquote: $type-border !default;
$sans: "PT Sans", "Helvetica Neue", Arial, sans-serif !default;
$serif: "PT Serif", Georgia, Times, "Times New Roman", serif !default;
View
@@ -2,7 +2,7 @@
// To give it a try, uncomment some of the lines below rebuild your blog, and see how it works.
// If you need a handy color picker try http://hslpicker.com
-//$header-bg: #263347;
+//$header-bg: #171612;
//$subtitle-color: lighten($header-bg, 58);
//$nav-bg: desaturate(lighten(#8fc17a, 18), 5);
//$nav-bg-front: image-url('noise.png');
View
@@ -4,7 +4,7 @@
//$sans: "Optima", sans-serif;
//$serif: "Baskerville", serif;
-//$mono: "Courier", monospace;
-//$heading-font-family: "Verdana", sans-serif;
-//$header-title-font-family: "Futura", sans-serif;
-//$header-subtitle-font-family: "Futura", sans-serif;
+$mono: "Menlo", "Courier", monospace;
+$heading-font-family: 'Squada One', "Verdana", sans-serif;
+$header-title-font-family: 'Squada One', "Futura", sans-serif;
+$header-subtitle-font-family: 'Squada One', "Futura", sans-serif;
@@ -1,5 +1,8 @@
body > header {
- background: $header-bg;
+ hgroup {
+ display: inline-block;
+ text-align: right;
+ }
h1 {
display: inline-block;
margin: 0;
@@ -1,3 +1,5 @@
<!--Fonts from Google"s Web font directory at http://google.com/webfonts -->
<link href="http://fonts.googleapis.com/css?family=PT+Serif:regular,italic,bold,bolditalic" rel="stylesheet" type="text/css">
<link href="http://fonts.googleapis.com/css?family=PT+Sans:regular,italic,bold,bolditalic" rel="stylesheet" type="text/css">
+<link href='http://fonts.googleapis.com/css?family=Squada+One' rel='stylesheet' type='text/css'>
+
@@ -1,6 +1,7 @@
{% capture root_url %}{{ site.root | strip_slash }}{% endcapture %}
{% include head.html %}
<body {% if page.body_id %} id="{{ page.body_id }}" {% endif %} {% if page.sidebar == false %} class="no-sidebar" {% endif %} {% if page.sidebar == 'collapse' or site.sidebar == 'collapse' %} class="collapse-sidebar sidebar-footer" {% endif %}>
+ <banner></banner>
<header role="banner">{% include header.html %}</header>
<nav role="navigation">{% include navigation.html %}</nav>
<div id="main">
@@ -0,0 +1,39 @@
+---
+layout: post
+title: "World Domination"
+date: 2012-03-08 22:15
+comments: true
+categories: [geek]
+---
+
+```
+$ sudo make me a sandwich
+```
+
+``` ruby Discover if a number is prime http://www.noulakaz.net/weblog/2007/03/18/a-regular-expression-to-check-for-prime-numbers/ Source Article
+class Fixnum
+ def prime?
+ ('1' * self) !~ /^1?$|^(11+?)\1+$/
+ end
+end
+```
+
+{% gist 996818 %}
+{% gist 1262397 %}
+
+*wat?*
+
+Some of these words *are emphasized*.
+Some of these words _are emphasized also_.
+
+Use two asterisks for **strong emphasis**.
+Or, if you prefer, __use two underscores instead__.
+
+ * Candy.
+ * Gum.
+ * Booze.
+
+I strongly recommend against using any `<blink>` tags.
+
+Hi Esther!
+
@@ -0,0 +1,31 @@
+---
+layout: post
+title: "Making FakeFS and Cucumber Play Nice"
+date: 2012-03-11 11:52
+comments: true
+categories: ruby bdd cucumber
+---
+
+As it turns out just requiring the fakefs gem doesn't play nice with Cucumber. The fakefs confuses Cucumber pretty well and it can't find its own steps anymore.
+
+There's a simple solution using cucumber hooks. In `features/support/env.rb` add the following tag specific hooks:
+
+```
+require 'fakefs/safe'
+
+Before('fakefs') do
+ FakeFS.activate!
+end
+
+After('fakefs') do
+ FakeFS::FileSystem.clear
+ FakeFS.deactivate!
+end
+```
+
+Afterwards it's possible to activate FakeFS selectively on a feature or scenario basis:
+
+```
+ @fakefs
+ Scenario: Create Symlinks
+```
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit b2782bf

Please sign in to comment.