← Înapoi la Urmăritori

Cel mai recent articol

Ultima verificare

Urmăritori 0 urmăritori
Articole: 170
  1. 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.

  2. ## 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.

  3. [Ollama](https://ollama.com) packages an open large language model, its weights, and a small HTTP server into a single command.

  4. Run DeepSeek locally

    DeepSeek releases its models as open weights, which means you can download DeepSeek-R1 and run it entirely on your own hardware.

  5. AI crawlers now make up a real slice of traffic.

  6. Wiring an LLM into a Laravel app is less work than most people expect.

  7. ## Why is the page expired?

  8. ## About the error The browser shows `ERR_TOO_MANY_REDIRECTS` (Chrome) or "The page isn't redirecting properly" (Firefox).

  9. ## About the error Chrome shows `NET::ERR_CERT_AUTHORITY_INVALID` behind a "Your connection is not private" warning.

  10. ## 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.

  11. Ubuntu ships MySQL in its repositories, but it's often an older release.

  12. A [Let's Encrypt](https://letsencrypt.org) certificate is valid for 90 days.

  13. After you [install PHP](/how-to-install-php), it works — but the defaults in `php.ini` are conservative placeholders, not production values.

  14. "Just get a server and put your site on it" hides a surprising amount of work.

  15. [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.

  16. You can't fix what you can't see.

  17. 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).

  18. Strictly speaking, you don't *need* Cloudflare.

  19. What is Cloudflare?

    [Cloudflare](/providers/cloudflare) is a service that sits in front of your website.

  20. Launching a website is the moment a dozen small details suddenly matter all at once.

  21. How to install Certbot

    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.

  22. Ubuntu's default repositories are usually a PHP version or two behind, and they don't always carry every extension you'll need.

  23. Not every site upgrades on the same schedule.

  24. ## Why you'd want this Linux schedules CPU time using a **nice value** between `-20` (highest priority) and `19` (lowest).

  25. ## 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`**.

  26. ## 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.

  27. ## What is a certificate chain When a browser connects to your website over HTTPS, it doesn't trust your certificate directly.

  28. ## 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).

  29. ## 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.

  30. ## Rename the branch you are on The `-m` (move) flag renames a branch.

  31. ## The default SSH port SSH listens on **TCP port 22** by default.

  32. ## What SSH tunneling is for SSH can do more than give you a shell: it can carry other connections through its encrypted channel.

  33. ## About error 503 A `503 Service Unavailable` signals that the server is up but temporarily can't serve the request.

  34. ## 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.

  35. ## 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.

  36. ## About the error Chrome shows a full-page "Your connection is not private" warning with a code such as `NET::ERR_CERT_*`.

  37. ## 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.

  38. ## 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.

  39. ## About error 500 A `500 Internal Server Error` means the server hit an unhandled error while processing the request.

  40. ## What git reset does `git reset` moves the current branch tip to a commit you choose.

  41. ## 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…

  42. ## 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…

  43. ## 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.

  44. ## Delete a local branch Use `-d` (lowercase) to delete a branch that has already been merged.

  45. ## 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…

  46. ## 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.

  47. 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.

  48. ## 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…

  49. ## 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…

  50. ## Copying files over SSH Whenever I need to move a file to or from a server, `scp` is the tool I reach for first.