Skip to content

Andy's blog o' goodness

php, web stuff, raspberry pi… even blacksmithing!

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: 6
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 Comment: 1
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
July 22, 2016

Dynamically control PiCamera record length: motion sensor fun with the Raspberry Pi

One thing I’ve always wanted to do with my Raspberry Pi was to build a trail camera, and when the Pi Zero was released with a camera port I thought that it was about time I stopped wanting to do it and actually just do it. It took a while to get parts delivered from various places, but eventually in...

Categories General/Raspberry Pi Comments: 0
July 13, 2016

Converting JSX to JS on the command line

Yesterday I was starting a small, very stand-alone project that required a pretty dynamic interface. I decided to put together the components using ReactJS but as it was essentially just one JSX file that I had I didn’t want to have to set up a gulp file, babelrc file, and whatever new-fangled build process the young kids are in to...

Categories javascript Comments: 0
June 22, 2016

A PHP extension to control GPIO on the RaspberryPi – my BrightonPHP talk

A while ago now (back in February!) I did a talk about writing an extension using Zephir to interact with the RaspberryPi’s GPIO.  The extension itself wraps around the wiringPi library and it makes it really easy to write PHP scripts that send output and gather input from the GPIO. Here are the slides (use left/right arrow keys to navigate):...

Categories Experiments/Gadgets/PHP Comments: 0
February 12, 2016

JW Player thumbnail creator now on Packagist and via Composer

Just a quick note to say that my thumbnail and VTT creator for JW Player, a script to help extract thumbnails from a video and present them in JW Player a a toolbar preview, has now got the ability to be included in your project via composer. Just use: composer require amnuts/jwplayer-thumbnail-preview-generator If you want, you can also browse for it...

Categories PHP Comments: 0

Posts navigation

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

Me elsewhere

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

Tags

amp (2) anvil (3) audio (2) blacksmithing (8) book (3) build (3) conference (2) error log (2) extension (2) filter (3) forging (7) gist (2) github (6) gpio (3) gui (4) htpc (2) interface (2) javascript (6) jQuery (7) justboom (2) metal (3) objects (2) opcache (3) packt (3) PHP (20) phpnw (2) phpnw10 (2) plug-in (5) plugin (2) raspberry pi (6) review (3) rpi (6) snippet (6) trailcam (2) vice (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 (19)
  • Databases (2)
  • Experiments (8)
  • Gadgets (5)
  • General (39)
  • javascript (17)
  • jQuery (7)
  • PHP (46)
  • Prototype (4)
  • Raspberry Pi (7)
  • Sites (2)
  • Subversion (1)
  • Updates (2)
  • works07 (6)
  • Zend Framework (17)

Archives

  • 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?

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

Coldbox WordPress theme by mirucon

  • Twitter
  • GitHub
Back To Top