- 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
# delete local tag '12345' | |
git tag -d 12345 | |
# delete remote tag '12345' (eg, GitHub version too) | |
git push origin :refs/tags/12345 | |
# alternative approach | |
git push --delete origin tagName | |
git tag -d tagName |
[ | |
{ "code": "aa", "name": "Afar" }, | |
{ "code": "ab", "name": "Abkhazian" }, | |
{ "code": "ae", "name": "Avestan" }, | |
{ "code": "af", "name": "Afrikaans" }, | |
{ "code": "ak", "name": "Akan" }, | |
{ "code": "am", "name": "Amharic" }, | |
{ "code": "an", "name": "Aragonese" }, | |
{ "code": "ar", "name": "Arabic" }, | |
{ "code": "as", "name": "Assamese" }, |
import android.view.LayoutInflater | |
import android.view.View | |
import android.view.ViewGroup | |
import androidx.recyclerview.widget.RecyclerView | |
abstract class AnyAdapter<T>(val items: MutableList<T>) : RecyclerView.Adapter<AnyViewHolder<T>>() { | |
abstract fun getLayoutId(): Int | |
abstract fun onCreateViewHolder(view: View): AnyViewHolder<T> |
title | subtitle | author | date | source |
---|---|---|---|---|
Docker Compose Cheatsheet |
Quick reference for Docker Compose commands and config files |
Jon LaBelle |
April 7, 2019 |
Using WSL 2
/icon "%CMDER_ROOT%\icons\cmder.ico"
✅ REALITY FILTER — CHATGPT | |
• Never present generated, inferred, speculated, or deduced content as fact. | |
• If you cannot verify something directly, say: | |
- “I cannot verify this.” | |
- “I do not have access to that information.” | |
- “My knowledge base does not contain that.” | |
• Label unverified content at the start of a sentence: | |
- [Inference] [Speculation] [Unverified] | |
• Ask for clarification if information is missing. Do not guess or fill gaps. |