<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet type="text/xsl" href="assets/xml/rss.xsl" media="all"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Crispy Dev</title><link>https://dev.cpjobling.net/</link><description>Adventures in coding land.</description><atom:link href="https://dev.cpjobling.net/rss.xml" rel="self" type="application/rss+xml"></atom:link><language>en</language><copyright>Contents © 2018 &lt;a href="mailto:cpjobling+developer@gmail.com"&gt;Chris Jobling&lt;/a&gt; 
&lt;a rel="license" href="https://creativecommons.org/licenses/by-sa/4.0/"&gt;
  &lt;img alt="Creative Commons License BY-SA"
       style="border-width:0; margin-bottom:12px;"
       src="https://i.creativecommons.org/l/by-sa/4.0/88x31.png"&gt;
&lt;/a&gt;
</copyright><lastBuildDate>Thu, 04 Jan 2018 19:30:37 GMT</lastBuildDate><generator>Nikola (getnikola.com)</generator><docs>http://blogs.law.harvard.edu/tech/rss</docs><item><title>Welcome to my Nikola-driven Dev Blog</title><link>https://dev.cpjobling.net/posts/welcome-to-my-nikola-driven-dev-blog/</link><dc:creator>Chris Jobling</dc:creator><description>&lt;div tabindex="-1" id="notebook" class="border-box-sizing"&gt;
    &lt;div class="container" id="notebook-container"&gt;

&lt;div class="cell border-box-sizing text_cell rendered"&gt;&lt;div class="prompt input_prompt"&gt;
&lt;/div&gt;
&lt;div class="inner_cell"&gt;
&lt;div class="text_cell_render border-box-sizing rendered_html"&gt;
&lt;h2 id="Welcome-to-my-Nikola-driven-dev-blog"&gt;Welcome to my Nikola-driven dev blog&lt;a class="anchor-link" href="https://dev.cpjobling.net/posts/welcome-to-my-nikola-driven-dev-blog/#Welcome-to-my-Nikola-driven-dev-blog"&gt;¶&lt;/a&gt;&lt;/h2&gt;&lt;p&gt;I am building this blog following the instructions given by &lt;a href="http://www.jaakkoluttinen.fi/blog/how-to-blog-with-jupyter-ipython-notebook-and-nikola/"&gt;Jaakko Luttinen&lt;/a&gt;. I am using the static site generator &lt;a href="https://getnikola.com/"&gt;Nikola&lt;/a&gt; because it supports jupyter notebooks as well as markdown and restructured text (RST) formatters.&lt;/p&gt;
&lt;p&gt;The blog is hosted using GitHub pages at &lt;a href="https://cpjobling.github.io/dev.cpjobling.net%5D"&gt;cpjobling.github.io/dev.cpjobling.net&lt;/a&gt; as well as on Reclaim Hosting at &lt;a href="https://dev.cpjobling.net"&gt;dev.cpjobling.net&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;For archival purposes I have moved over some posts that were originally developed using Octopress and hosted on &lt;a href="http://cpjobling.github.io/"&gt;cpjobling.github.io&lt;/a&gt;.&lt;/p&gt;

&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
    &lt;/div&gt;
  &lt;/div&gt;
</description><category>blog</category><guid>https://dev.cpjobling.net/posts/welcome-to-my-nikola-driven-dev-blog/</guid><pubDate>Thu, 04 Jan 2018 17:15:28 GMT</pubDate></item><item><title>Upgraded to Octopress 2.0</title><link>https://dev.cpjobling.net/posts/upgraded-to-octopress-20/</link><dc:creator>Chris Jobling</dc:creator><description>&lt;div tabindex="-1" id="notebook" class="border-box-sizing"&gt;
    &lt;div class="container" id="notebook-container"&gt;

&lt;div class="cell border-box-sizing text_cell rendered"&gt;&lt;div class="prompt input_prompt"&gt;
&lt;/div&gt;
&lt;div class="inner_cell"&gt;
&lt;div class="text_cell_render border-box-sizing rendered_html"&gt;
&lt;p&gt;As
&lt;a href="http://thechangelog.com/post/8230553977/octopress-a-blogging-framework-for-hackers"&gt;recently announced on the Changelog&lt;/a&gt; version 2.0 of
&lt;a href="http://octopress.org/"&gt;Octopress&lt;/a&gt; has been released. I have upgraded -- which took longer than I expected -- but
it all seems to be working now.&lt;/p&gt;

&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
    &lt;/div&gt;
  &lt;/div&gt;
</description><guid>https://dev.cpjobling.net/posts/upgraded-to-octopress-20/</guid><pubDate>Tue, 16 Aug 2011 20:19:00 GMT</pubDate></item><item><title>SelectorGadget and Nokgiri</title><link>https://dev.cpjobling.net/posts/selectorgadget-and-nokgiri/</link><dc:creator>Chris Jobling</dc:creator><description>&lt;div tabindex="-1" id="notebook" class="border-box-sizing"&gt;
    &lt;div class="container" id="notebook-container"&gt;

&lt;div class="cell border-box-sizing text_cell rendered"&gt;&lt;div class="prompt input_prompt"&gt;
&lt;/div&gt;
&lt;div class="inner_cell"&gt;
&lt;div class="text_cell_render border-box-sizing rendered_html"&gt;
&lt;p&gt;Just watched &lt;a href="http://railscasts.com/episodes/190-screen-scraping-with-nokogiri"&gt;Railscast Episode 190&lt;/a&gt; in which Ryan Bates demonstrated the use of the &lt;a href="http://nokogiri.org/"&gt;Nokogiri Gem&lt;/a&gt; for a screen scraping application. As part of the episode, Ryan also demonstrated the use of &lt;a href="http://www.selectorgadget.com/"&gt;SelectorGadget&lt;/a&gt;, a browser bookmarklet for exploring CSS styles on a page which is useful in Nokogiri for identifying CSS selectors to use to grab a particular HTML element (or group of elements). I had seen SelectorGadget recommended as a &lt;a href="http://www.technologybo.com/learn-jquery-with-firebug-jquerify-and-selectorgadget-3285.html"&gt;learning tool for jQuery as well&lt;/a&gt;, and Ryan's screencast was a useful reminder.&amp;lt;/p&amp;gt;&lt;/p&gt;
&lt;p&gt;Incidently, Nokogiri is used by the &lt;a href="http://rspec.info/rails/"&gt;Rspec&lt;/a&gt; and &lt;a href="http://rspec.info/rails/"&gt;Cucumber&lt;/a&gt; testing tools for Rails view testing.&lt;/p&gt;

&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
    &lt;/div&gt;
  &lt;/div&gt;
</description><guid>https://dev.cpjobling.net/posts/selectorgadget-and-nokgiri/</guid><pubDate>Tue, 05 Apr 2011 10:37:00 GMT</pubDate></item><item><title>Getting back into development mode</title><link>https://dev.cpjobling.net/posts/getting-back-into-development-mode/</link><dc:creator>Chris Jobling</dc:creator><description>&lt;div tabindex="-1" id="notebook" class="border-box-sizing"&gt;
    &lt;div class="container" id="notebook-container"&gt;

&lt;div class="cell border-box-sizing text_cell rendered"&gt;&lt;div class="prompt input_prompt"&gt;
&lt;/div&gt;
&lt;div class="inner_cell"&gt;
&lt;div class="text_cell_render border-box-sizing rendered_html"&gt;
&lt;p&gt;It's been a while (actually over a year) since I installed Octopress as a development log. I've gone back to it. After updating to the latest version and correcting some bugs that seem to have been introduced since I last used it.&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Crispy Development&lt;/em&gt; is all in place now and is updating correctly to its new home at &lt;a href="http://dev.cpjobling.org.uk"&gt;dev.cpjobling.org.uk&lt;/a&gt; and also to my GitHub homepage at &lt;a href="http://cpjobling.github.com"&gt;cpjobling.github.com&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;For my reference, the deployment recipe is:&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;$ cd ~/dev/dev.cpjobling.org.uk
$ rake generate deploy
$ rake deploy_github&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
    &lt;/div&gt;
  &lt;/div&gt;
</description><guid>https://dev.cpjobling.net/posts/getting-back-into-development-mode/</guid><pubDate>Wed, 30 Mar 2011 23:00:00 GMT</pubDate></item><item><title>Introducing BDD to Proman</title><link>https://dev.cpjobling.net/posts/introducing-bdd-to-proman/</link><dc:creator>Chris Jobling</dc:creator><description>&lt;div tabindex="-1" id="notebook" class="border-box-sizing"&gt;
    &lt;div class="container" id="notebook-container"&gt;

&lt;div class="cell border-box-sizing text_cell rendered"&gt;&lt;div class="prompt input_prompt"&gt;
&lt;/div&gt;
&lt;div class="inner_cell"&gt;
&lt;div class="text_cell_render border-box-sizing rendered_html"&gt;
&lt;p&gt;Behaviour Driven Development is well known in the Rails development community and I've decided to use it in my re-write of Proman. Following the instructions in Chapter 20 of the 13th beta of &lt;a href="https://dev.cpjobling.net/posts/introducing-bdd-to-proman/The%20RSpec%20Book"&gt;http://www.pragprog.com/titles/achbd/the-rspec-book&lt;/a&gt;, I installed the necessary gems (version numbers are the values at time of installation):&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;sudo gem install rspec --version &lt;span class="m"&gt;1&lt;/span&gt;.3.0
sudo gem install rspec-rails --version &lt;span class="m"&gt;1&lt;/span&gt;.3.2
sudo gem install cucumber --version &lt;span class="m"&gt;0&lt;/span&gt;.6.3
sudo gem install cucumber-rails --version &lt;span class="m"&gt;0&lt;/span&gt;.3.0
sudo gem install database_cleaner --version &lt;span class="m"&gt;0&lt;/span&gt;.5.0
sudo gem install webrat --version &lt;span class="m"&gt;0&lt;/span&gt;.7.0
sudo gem install selenium-client --version &lt;span class="m"&gt;1&lt;/span&gt;.2.18
&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;I then installed &lt;em&gt;rspec&lt;/em&gt; and &lt;em&gt;cucumber&lt;/em&gt; in my new Proman 3 project:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;$ &lt;span class="nb"&gt;cd&lt;/span&gt; ~/dev/Proman-3
$ mkdir lib
$ mkdir tasks
$ ./script/generate rspec

Configuring rspec and rspec-rails gems in config/environments/test.rb ...

  exists  lib/tasks
  create  lib/tasks/rspec.rake
  create  script/autospec
  create  script/spec
  create  spec
  create  spec/rcov.opts
  create  spec/spec.opts
  create  spec/spec_helper.rb

$ ./script/generate cucumber --rspec --webrat
    /usr/local/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/rails/gem_dependency.rb:119:Warning: Gem::Dependency#version_requirements is deprecated and will be removed on or after August &lt;span class="m"&gt;2010&lt;/span&gt;.  Use &lt;span class="c1"&gt;#requirement&lt;/span&gt;
           force  config/database.yml
          create  config/cucumber.yml
          create  config/environments/cucumber.rb
          create  script/cucumber
          create  features/step_definitions
          create  features/step_definitions/web_steps.rb
          create  features/support
          create  features/support/paths.rb
          create  features/support/env.rb
          exists  lib/tasks
          create  lib/tasks/cucumber.rake
&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;I committed the changes and created a tag &lt;em&gt;rspeced&lt;/em&gt;.&lt;/p&gt;

&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
    &lt;/div&gt;
  &lt;/div&gt;
</description><guid>https://dev.cpjobling.net/posts/introducing-bdd-to-proman/</guid><pubDate>Fri, 26 Mar 2010 00:00:00 GMT</pubDate></item><item><title>Running an Octopress Blog</title><link>https://dev.cpjobling.net/posts/running-an-octopress-blog/</link><dc:creator>Chris Jobling</dc:creator><description>&lt;div tabindex="-1" id="notebook" class="border-box-sizing"&gt;
    &lt;div class="container" id="notebook-container"&gt;

&lt;div class="cell border-box-sizing text_cell rendered"&gt;&lt;div class="prompt input_prompt"&gt;
&lt;/div&gt;
&lt;div class="inner_cell"&gt;
&lt;div class="text_cell_render border-box-sizing rendered_html"&gt;
&lt;p&gt;Inspired by &lt;a href="http://changelogshow.com/105/3197-episode-0-1-7-open-source-publishing-with-geoffrey-grosenbach-brandon-mathis-and-tim-caswell"&gt;episode 0.1.7 of The Changelog podcast&lt;/a&gt;, I have cloned and configured an &lt;a href="http://github.com/imathis/octopress"&gt;Octopress blog&lt;/a&gt; for recording my software development efforts. You will find a copy of this blog at &lt;a href="http://dev.cpjobling.org.uk"&gt;dev.cpjobling.org.uk&lt;/a&gt; and also on my GitHub page &lt;a href="http://cpjobling.github.org"&gt;cpjobling.github.org&lt;/a&gt;. And if it proves useful, Octopress may also replace the Proman development blog &lt;a href="http://promanman.blogspot.com/"&gt;Proman, man&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Out of the box, it provides links to twitter and delicious and can be configured to use disqus, google custom search and google analytics.&lt;/p&gt;
&lt;p&gt;As well as providing an interesting approach to blogging, Octopress, by using &lt;a href="http://daringfireball.net/projects/markdown/"&gt;Markdown&lt;/a&gt;, &lt;a href="http://compass-style.org/"&gt;Compass&lt;/a&gt;, &lt;a href="http://haml-lang.com/"&gt;Haml&lt;/a&gt; and &lt;a href="http://sass-lang.com/"&gt;Sass&lt;/a&gt;, also provides me with a useful sandpit for trying out these technologies.&lt;/p&gt;

&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
    &lt;/div&gt;
  &lt;/div&gt;
</description><guid>https://dev.cpjobling.net/posts/running-an-octopress-blog/</guid><pubDate>Sun, 14 Mar 2010 00:00:00 GMT</pubDate></item></channel></rss>