Skip to content

Instantly share code, notes, and snippets.

View matthewtrask's full-sized avatar
🏠
Working from home

Matt Trask matthewtrask

🏠
Working from home
View GitHub Profile
@matthewtrask
matthewtrask / byobuCommands
Created September 9, 2018 22:45 — forked from jshaw/byobuCommands
Byobu Commands
Byobu Commands
==============
byobu Screen manager
Level 0 Commands (Quick Start)
------------------------------
<F2> Create a new window
  • SunshinePHP - Miami - February - CFP in October
  • Midwest PHP - Minnesota - March - CFP in December
  • LonghornPHP - April - Austin - CFP in December-ish
  • PHPTek - May - Atlanta - CFP in Jan/Fed
  • Southeast PHP - August - Nashville - CFP in February
  • Wave PHP - Sept - San Diego - CFP in April
  • Madison PHP - Sept - Madison, WI - CFP - May
  • Cascadia PHP - Sept - Portland - CFP in May
  • ZendCon - Oct - Las Vegas - CFP in Summer
  • NortheastPHP - Sept - Boston - CFP in May - Wont pay for travel/hotel
<template>
<div class="announcement-sidebar__section">
<p class="strong">{{ state.video.title }}</p>
<p class="text-italic">Announcements for {{ state.video.weekend }}</p>
<div class="announcement-sidebar__ann-list">
<vue-draggable v-model="state.video.announcements" @input="sendSortedArray">
<div v-for="announcement in state.video.announcements" v-bind:key="announcement.weight" :class="getAnnouncementClass(announcement.id)" v-on:click="selectAnnouncement(announcement.id)">
{{ announcement.title }}
<div v-if="state.video.status == 'Draft'" class="remove-announcement" v-on:click="removeAnnouncement(announcement.id, $event)"></div>
</div>
function postJobs(){
// we use axios to make the HTTP request
axios.post('/api/jobs')
// if request is successful, this is what needs to happen
.then(response => {
// do success stuff
}.catch((error => {
// we also get to handle errors, so this promise is where we catch the error and handle it gracefully.
console.error(error);
}
```Matt Trask
[4:04 PM]
not I. you see hobbits, we eat all the time. Breakfast, 2nd breakfast, Elevenses, Lunch, Afternoon Tea, Dinner and Supper.
Marcus Fulbright [4:38 PM]
The issue isn't the eating
/**
* @var private $awsService
*/
public function __construct(AwsService $awsService)
{
$this->awsService = $awsService;
}
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Dog Object</title>
<script type="text/javascript" src="validator.js"></script>
<style type="text/css">
#JS {
display:none;
}
protected static function boot()
{
parent::boot();
static::deleting(
function ($model) {
if (!empty($model->image_file_name)) {
dispatch(new RemoveAssetJob($model));
}
}
* Todo List
* Url Shortener
* Weather App
* Stock Market Quote Watcher
* Movie Ranker with IMDb API
* Twitter Clone
* Employee Login System with Permissions
Verifying myself: I am matthewtrask on Keybase.io. jPN6vUJIkaPZyVN-Oy615RUMIGdkiF4Vx0Hi / https://keybase.io/matthewtrask/sigs/jPN6vUJIkaPZyVN-Oy615RUMIGdkiF4Vx0Hi