Skip to content

Instantly share code, notes, and snippets.

View paulredmond's full-sized avatar
🏴‍☠️

Paul Redmond paulredmond

🏴‍☠️
View GitHub Profile
@paulredmond
paulredmond / sublime-merge-cli.sh
Last active September 30, 2018 19:59
Put smerge in your path on OS X - Sublime Merge CLI
#!/usr/bin/env bash
ln -s /Applications/Sublime\ Merge.app/Contents/SharedSupport/bin/smerge /usr/local/bin/smerge
@paulredmond
paulredmond / may-mayhem-contest-articles.md
Created June 4, 2018 06:17
The complete list of articles submitted to the Laravel Blog Contest - May Mayhem Edition 2018
@paulredmond
paulredmond / UsersIndex.vue
Last active April 20, 2020 16:04
UsersIndex component for use with vue-router - https://laravel-news.com/building-vue-spa-laravel-part-3
<template>
<div class="users">
<div v-if="error" class="error">
<p>{{ error }}</p>
</div>
<ul v-if="users">
<li v-for="{ id, name, email } in users">
<strong>Name:</strong> {{ name }},
<strong>Email:</strong> {{ email }}
<example-component
:example-data="{&quot;wrestler_name&quot;:&quot;&amp;quot;Mercenary&amp;quot; Keith Anderson&quot;}"
>
</example-component>
@paulredmond
paulredmond / leanpub-tree-view.md
Created January 28, 2018 08:36
Docker for PHP Developers Leanpub Tree View
├── .gitignore
├── manuscript
│   ├── Book.txt
│   ├── Sample.txt
│   ├── Subset.txt
│   ├── acknowledgments.md
│   ├── backmatter.txt
│   ├── chapter01.md
│   ├── chapter02.md
@paulredmond
paulredmond / docker-php-developers.md
Created January 28, 2018 05:27
Docker for PHP Developers Testimonials

https://twitter.com/MrPReimers/status/956806077563195392

Just bought Docker for PHP Developers by @paulredmond. 😍 A great way to start using @Docker in @symfony / @laravelphp projects 👍

https://twitter.com/josesabarbosa/status/956720618480775169

I spent so many hours trying to figure this things out by myself and you make it look so easy 👌. This is gold for beginners. Next stop, chapter 6 🔥.

https://twitter.com/cmgmyr/status/956644987504128002

📘Just read through the first few chapters of @paulredmond’s book. It’s such a smooth read, and he makes Docker seem a lot more accessible. If you're interested in learning Docker, you should pick it up!

@paulredmond
paulredmond / states.js
Created December 27, 2017 18:28
US States for a JS Dropdown
var states = [
{
label: 'Alabama',
value: 'AL'
},
{
label: 'Alaska',
value: 'AK'
},
{
@paulredmond
paulredmond / TestCase.php
Created November 15, 2017 23:44
Bootstrap the Request instance in Lumen 5.5
<?php
namespace Tests;
use Illuminate\Http\Request;
use Laravel\Lumen\Testing\TestCase as BaseTestCase;
abstract class TestCase extends BaseTestCase
{
/**
@paulredmond
paulredmond / Preferences.sublime-settings
Created October 28, 2017 22:29
Sublime and VSCode Settings
{
"draw_white_space": "all",
"added_words":
[
"Laravel",
"mkdir",
"github",
"https",
"laravel",
"Ubuntu",
@paulredmond
paulredmond / docker-compose.yml
Created October 12, 2017 04:00
The docker-compose file
version: '3'
services:
app:
build:
context: .
dockerfile: docker/Dockerfile
ports:
- 8080:2015
volumes:
- .:/srv/app