- https://speakerdeck.com/willroth/50-laravel-tricks-in-50-minutes
- https://www.reddit.com/r/laravel/comments/3to60i/50_laravel_tricks/
- 1. Automatic Model Validation
## MPV Keyboard Shortcut to match VLC | |
## Path: /etc/mpv | |
## ================== | |
UP ignore # ignore keybinds for | |
DOWN ignore # directional keys | |
LEFT seek -10 | |
RIGHT seek 10 | |
SPACE cycle pause # toggle pause |
@echo off | |
title Wifi Hotspot | |
echo What You What To Do ? | |
echo 1 to create wifi | |
echo 2 to stop wifi | |
echo 3 show details | |
set /p input= | |
if %input%==1 goto 1 | |
if %input%==2 goto 2 |
<?php | |
function fib($n) | |
{ | |
if ($n < 2) | |
return $n; | |
else | |
return fib($n - 1) + fib($n - 2); | |
} | |
?> |