- Operating System: Debian GNU/Linux 12 (bookworm)
- Kernel: Linux 6.1.64-09049-g010fe86d9eae
- Architecture: x86-64
- Podman: v1.7.1
1. Install Podman:
sudo apt install podman
/** | |
* ✅ Simple email validator | |
* | |
* - Based on RFC 5322 (simplified). | |
* - Validates basic structure: local@domain. | |
* - Allows most real-world email addresses. | |
* | |
* @see https://www.rfc-editor.org/rfc/rfc5322 | |
*/ | |
export function isValidEmail(email: string): boolean { |
<?php | |
use Illuminate\Http\Request; | |
use Illuminate\Support\Facades\Route; | |
use App\Http\Controllers\Api\UserController; | |
Route::get('/user', function (Request $request) { | |
return $request->user(); |
import { ServerResponse, type IncomingMessage } from "node:http"; | |
import { Http2ServerRequest, Http2ServerResponse } from "node:http2"; | |
import { isArrayBufferView } from "node:util/types"; | |
const INTERNAL_BODY = Symbol("internal_body"); | |
const GlobalResponse = Response; | |
globalThis.Response = class Response extends GlobalResponse { | |
[INTERNAL_BODY]: BodyInit | null | undefined = null; |
#!/bin/bash | |
# From https://gist.github.com/ryancdotorg/84275935f0b82578d8c222e2e915fc78 | |
# built binaries at https://ryanc-musl-bins.s3.amazonaws.com/SHA256SUMS.html | |
set -eo pipefail | |
set -x | |
export BUILD_SCRIPT_DATE="$(date -r "$0" -Iseconds)" | |
PV_VERSION=1.8.5 |
-- Os dados contidos nesse arquivo foram extraídos do site: http://ibge.gov.br/cidadesat utilizando ruby, nokogiri e expressões regulares. | |
-- Autor: Mauricio Natanael Ferreira | |
-- Github: https://github.com/manfe | |
-- Twitter: @manfe01 | |
-- Email: contato [at] ferreiramauricio [dot] com | |
-- *********************************************************************************************************************************************** | |
-- id ... |
В некой временной директории (например, ~/tmp
) создаём директорию DEBIAN
, а в ней - файл control
с содержимым вроде такого:
> Package: имя-пакета
Version: версия пакета, скажем 1.0 или 2.7.9. Должна начинаться с цифры
Architecture: архитектура(i386, amd64, all...)
Maintainer: сопровождающий пакета. Можно написать почту
Installed-Size: размер программы в килобайтах