|
You are here |
gist.github.com | ||
| | | | |
jamesmills.co.uk
|
|
| | | | | Every now and then you will probably find yourself in the need to use a custom function in your Laravel application. I cannot think of one project which I have worked on where I haven't needed to add a quick and easy custom function. Our controllers don't contain actions outside of the 7 resource actions [...] | |
| | | | |
brianreiter.org
|
|
| | | | | Normally, the macOS Terminal.app title bar includes the current directory name. When you connect to a remote host with openssh on macOS, the title bar gets updated to be "$(whoami)@$(hostname): $(pwd)" instead. Unfortunately when you exit ssh, the terminal title bar is not restored and continues to say you are on a remote host. Once... | |
| | | | |
dogweather.dev
|
|
| | | | | Does everyone already know about this? Am I just late to the party? I randomly discovered this, and it's blowing me away. Background: why match & exhaustiveness checking is cool First, here's a great run-down on Python 3.10's match statement. But Rust's "matches are exhaustive". I've always thought this is amazing, almost magical: Rust knows... | |
| | | | |
markodenic.com
|
|
| | | Free programming books, algorithms, public APIs, and much more. | ||