Skip to content

Instantly share code, notes, and snippets.

@BorisAnthony
BorisAnthony / Scheduled updates for homebrew - README.md
Last active June 24, 2017 11:35 — forked from denvazh/README.md
Scheduled update for homebrew

Scheduled updates for homebrew

This two launchdaemon scripts provide scheduled updates and upgrade for homebrew packages.

It will run in the following way:

  • brew update every day at 12:10
  • brew upgrade every day at 12:20

How to install

@BorisAnthony
BorisAnthony / how-to-install-php-development-environment-on-osx.md
Last active May 25, 2017 13:59 — forked from jakebellacera/how-to-install-php-development-environment-on-osx.md
How to install a basic Apache, PHP and MySQL development environment with Homebrew. Mirrored from the Echo & Co. blog.

NOTA This is what I'm running, with the difference that I stuck with PHP 5.6.30 because of a dependcy on imagemagick for now. -B. 2017-05-25

How to install a basic Apache, PHP and MySQL development environment with Homebrew

This guide will walk you through the steps required to install a basic Apache, PHP and MySQL development environment using homebrew. Basically, all you'll need to do is copy the commands below into Terminal. Copy one block at a time.

NOTE: this guide is mirrored from Echo & Co.'s blog in case the original blog post or the website decides to go down. I've shared this guide around many times to colleagues and friends. Please give Alan Ivey (@alanthing) all of the credit for publishing this really helpful guide.

Before we begin...

@BorisAnthony
BorisAnthony / DAVID BOWIE’S 2 HOUR 1979 BBC DJ SET
Created January 12, 2016 16:39
DAVID BOWIE’S 2 HOUR 1979 BBC DJ SET
The Doors, “Love Street”
Iggy Pop, “TV Eye”
John Lennon, “Remember”
? & The Mysterians, “96 Tears”
Edward Elgar, “The Nursery Suite” (extract)
Danny Kaye, “Inchworm”
Philip Glass, “Trial Prison”
The Velvet Underground, “Sweet Jane”
Mars, “Helen Fordsdale”
Little Richard, “He’s My Star”
@BorisAnthony
BorisAnthony / Round_Full_Up_Down.php
Last active January 1, 2016 14:03
PHP Round Full Up and Full Down
<?php
/*
----------------------------------------------------------
FULL ROUND UP and DOWN
Boris Anthony .net - 2016-01-01
Fully agreed with this statement:
"In my opinion PHP's ROUND() function lacks two flags:
- PHP_ROUND_UP - Always round up.
- PHP_ROUND_DOWN - Always round down.
@BorisAnthony
BorisAnthony / Readmill-1book-reading-data.json
Last active December 19, 2015 17:25
One book example from my Readmill "reading-data.json", to inspect all the things they had built into their service.
{
"book": {
"title": "The Quantum Thief",
"author": "Hannu Rajaniemi",
"cover": "assets/covers/the-quantum-thief.jpg"
},
"user": {
"username": "boris",
"firstname": "Boris",
"lastname": "Anthony",