- https://www.coindesk.com/information/understanding-bitcoin-price-charts/
- https://en.wikipedia.org/wiki/Ethereum
- https://en.wikipedia.org/wiki/Ethereum_Classic
- https://www.coindesk.com/information/
- https://www.coindesk.com/information/buy-litecoins/
- https://www.coindesk.com/information/how-do-bitcoin-transactions-work/
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 | |
declare(strict_types=1); | |
namespace App\Http; | |
use Illuminate\Foundation\Http\Kernel as HttpKernel; | |
class Kernel extends HttpKernel | |
{ |
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 | |
declare(strict_types=1); | |
namespace App\Notifications; | |
use App\Helpers\RemembersLocale; | |
use Illuminate\Notifications\Notifiable; | |
trait LocalizedNotifiable |
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
# After *Activate New Release* | |
cd {{ release }} | |
php artisan cache:clear | |
php artisan view:clear | |
php artisan purifier:clear | |
php artisan config:cache | |
php artisan route:cache |
Say I implement https://github.com/sebastiaanluca/laravel-boolean-dates/blob/master/src/BooleanDates.php and a custom trait that does something similar for public dates (i.e. attribute input/output transformation; nothing related to resources btw).
$user->scopeTo('tenant-42')->can('do-something');
$user->scopeToModel($tenant)->can('do-something');
If you're using the proxy object directly, you might also be able to scope global calls on the Bouncer class like canAny
, etc. You should be able to either pass the Bouncer class instance, tweak, or extend the object to your liking.
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
{{--myRandomView.blade.php--}} | |
<active-link :href="route('my-route')" class="tag1 tag2 tag3" target="_blank">Much random</active-link> | |
{{--activeLink.blade.php option 1--}} | |
{{--Parent div inherits all unhandled attributes like class, target, … once rendered (so no work for the user)--}} | |
{{--<div class="tag1 tag2 tag3" target="_blank">--}} | |
<div> | |
{{--Variable attributes are to be assigned manually--}} | |
<a href="{{ $href }}"> | |
{{ $slot }} |
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
{{--Parent div inherits all unhandled attributes like class, target, … once rendered (so no work for the user)--}} | |
<div> | |
{{--Variable attributes are to be assigned manually--}} | |
<a href="{{ $href }}"> | |
{{ $slot }} | |
</a> | |
</div> | |
// Results in: |
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
provider: virtualbox | |
memory: 8192 | |
cpus: 4 | |
name: project | |
hostname: local1.project.com.test | |
ip: 192.168.116.20 | |
authorize: ~/.ssh/id_rsa.pub | |
keys: |
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
alias git-last-release='git describe --tags $(git rev-list --tags="[0-9]*.[0-9]*.[0-9]*" --max-count=1)' | |
confirm() { | |
# call with a prompt string or use a default | |
read -r -p "${1:-Are you sure? [y/N]} " response | |
case "$response" in | |
[yY][eE][sS]|[yY]) | |
true | |
;; | |
*) |