Skip to content

Instantly share code, notes, and snippets.

Vitor Faiante vitorf7

Block or report user

Report or block vitorf7

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
@vitorf7
vitorf7 / docker-remove-all.sh
Created Mar 7, 2018 — forked from ericmdev/docker-remove-all.sh
Docker - stop and remove all containers and images.
View docker-remove-all.sh
#!/bin/bash
# Stop all containers.
docker stop $(docker ps -a -q)
# Delete all containers.
docker rm $(docker ps -a -q)
# Delete all images.
docker rmi --force $(docker images -q)
@vitorf7
vitorf7 / Test.php
Last active Aug 29, 2015
Laravel 5 Testing with Authentication using L5 Helper Methods
View Test.php
<?php
// === Inside my ApiTester.php Class. Could be inside the same test class but I use this for methods to test my API === //
/**
* Set Up Method for Tests
*/
public function setUp()
{
parent::setUp();
You can’t perform that action at this time.