Fizz Buzz in PHP

By Josh Sherman
1 min read
development
php
career

Fizz buzz is a fairly common screening question to help sniff out non-programmers during the interview process. The task is to print out numbers 1 through 100 but for multiples of 3 print out “Fizz” instead of the number and for multiples of 5 print “Buzz” instead. If the number […]

Are GAWMiners Hashlets worth it?

By Josh Sherman
6 min read
reviews
bitcoin

I’ve only been the owner of a Hashlet from GAWMiners / ZenCloud for less than a week and I’m liking what I’m seeing thus far. My initial investment was a mere 15.99 USD for a 1MH/s Hashlet and honestly, the purchase itself was the most rocky situation. Seems with the […]

How to execute an HTTP POST using PHP cURL

By Josh Sherman
1 min read
development
php

I’ve been doing a lot of API integration recently and cURL ends up being exceptionally handy when you are POSTing to an endpoint. Fortunately using cURL in PHP is really easy: // Sets our destination URL $endpoint_url = 'https://somesite.com/path/to/endpoint'; // Creates our data array that we want to post to […]

10 office pranks you should try at your own office

By Josh Sherman
6 min read
career
company culture

Before I start talking about office pranks, I want to give a shout-out to Noah Kagan for his post We Analyzed Nearly 1 Million Headlines. Here’s What We Learned post. The truth is, this post is just a list of some of the notable office pranks I’ve either orchestrated, witnessed […]

Why work so hard to stay at the bottom?

By Josh Sherman
2 min read
career
personal finance

Not a day goes by that I see a headline about the need for a minimum wage increase. I read about staged sit-ins, protests and boycotts. I see people investing a ton of time and energy to remain the lowest paid workers in the country. I generally keep my political […]