docker run [options] image_name [command]
You can get this list and more by running docker run --help
.
-p
or--publish
publish a port from the container to your local machine "-p <host port>:<container port>"
vim.treesitter.query.set( | |
"json", | |
"composer_dependencies", | |
[[ | |
(pair | |
key: (string | |
(string_content) @key (#match? @key "require|require-dev") | |
) | |
value: (object | |
(pair |
local app = require("laravel").app | |
local function model_info(bufnr) | |
local namespace = vim.api.nvim_create_namespace("laravel.model") | |
app("class"):get(bufnr, function(class) | |
app("api"):tinker( | |
string.format( | |
[[ | |
$r = new ReflectionClass("%s"); | |
$isModel = $r->isSubclassOf("Illuminate\Database\Eloquent\Model"); |
local Job = require'plenary.job' | |
local qatar = {} | |
qatar.matches = {} | |
local run = false | |
local function get_data(type) | |
local url = string.format("https://world-cup-json-2022.fly.dev/matches/%s", type) |
#!/bin/bash | |
BASE_URL="https://laravel.com/docs/" | |
VERSION="${LDOC_DEFAULT_VERSION:-5.8}" | |
OPEN_WITH="xdg-open" | |
if [ "$1" != "" ]; then | |
VERSION=$1 | |
fi |