Skip to content

Andy's blog o' goodness

php, web stuff, raspberry pi… even blacksmithing!

July 22, 2017

Filter an array of objects

Quite often I might have an array of objects, be it from a db query or some json object, and I want to filter that list in a particular way.  Lots of times I would find myself doing the same old thing; creating a new array, looping and looping until all I had left was what matched my filter. I’m...

Categories Code snippets/PHP Comments: 0
July 19, 2017

First “proper” thing made with a hammer and anvil

On this past weekend the family and I went camping with a few friends, and a lovely time was had by all (despite a couple bee stings and a bad face-plant by someone into a pavement). While taking down the tent we realised that our tent peg puller was a little weak and we even struggled with it to pull...

Categories Blacksmithing Comments: 0
July 17, 2017

First blacksmithing session

I had my first blacksmithing session last week, and it was probably the most fun I’ve had with a hammer and metal in… well, I’m too old now to remember how long ago things were. But a long time, let me tell you. At first I learned how to draw down to a square point, and then built on that...

Categories Blacksmithing Comments: 0
May 31, 2017

Cleaning up my vice

Along with the anvil I was also given a leg vice. This is a heavy-duty vice with a long pole that goes down into the ground a little way to transfer energy away from the hammer blows or moving the metal making it less likely that the vice will break under use. It was thrown in with the anvil because,...

Categories Blacksmithing Comments: 0
May 28, 2017

Cleaning up my anvil

The anvil I was given for my birthday is wonderful, but was really rusty. Not knowing the best way to clean it up I hit a very popular smithing forum called I Forge Iron. The people on there were nothing but friendly and helpful and gave really good advice about my ol’ girl and how to clean her up. All...

Categories Blacksmithing Comments: 0
May 23, 2017

And now for something completely different… blacksmithing!

For quite some time now I’ve loved the idea of blacksmithing. There just seems to be something about heating up metal over a hot forge, the ring of the anvil, that harks back to times gone by. I’ve always joked with my wife that if I didn’t do web development I’d do blacksmithing. Two problems with that, though; I’m not...

Categories Blacksmithing Comments: 0
January 11, 2017

Rotary volume control for the Raspberry Pi

If you have checked out my previous post, you know I want to create a clock radio powered by the Raspberry Pi with the audio coming out of a JustBoom AMP Zero pHAT.  One of the things that I thought would be quite handy (probably necessary) would be volume control.  Ideally that would be some kind of hardware rotation controller,...

Categories Raspberry Pi Comments: 8
January 5, 2017

PiZero Clock Radio – Part 1

Long story short; I have a clock radio and it can just about play something from the radio and wake me up in the morning. But if the power goes out it never remembers the time or what any of the radio stations were, and it completely lacks the ability to auto-seek for stations (and I can never remember what...

Categories Raspberry Pi Comments: 2
November 29, 2016

Calculate aspect ratio

This is a handy little function I’ve used a few times to calculate the aspect ratio of an image or video.  Simply give it the width and height and it’ll give you the aspect ratio.

Categories PHP Comments: 0
July 24, 2016

Trail camera – first outdoors test

Last night I packaged everything up in the trail camera lunch box and gave it the first outdoors test. The first thing it captured was this little guy! I think there may still be a few things to sort out. The PIR sensor may not be very sensitive or the code may not be 100% functioning correctly (though it seemed...

Categories Gadgets/General/Raspberry Pi Comments: 0

Posts pagination

  • «
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • …
  • 12
  • 13
  • »

Me elsewhere

  • Follow me on GitHub
  • Follow me on Twitter
  • My GitHub gists
  • My LinkedIn profile

Tags

amp (2) anvil (3) blacksmithing (8) book (3) build (3) conference (2) error log (2) extension (2) filter (3) forging (7) gist (2) github (7) gpio (3) gui (4) htpc (2) interface (2) javascript (6) jQuery (7) metal (3) objects (2) opcache (3) packt (3) PHP (20) phpnw (2) phpnw10 (2) plug-in (5) plugin (2) Prototype (2) python (3) raspberry pi (7) reactjs (2) review (3) rpi (7) snippet (6) trailcam (2) view helper (3) webinar (2) windows (2) wiringPi (2) Zend Framework (11) zend opcache (2) Zend Studio (2) zend_view (2) zend_view_stream (2) zephir (3)

Categories

  • Blacksmithing (10)
  • Code snippets (20)
  • Databases (2)
  • Experiments (8)
  • Gadgets (5)
  • General (41)
  • GitHub (2)
  • javascript (17)
  • jQuery (7)
  • PHP (47)
  • Prototype (4)
  • Python (2)
  • Raspberry Pi (8)
  • Sites (2)
  • Subversion (1)
  • Updates (2)
  • works07 (6)
  • Zend Framework (17)

Archives

  • November 2023
  • July 2023
  • May 2023
  • November 2022
  • October 2020
  • September 2020
  • July 2020
  • April 2020
  • April 2019
  • March 2019
  • February 2019
  • January 2018
  • November 2017
  • August 2017
  • July 2017
  • May 2017
  • January 2017
  • November 2016
  • July 2016
  • June 2016
  • February 2016
  • September 2015
  • July 2015
  • June 2015
  • April 2015
  • November 2014
  • October 2014
  • June 2014
  • February 2014
  • November 2013
  • April 2013
  • March 2013
  • August 2012
  • April 2012
  • September 2011
  • June 2011
  • May 2011
  • April 2011
  • October 2010
  • September 2010
  • May 2010
  • March 2010
  • February 2010
  • January 2010
  • December 2009
  • September 2009
  • March 2009
  • February 2009
  • January 2009
  • December 2008
  • November 2008
  • September 2008
  • August 2008
  • July 2008
  • June 2008
  • April 2008
  • March 2008
  • January 2008
  • December 2007
  • October 2007
  • September 2007
  • August 2007
  • June 2007
  • April 2007
  • March 2007
  • February 2007

Meta

  • Register
  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org

Help pay for hosting?

Me elsewhere

  • Follow me on GitHub
  • Follow me on Twitter
  • My GitHub gists
  • My LinkedIn profile

Tags

amp anvil blacksmithing book build conference error log extension filter forging gist github gpio gui htpc interface javascript jQuery metal objects opcache packt PHP phpnw phpnw10 plug-in plugin Prototype python raspberry pi reactjs review rpi snippet trailcam view helper webinar windows wiringPi Zend Framework zend opcache Zend Studio zend_view zend_view_stream zephir

Help pay for hosting?

Categories

Meta

  • Register
  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org

© 2007-2025 Andy's blog o' goodness. All thoughts expressed are my own.

Coldbox WordPress theme by mirucon

  • Twitter
  • GitHub
Back To Top