Skip to content

Instantly share code, notes, and snippets.

View alnutile's full-sized avatar

Alfred Nutile alnutile

View GitHub Profile
@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')
@alnutile
alnutile / print.js
Created July 27, 2015 18:51
Print the page this is influenced by the library that Laravel made for Cashier.
// PhantomJS Screenshot Capture...
var page = require('webpage').create();
//page.viewportSize = {width: 600, height: 600};
page.paperSize = {format: 'A4', orientation: 'portrait', margin: '1cm'};
page.open('http://startup-scorecard.com/core/functions/answers_pdf4.php', function() {
setTimeout(function() {
page.render('output.pdf');
phantom.exit()
@alnutile
alnutile / reviewer_uams_index.json
Created July 6, 2015 11:18
Maintainer View: User Interface to manage reviewers
{
"data":
{
"countries": [ { "id": "foo", "name": "bar" }, { "id": "foo", "name": "bar" } ],
"products": [ { "id": "foo", "name": "bar" }, { "id": "foo", "name": "bar" } ],
"review_type": [ { "id": "foo", "name": "bar" }, { "id": "foo", "name": "bar" } ],
"doc_type": [ { "id": "foo", "name": "bar" }, { "id": "foo", "name": "bar" } ],
"sub_type": [ { "id": "foo", "name": "bar" }, { "id": "foo", "name": "bar" } ],
"classifications": [ { "id": "foo", "name": "bar" }, { "id": "foo", "name": "bar" } ],
"audience": [ { "id": "foo", "name": "bar" }, { "id": "foo", "name": "bar" } ],