Skip to content

Dan Bernardic

A WordPress blog of a Winnipeg Web Developer

Dan Bernardic

Dan Bernardic

A Winnipeg Web programmer. Proud member of the Skip the Dishes team. Experienced with Web technologies, e.g. HTML5, CSS, ( Server-side ) JS, PHP, WordPress, MVC, etc.

Verified Services

View Full Profile →

Wanna get an email whenever I write a post?

Dan on Twitter

My Tweets

Links

Peridot: PHP BDD framework

About a year old – http://peridot-php.github.io/ – Clean and refreshing. Assertions library at http://peridot-php.github.io/leo/expect.html .

Installed it with:


composer global require peridot-php/peridot:~1.15

composer global require peridot-php/leo:~1.0

And had to add it to the PATH ( $HOME/.composer/vendor/bin ).

Format LinkPosted on July 22, 2015Categories UncategorizedLeave a comment on Peridot: PHP BDD framework

doctest – Testing through documentation

doctest – Testing through documentation

This page has a somewhat in-depth set of examples for writing unit tests in Python with doctest.

http://pymotw.com/2/doctest/#working-around-whitespace specifically shows how to get around some whitespace formatting gotchas.

Format LinkPosted on March 2, 2014March 2, 2014Categories ProgrammingTags doctest, python, testing, unit testingLeave a comment on doctest – Testing through documentation

Fun Programming!

Fun Programming!

Awesome little collection of videos that attempt to teach programming through fun.

Format LinkPosted on December 29, 2013December 29, 2013Categories ProgrammingTags Fun, Fun Programming, ProgrammingLeave a comment on Fun Programming!

TellDontAsk

TellDontAsk

There was talk of “Tell, Don’t Ask” at the Code Retreat this weekend.

Here’s Martin Fowler’s explanation of this principle and warning to not be too zealous about it.

Format LinkPosted on December 16, 2013December 16, 2013Categories ProgrammingTags code retreat, Martin Fowler, software design, Tell don't askLeave a comment on TellDontAsk

Modular Procedural Programming The WordPress Theme Customizer

Modular Procedural Programming The WordPress Theme Customizer

Tom wrote some code for enabling customization of a WordPress theme. I wrote a code response.

Format LinkPosted on December 16, 2013December 16, 2013Categories WordPressTags ( short ) code is poetry, Customizer, gist, WordPress Themes1 Comment on Modular Procedural Programming The WordPress Theme Customizer

10x Engineer

10x Engineer

I don’t know. Certainly one can not pick a side, but rather learn the various aspects that come into play into this.

Format LinkPosted on December 12, 2013Categories UncategorizedTags Fellowship, productivityLeave a comment on 10x Engineer

( A different kind of ) Responsive Design

( A different kind of ) Responsive Design

Format LinkPosted on December 12, 2013Categories UncategorizedTags Responsive Design, software designLeave a comment on ( A different kind of ) Responsive Design

How TDD and Pairing Increase Production

How TDD and Pairing Increase Production

GeePawHill attempts to create common sense.

Format LinkPosted on December 11, 2013Categories UncategorizedTags GeePawHill, Pair Programming, Programming, TDDLeave a comment on How TDD and Pairing Increase Production

Email Forwarding for Custom Domains of Blogs Hosted at WordPress.com

Email Forwarding for Custom Domains of Blogs Hosted at WordPress.com

Hooray for WordPress.com providing me with email forwarding of dan@bernardic.ca to my gmail account!

Format LinkPosted on November 18, 2013Categories UncategorizedTags email forwarding, WordPress.comLeave a comment on Email Forwarding for Custom Domains of Blogs Hosted at WordPress.com

VM Images for older IEs!

VM Images for older IEs!

Just downloaded an XP + IE8 VM from this site. Works a charm!

Format LinkPosted on November 13, 2013November 13, 2013Categories Web DevelopmentTags cross-browser testing, ie8, Windows XPLeave a comment on VM Images for older IEs!

Posts pagination

Page 1 Page 2 Next page
Blog at WordPress.com.
Dan Bernardic
Create a free website or blog at WordPress.com.
Privacy & Cookies: This site uses cookies. By continuing to use this website, you agree to their use.
To find out more, including how to control cookies, see here: Cookie Policy
  • Subscribe Subscribed
    • Dan Bernardic
    • Join 35 other subscribers
    • Already have a WordPress.com account? Log in now.
    • Dan Bernardic
    • Subscribe Subscribed
    • Sign up
    • Log in
    • Report this content
    • View site in Reader
    • Manage subscriptions
    • Collapse this bar
 

Loading Comments...