Blog Directory
Community Blog

Mountain Of Code

Mountain of code is a collection of web and dev ops related projects mixed with a little hacking and tinkering

mountainofcode.co.uk

Mountain Of Code is an independent blog covering web development. It publishes on a weekly or bi-weekly basis, with 143 posts in its archive. This blog was submitted by the community.

About This Blog
Activity

Regular

Publishes weekly or bi-weekly

Followers

0

Category

Independent Blog

Languages

English

Feed Accessibility

How this blog's content is accessed through Blogs Are Back.

Excerpts Only

RSS feed provides excerpts — visit the blog for full posts

Proxy Required

Feed is fetched through our proxy for browser compatibility

Proxy Post Links

Post pages are loaded through our proxy for compatibility

Embeddable

Posts can be displayed inline in the reader view

Latest Posts

Recent posts from Mountain Of Code's RSS feed.

TIL: NO_COLOR

Today I learned there is an informal standard environment variable NO_COLOR which when set to a non-empty string will cause a significant number of CLI tools to not print any ANSI colour in their output. One to bear in mind when using (or writing) CLI tools.

🐝 Solitary Bee Hotel

I was gifted a lovely cedar bee-hotel a couple of years ago. It's been really successful, each year it's been mostly filled up. Except last year. Last summer while sat enjoying the sunshine and watching the hotel, I noticed they were acting differently. There were plenty of interested bees, but almost none of them were actually going into any of the tubes. They would get as far as sticking their heads in the door and then fly off. At the end of the season almost none of the tubes had been used (...

100 Million Row Challenge

Brendt recently issued a challenge to the PHP community: The goal of this challenge is to parse 100 million rows of data with PHP, as efficiently as possible. The full rules and prizes can be found here. This was somewhat fortunate timing for me as just the day before I had read this excellent article about approaching a similar problem. I didn't expect to win any prizes, but that wasn't why I wanted to give it a go. First Pass The first approach was pretty simple, keep looping while there are...

Stop Firefox Opening Downloaded Files Automatically

I always set Firefox to 'always ask you where to save files'. However, occasionally when I downloaded a file, it would bypass asking where to save and worse still, automatically open the file?! Turns out there is another section in Firefox's settings which adds special handling for specific file types. To prevent any downloaded files from automatically opening, you need to set all content types to either 'Always ask' or 'Save file'.

Serial Monitoring In The Field

I have a number of ESP32-based projects which are battery+solar-powered. If anything goes wrong with them, it can be a real pain to figure out what's wrong. While developing, I always add helpful Serial.print commands in the code. They're not much help when in the field, because the only way I have to read them is a PC. Sometimes you can move the whole thing and get the output, but I thought there must be a better way. Especially as Sod's law says that the issue only happens in situ. What I want...

Follow Mountain Of Code

Add this blog to your reading list on Blogs Are Back, or visit the blog directly.

https://www.mountainofcode.co.uk/feed.atom