This file contains hidden or 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
version: "3" | |
services: | |
traefik: | |
image: traefik:v2.10 | |
container_name: 'traefik' | |
command: | |
- '--log.level=DEBUG' | |
- '--api.insecure=true' | |
- '--api.dashboard=true' |
This file contains hidden or 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 artisan storage:link; | |
php artisan make:notifications-table | |
composer require laravel/horizon laravel/folio \ | |
livewire/volt \ | |
tpetry/laravel-postgresql-enhanced \ | |
spatie/laravel-tags spatie/laravel-sluggable \ | |
spatie/laravel-medialibrary spatie/laravel-activitylog \ | |
wnx/laravel-backup-restore \ | |
spatie/laravel-model-info spatie/laravel-sql-commenter \ |
This file contains hidden or 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 | |
Request::macro('validate', function ($rules, $messages = [], $customAttributes = []) { | |
$this->lastValidated = array_keys($rules); | |
(new class() { | |
use ValidatesRequests; | |
})->validate($this, $rules, $messages, $customAttributes); | |
}); |
This file contains hidden or 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
"""This is free and unencumbered software released into the public domain. | |
Anyone is free to copy, modify, publish, use, compile, sell, or | |
distribute this software, either in source code form or as a compiled | |
binary, for any purpose, commercial or non-commercial, and by any | |
means. | |
In jurisdictions that recognize copyright laws, the author or authors | |
of this software dedicate any and all copyright interest in the | |
software to the public domain. We make this dedication for the benefit |
This file contains hidden or 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
# Create a directory named "Sublime Text 3 Sync" under iCloud Drive | |
mkdir ~/Library/Mobile\ Documents/com~apple~CloudDocs/SubLime\ Text\ 3\ Sync | |
# Enter Sublime Text 3's directory | |
cd ~/Library/Application\ Support/Sublime\ Text\ 3/ | |
# Move "Installed Packages" directory to iCloud Drive and make a link | |
mv Installed\ Packages/ ~/Library/Mobile\ Documents/com~apple~CloudDocs/SubLime\ Text\ 3\ Sync/ | |
ln -s ~/Library/Mobile\ Documents/com~apple~CloudDocs/SubLime\ Text\ 3\ Sync/Installed\ Packages |
This file contains hidden or 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
define(function(require) { | |
var _ = require('lodash'); | |
var app = require('app'); | |
var enums = require('utils/enums'); | |
var auth = require('services/auth'); | |
var router = require('services/router'); | |
var getAccount = require('flux/getters/account'); | |
return { |
This file contains hidden or 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
{ | |
"name": "project", | |
"version": "0.0.0", | |
"authors": [ | |
"Eric Barnes <[email protected]>" | |
], | |
"license": "MIT", | |
"private": true, | |
"ignore": [ | |
"**/.*", |
This file contains hidden or 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
set nocompatible " Disable vi-compatibility | |
set t_Co=256 | |
colorscheme xoria256 | |
set guifont=menlo\ for\ powerline:h16 | |
set guioptions-=T " Removes top toolbar | |
set guioptions-=r " Removes right hand scroll bar | |
set go-=L " Removes left hand scroll bar | |
set linespace=15 |
This file contains hidden or 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
#! /usr/bin/env ruby | |
require 'tempfile' | |
require 'vimrunner' | |
require 'nokogiri' | |
require 'json' | |
if ARGV.count < 2 | |
puts "USAGE: tohtml <colorscheme-file> <filename> [filenames ...]" | |
exit 1 |
This file contains hidden or 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 spec\Bank\Controller; | |
use PHPSpec2\ObjectBehavior; | |
use PHPSpec2\Matcher\CustomMatchersProviderInterface; | |
use PHPSpec2\Matcher\InlineMatcher; | |
class PaymentController extends ObjectBehavior implements CustomMatchersProviderInterface | |
{ |
NewerOlder