Skip to content

Instantly share code, notes, and snippets.

View alnutile's full-sized avatar

Alfred Nutile alnutile

View GitHub Profile

Keybase proof

I hereby claim:

  • I am alnutile on github.
  • I am alfrednutile (https://keybase.io/alfrednutile) on keybase.
  • I have a public key whose fingerprint is 9E37 A135 9B41 67A8 8252 819A 75F3 3A19 75EB 9121

To claim this, I am signing this object:

[program:queue-listener-default]
process_name=%(program_name)s_%(process_num)02d
command=php {{ path }}/artisan queue:work default --tries=3 --sleep=3 --daemon
autostart=true
autorestart=true
user={{ user }}
numprocs=5
redirect_stderr=true
@alnutile
alnutile / request_queue.serialized
Created January 14, 2017 23:14
Example of a request in a queue Laravel 5x
{"job":"Illuminate\\Queue\\CallQueuedHandler@call","data":{"commandName":"App\\Jobs\\RandomWordJob","command":"O:22:\"App\\Jobs\\RandomWordJob\":4:{s:6:\"\u0000*\u0000job\";N;s:10:\"connection\";s:8:\"requests\";s:5:\"queue\";N;s:5:\"delay\";N;}"}}
  • Are you available FULL TIME for 6 months starting from July?
  • Do you have impeccable communication skills?
  • Are you an experienced Agile (inc Automated Test) Lean thinking Client Facing Developer?
  • Do you have experience in working in PHP and specifically the Laravel Framework
  • Do you want an excellent rate?
  • Do you want to work for an innovative start-up with the financial backing of a large enterprise?

Then we may just have the position for you! We are a progressive StartUp within a Multinational Corporation. We run Agile product teams that work closely with our clients to develop answers to their problems, but write highly maintainable and refactorable code in a Lean thinking environment.

<?php
trait LogInAs
{
/**
* @Given I log in as behat user
*/
public function logInAsBehat()
{
$user = '[email protected]';
{
"total": 50,
"per_page": 15,
"current_page": 1,
"last_page": 4,
"next_page_url": "http://laravel.app?page=2",
"prev_page_url": null,
"from": 1,
"to": 15,
"data": [
#
# REQUIRES:
# - server (the forge server instance)
# - site_name (the name of the site folder)
# - sudo_password (random password for sudo)
# - db_password (random password for database user)
# - event_id (the provisioning event name)
# - callback (the callback URL)
#
<div class="form-group">
<div class="form-group">
<label for="name">Email</label>
<input markdown="1" type="text" name="email" class="form-control" value="@if($user->email){{ $user->email }}@endif"/>
</div>
</div>
@include('feature_flags::twitter_name_input')
<div class="form-group">
@alnutile
alnutile / Feature.php
Created November 2, 2015 12:34
example feature for test
<?php
/**
* @Then I can add a new Meta Data type with values and validations
*/
public function iCanAddANewMetaDataTypeWithValuesAndValidations()
{
try
{
//Name Version
<!DOCTYPE html>
<html ng-app="app">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Fop</title>
@include('shared.assets_css')