This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<button type="submit" :disabled="form.isPending">Submit</submit> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<template> | |
<form @submit.prevent="submit"> | |
<input type="email" v-model="user.email"/> | |
</form> | |
</template> | |
<script> | |
import Form from 'form-object'; | |
export default { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"---------- Vundle {{{ | |
set nocompatible | |
filetype off | |
set rtp+=~/.vim/bundle/Vundle.vim | |
call vundle#begin() "Start Vundle plugins definition | |
Plugin 'VundleVim/Vundle.vim' "Vundle to manage Vimplugins | |
Plugin 'wincent/command-t' "Fast file navigation for VIM |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
defaults write org.vim.MacVim AppleFontSmoothing -int 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace App\Testing; | |
use GuzzleHttp\Client; | |
trait Emails | |
{ | |
/** | |
* Assert last email from mailcatcher is sent from a specified address. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
defaults write org.vim.MacVim AppleFontSmoothing -int 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
namespace App\Eloquent; | |
use Ramsey\Uuid\Uuid; | |
trait UuidField | |
{ | |
/** | |
* Add a uuid to the model before persist to the data base. | |
* | |
* @param array $options |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ffmpeg -f image2 -start_number 170 -i G0010%03d.JPG -s 750x562 -pix_fmt yuv420p -r 60 tiendeme.mov |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Author: Sahib J. Leo <sahib@sahib.io> | |
* | |
* Don't forget to add "model_fallback_locale" to your config/app.php | |
* | |
*/ | |
namespace App\Support; | |
use App; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sips -Z <max_size> <file/files> |