Skip to content

Instantly share code, notes, and snippets.

View theAl's full-sized avatar

Alfonz Borsos theAl

  • fpi eVIT GmbH & Co. KG
  • Cologne
View GitHub Profile
@theAl
theAl / keybase.md
Last active September 19, 2017 07:39

Keybase proof

I hereby claim:

  • I am theal on github.
  • I am alfonz (https://keybase.io/alfonz) on keybase.
  • I have a public key ASAxLzIaHdtlsda_-PmPdbVALQ1Ji6ZdBsyA8SKdiHs3Zwo

To claim this, I am signing this object:

@theAl
theAl / in_out_trailblazer.md
Created October 5, 2016 11:29 — forked from johnlane/in_out_trailblazer.md
The Ins and Outs of a Trailblazer Operation Contract

The Ins and Outs of a Trailblazer Operation Contract

These notes record my attempts to understand how and when to populate a Trailblazer contract. They may be incomplete, inaccurate or just plain wrong. They may also be right; I hope they are! Comments are welcome.

It all began with the requirement to seed a presenting contract from the inbound request. Having looked for answers in the Trailblazer book and on Gitter (there was a similar conversation on the 25th September), taking

@theAl
theAl / gist:502985d01008b8354364
Created February 2, 2016 08:36 — forked from akiatoji/gist:3044056
Nginx + Passenger 3 + RVM for Rack app on OS X using homebrew only

Most examples I found tell you to run rvmsudo or passenger-install-nginx-module. I ran into problems with these because:

  1. rvmsudo leaves root owned directories and files under rvm passenger gem directory. This will give you seemingly odd errors later when you try to remove/upgrade passenger gem, or try to use homebrew to install passenger.

  2. There's no good place to put nginx using passenger-install-nginx-module. Putting it under /usr/local means you have to remember it's there amongst homebrew files. Anywhere else, you still have to remember you put it there. We'd rather manage nginx install via homebrew.

So to install everything with homebrew, this is what it took:

gem install passenger
@theAl
theAl / gist:6069bff967f56e9ca90e
Created February 2, 2016 08:35 — forked from nzajt/gist:cfe7c5514ed662adda4b
Magento on osx Mavricks with nginx, php-fmp

#Magento on osx Mavricks with nginx, php-fmp

##Step 1

###Make sure that brew is up to date and installed.

If you do not have home brew installed, go to the link below and install it.

@theAl
theAl / cctrlworker
Created July 6, 2011 12:44 — forked from havvg/cctrlworker
A simple wrapper for the new cloudcontrol API provided by cctrlapp version 1.0.0, showing current workers and their command line information.
#!/bin/bash
APP=$1
for worker in `cctrlapp $APP worker | grep -ve '^Workers' | grep -ve '^ nr\.' | tr -s " " | cut -f3 -d " "`;
do
cctrlapp $APP worker $worker
done;