Creează un cont pentru a te abona la acest blog și a-i urmări articolele pe pagina Lectură.
-
Sending every prompt to a hosted API is the easy path, but it has two costs: your data leaves your network, and the per-token bill grows with usage.
-
## About the 429 error `429 Too Many Requests` is the OpenAI API telling you it's refusing a request because you've gone over a limit.
-
[Ollama](https://ollama.com) packages an open large language model, its weights, and a small HTTP server into a single command.
-
DeepSeek releases its models as open weights, which means you can download DeepSeek-R1 and run it entirely on your own hardware.
-
AI crawlers now make up a real slice of traffic.
-
Wiring an LLM into a Laravel app is less work than most people expect.
-
## Why is the page expired?
-
## About the error The browser shows `ERR_TOO_MANY_REDIRECTS` (Chrome) or "The page isn't redirecting properly" (Firefox).
-
## About the error Chrome shows `NET::ERR_CERT_AUTHORITY_INVALID` behind a "Your connection is not private" warning.
-
## Why you need to know your Ubuntu version Before I install a package, follow a tutorial, or open a support ticket, I want to know exactly which Ubuntu release I'm on.
-
Ubuntu ships MySQL in its repositories, but it's often an older release.
-
A [Let's Encrypt](https://letsencrypt.org) certificate is valid for 90 days.
-
After you [install PHP](/how-to-install-php), it works — but the defaults in `php.ini` are conservative placeholders, not production values.
-
"Just get a server and put your site on it" hides a surprising amount of work.
-
[Nginx](https://nginx.org) is the piece that listens on ports 80 and 443, terminates TLS, serves your static files, and passes everything else to [PHP-FPM](/how-to-install-php) or your application.
-
You can't fix what you can't see.
-
Even a PHP application usually needs Node.js — to compile CSS, bundle JavaScript with Vite or webpack, and run the asset build step during [deployment](/zero-downtime-php-deployments).
-
Strictly speaking, you don't *need* Cloudflare.
-
[Cloudflare](/providers/cloudflare) is a service that sits in front of your website.
-
Launching a website is the moment a dozen small details suddenly matter all at once.
-
A trusted SSL certificate is no longer optional — without one every visitor gets a [your connection is not private](/your-connection-is-not-private) warning, and browsers refuse to load the page.
-
Ubuntu's default repositories are usually a PHP version or two behind, and they don't always carry every extension you'll need.
-
Not every site upgrades on the same schedule.
-
## Why you'd want this Linux schedules CPU time using a **nice value** between `-20` (highest priority) and `19` (lowest).
-
## About the error ```bash ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '...' at line 1 ``` The crucial part is the text after **`near`**.
-
## About the error ```bash ERROR 2006 (HY000): MySQL server has gone away ``` It means the client sent a query but the connection to the server was already closed or dropped.
-
## What is a certificate chain When a browser connects to your website over HTTPS, it doesn't trust your certificate directly.
-
## How Linux permissions work Every file and directory on Linux and macOS has permissions for three groups: the **user** (owner), the **group**, and **others** (everyone else).
-
## About the error You'll see `CSRF token mismatch.` in an exception or API response, or the user lands on a [419 Page Expired](/419-page-expired-laravel) page.
-
## Rename the branch you are on The `-m` (move) flag renames a branch.
-
## The default SSH port SSH listens on **TCP port 22** by default.
-
## What SSH tunneling is for SSH can do more than give you a shell: it can carry other connections through its encrypted channel.
-
## About error 503 A `503 Service Unavailable` signals that the server is up but temporarily can't serve the request.
-
## Stashing your changes `git stash` takes your modified tracked files, saves them away, and gives you a clean working directory: ```bash git stash ``` By default it does **not** include untracked files.
-
## About error 504 A `504 Gateway Timeout` is returned when nginx, acting as a reverse proxy, successfully connects to the upstream server but does not receive a complete response within the configured timeout window.
-
## About the error Chrome shows a full-page "Your connection is not private" warning with a code such as `NET::ERR_CERT_*`.
-
## About the error ```bash Error: Call to a member function format() on null ``` You called a method (`->format()`, `->name`, `->save()`) on something that was `null` instead of the object you expected.
-
## About the error ```bash PHP Fatal error: Uncaught Error: Class "App\Services\Invoice" not found ``` PHP tried to use a class and couldn't find a definition for it.
-
## About error 500 A `500 Internal Server Error` means the server hit an unhandled error while processing the request.
-
## What git reset does `git reset` moves the current branch tip to a commit you choose.
-
## About the error You'll hit one of these: ```bash ERROR 1153 (08S01): Got a packet bigger than 'max_allowed_packet' bytes ERROR 2006 (HY000): MySQL server has gone away ``` When a client or the server receives a single packet larger than `max_allowed_pa…
-
## What npm install does `npm install` is the everyday command for adding and updating dependencies: ```bash npm install npm install lodash # add a package ``` It reads `package.json`, resolves versions, installs them, and **writes** the result to `packag…
-
## About the error Running `composer update` or `composer require` fails with: ```bash PHP Fatal error: Allowed memory size of 1610612736 bytes exhausted (tried to allocate ...) ``` Dependency resolution is memory-hungry.
-
## Delete a local branch Use `-d` (lowercase) to delete a branch that has already been merged.
-
## About the error The message reads: ```bash Illuminate\Foundation\ViteException: Vite manifest not found at: /var/www/public/build/manifest.json ``` The `@vite` directive in your Blade layout looks up that `manifest.json` to know which compiled CSS and…
-
## Running a command without logging in Most of the time when I SSH into a server I just want to run a single command and get out.
-
Both Brotli and Gzip do the same job: they shrink text responses (HTML, CSS, JS, JSON) before sending them over the wire so pages load faster on the client.
-
## About the error The message looks like: ```bash Illuminate\Contracts\Container\BindingResolutionException: Target class [App\Http\Controllers\UserController] does not exist. ``` Laravel's service container tried to instantiate a class by its name and c…
-
## About the error In Laravel the message looks like: ```bash SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry 'jane@example.com' for key 'users.users_email_unique' ``` It tells you three useful things: the value that clashed (`jane@e…
-
## Copying files over SSH Whenever I need to move a file to or from a server, `scp` is the tool I reach for first.