See: https://www.rubyguides.com/2018/10/delegate-methods-in-ruby/
module Algolia
module Search
# Class Index
class Index
include CallType
extend Forwardable # available in ruby 2.2
laravel new secret-project | |
composer require laravel/jetstream | |
php artisan jetstream:install livewire --teams | |
composer require barryvdh/laravel-debugbar --dev |
#!/usr/local/bin/bash | |
# function e_header() { printf "\n${yellow}========== %s ==========${reset}\n" "$@" } | |
# function e_arrow() { printf "➜ $@\n" } | |
# TODO: Check if current branch is `master` | |
e_header "Rebuilding assets" | |
echo |
<?php | |
namespace App\Console\Commands\Dev; | |
use App\User; | |
use Illuminate\Console\Command; | |
use Illuminate\Support\Facades\DB; | |
use Illuminate\Support\Facades\Hash; | |
class CreateAdminUserCommand extends Command |
See: https://www.rubyguides.com/2018/10/delegate-methods-in-ruby/
module Algolia
module Search
# Class Index
class Index
include CallType
extend Forwardable # available in ruby 2.2
<?php | |
$finder = PhpCsFixer\Finder::create() | |
->in([ | |
__DIR__.'/app', | |
__DIR__.'/tests', | |
]) | |
; | |
$rulesToDisable = [ |
const mix = require('laravel-mix'); | |
const tailwindcss = require('tailwindcss'); | |
const rootPath = Mix.paths.root.bind(Mix.paths); | |
const tailwindPlugins = function(configFile, paths) { | |
const pluginList = [tailwindcss(configFile)]; | |
if (mix.inProduction()) { | |
pluginList.push(require('@fullhuman/postcss-purgecss')({ |
(-) |
Bundler could not find compatible versions for gem "actionmailer": | |
In Gemfile: | |
devise_invitable was resolved to 2.0.1, which depends on | |
actionmailer (>= 5.0) | |
rails (= 5.0.7.2) was resolved to 5.0.7.2, which depends on | |
actionmailer (= 5.0.7.2) | |
Bundler could not find compatible versions for gem "activemodel": | |
In Gemfile: |
$ ab -c 1 -n 100 http://localhost:3000/posts/1
This is ApacheBench, Version 2.3 <$Revision: 1826891 $>
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Licensed to The Apache Software Foundation, http://www.apache.org/
Benchmarking localhost (be patient).....done