Skip to content

Instantly share code, notes, and snippets.

Working from home

Luís Dalmolin luisdalmolin

Working from home
Block or report user

Report or block luisdalmolin

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
teeli / codedeploy-to-slack.js
Last active May 14, 2019
CodeDeploy notifications to Slack (AWS Lambda via SNS)
View codedeploy-to-slack.js
var https = require('https');
var util = require('util');
exports.handler = function (event, context) {
console.log(JSON.stringify(event, null, 2));
console.log('From SNS:', event.Records[0].Sns.Message);
var severity = "good";
var message = event.Records[0].Sns.Message;
var messageJSON = JSON.parse(message);
adamwathan / belongs-to-many.sublime-snippet
Last active Jun 8, 2019
Eloquent Relationship snippets for Sublime Text
View belongs-to-many.sublime-snippet
public function ${1:relationship}()
return \$this->belongsToMany(${1/^(.+)$/(?1\u$1:)/g}::class, {$2:table});
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
<!-- Optional: Set a scope to limit where the snippet will trigger -->
PurpleBooth /
Last active Sep 21, 2019
A template to make good

Project Title

One Paragraph of project description goes here

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.


mattstauffer /
Last active Aug 29, 2015
API changes to Laravel

The goal is to track all API changes to Illuminate components for the 4->5 upgrade.

If you run into any issues with using your Illuminate components the same way you did in 4, please leave them as a comment here so we can document it all.

Note that this is different from framework changes in terms of how you boot the application, structure your application, etc.--there's a separate gist for that.



  • 🎨 when improving the format/structure of the code
  • 🚀 when improving performance
  • ✏️ when writing docs
  • 💡 new idea
  • 🚧 work in progress
  • when adding feature
  • when removing feature
  • 🔈 when adding logging
  • 🔇 when reducing logging
  • 🐛 when fixing a bug
JeffreyWay / PhotoApiTest.php
Created May 21, 2013
Testing APIs in Laravel. Thoughts?
View PhotoApiTest.php
class PhotoApiTest extends TestCase {
public function setUp()
You can’t perform that action at this time.