Tales from the Evil Empire
Bertrand Le Roy's blog
-
Building a favicon module for Orchard
I built a little module for Orchard tonight and it
involves a couple of interesting magic tricks so I
thought I'd share.
-
Creating and maintaining Orchard translations
Many volunteers have already
stepped up
to provide translations for Orchard. There are many
challenges to overcome with translating such a
project.
-
Orchard shapeshifting
I've shown in
a previous post
how to make it easier to change the layout template
for specific contents or areas. But what if you want
to change another shape template for specific pages,
for example the main Content shape on the home page?
-
Mandatory look back at 2010
-
Migrating a blog from Orchard 0.5 to 0.9
My personal blog still runs on Orchard 0.5, because
the theme that I used to build it is not yet available
for more recent versions, but it is still very
important for me to know that I can migrate all my
content and comments to a new version at any time.
-
Switching the layout in Orchard CMS
The UI composition in
Orchard is
extremely flexible, thanks in no small part to the
usage of dynamic
Clay
shapes. Every notable UI construct in Orchard is built
as a shape that other parts of the system can then
party on and modify any way they want.
-
Displaying an image on a LED matrix with a Netduino
In
the previous post, we’ve been flipping bits manually on three ports of
the Netduino to simulate the data, clock and latch
pins that a shift register expected. We did all that
in order to control one line of a LED matrix and
create a simple Knight Rider effect.
-
Doh! Use the right constants when you talk to a Netduino
When programming a Netduino microcontroller, you are
going to use constants from the
SecretLabs.NETMF.Hardware.Netduino namespace. In
particular, there are constants defined for each of
the microcontroller’s output and input ports, enabling
you to write for example:
var button = new InputPort(
Pins.ONBOARD_SW1,
false,
Port.ResistorMode.Disabled); -
Improving the Netduino Knight Rider effect with a shift register
In
my last Netduino post, I showed how to create a simple Knight Rider
effect. One of the problems of that implementation was
that we were occupying one digital port of the
Netduino for each light in the ramp. It’s fine for
that simple effect, but in future posts we’ll look at
controlling our whole 8x8 LED matrix, which has 16
pins whereas the Netduino has only 14 digital ports.
-
FluentPath 1.0
Last Sunday, I published
version 1.0 of my little FluentPath library.
