**ACCESO**
qEspacios > pruebas > Pruebas API > ejemplo_procesaImagen > principal
![](https://cdn.cacher.io/attachments/u/3kvwv6ftik65m/o1EOIRAtQEgES1-x86Y2fwk7Zq15bIMa/mapgifm9q.png)
![](https://cdn.cacher.io/attachments/u/3kvwv6ftik65m/iY6PzmsD4X2G7sdVBdPejxG3q9jY-fBI/nq9de0gn9.png)
**ENLACE**
http://joseantonio.quid.es/ejemplo_procesaImagen
**RESULTADO VISUAL**
![](https://cdn.cacher.io/attachments/u/3kvwv6ftik65m/mNngt3gH2wTk8QbwCChRkfw-MkBFrBxB/q5vvjl3f6.png)
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<link rel="stylesheet" type="text/css" href="./css/common.css">
</head>
<body>
<div class="inner830">
<section class="p-top-comparison">
<div class="c-inner1100">
<table>
<tr>
<th scope="col"></th>
<th scope="col"><img src="./img/common/logo_comparison.png" alt="fastnail"
<!-- htmx auto refresh content if catchup is not ready yet -->
{% if not project.is_catchup_ready %}
<div
hx-get="/api/v2/refresh_action_list?action_type={{action_type}}&{{ request.GET.urlencode }}"
hx-trigger="every 20s"
hx-target="#action_list_content"
hx-swap="outerHTML"
>
</div>
{% endif %}
<!-- end htmx auto refresh -->
<?php
// 投稿のコンテンツを取得
$content = get_post_field('post_content', get_the_ID());
preg_match_all('/<p[^>]*>(.*?)<\/p>/is', $content, $matches);
$text = implode("\n", $matches[1]);
<?php if(is_front_page()) : ?>
<script>
window.addEventListener('load', function() {
var centerX = window.innerWidth / 2;
var centerY = window.innerHeight / 2;
var event = new MouseEvent('mousemove', {
bubbles: true,
cancelable: true,
view: window,
clientX: centerX,
clientY: centerY
});
document.dispatchEvent(event);
});
</script>
<?php endif; ?>
{% load custom_filters %}
<!-- new pagination -->
<div class="flex items-center justify-between border-t border-gray-200 bg-white px-4 py-3 sm:px-6 mb-10">
<div class="flex flex-1 justify-between sm:hidden">
<a href="#" class="relative inline-flex items-center rounded-md border border-gray-300 bg-white px-4 py-2 text-sm font-medium text-gray-700 hover:bg-gray-50">Previous</a>
<a href="#" class="relative ml-3 inline-flex items-center rounded-md border border-gray-300 bg-white px
# Con 'emulator':
emulator -avd <nombre_avd> # Inicia un emulador de Android con un AVD específico.
emulator -list-avds # Lista todos los AVDs disponibles.
# Con 'adb':
adb devices # Lista todos los dispositivos Android conectados, incluidos los emuladores.
adb install <nombre_archivo.apk> # Instala un archivo APK en el dispositivo o emulador.
adb shell # Abre una shell interactiva en el dispositivo o emulador.
adb shell pm lis
# histogram best practice
## 简介
https://prometheus.io/docs/practices/histograms/
https://zhuanlan.zhihu.com/p/663702683
## 热力图
https://www.xhyonline.com/?p=1594
function getNextBusinessDay(date) {
do {
date.setDate(date.getDate() + 1);
} while (date.getDay() === 0 || date.getDay() === 6);
return date;
}
inicio{
"host":"26150F15271B0970C964CACF77FF",
"porta":"3F3524"
}fim
^.*[keyword].* as part of find all/replace all
//npx playwright codegen -> Opens browser and playwright inspector window
const { test, expect } = require("@playwright/test");
test("My Test", async ({ page }) => {
await page.goto("https://google.com");
await page.locator('[data-test="username"]').click();
await page.locator('[data-test="username"]').fill("username");
await expect(page).toHaveTitle("Google");
await page.click("id=user-name");
await page.locator("id=user-name").fill("Edison");
await page.locator('[id="user-name"
<div class="component c-stories c-stories--rotator-list flex">
<div class="c-stories__thumbnails">
<ul data-bind="foreach: thumbnails">
<li tabindex="0" data-bind="css: { 'c-stories__active': active }, click: $component.slickGoTo, onEnter:$component.slickGoTo ">
<div class="c-stories__item-inner relative">
<div class="c-stories__active-indicator">
<span>
Now Viewing
/**
* @param {number[][]} grid
* @return {number}
*/
var maximumSafenessFactor = function(grid) {
// Get the size of the grid
const n = grid.length;
// Define the directions for moving to adjacent cells
const directions = [[1, 0], [-1, 0], [0, 1], [0, -1]];
// Helper function to check if a cell is within the grid boundaries
const isInBound = (r, c) => r >= 0 && r < n && c >= 0 && c < n;
// Initialize the distance array with Infinity and the queue as empty
co
## `vs` Questions
-----------------
1. http://stackoverflow.com/questions/804115 (`rebase` vs `merge`).
2. https://www.atlassian.com/git/tutorials/merging-vs-rebasing (`rebase` vs `merge`)
3. https://www.atlassian.com/git/tutorials/undoing-changes/ (`reset` vs `checkout` vs `revert`)
4. http://stackoverflow.com/questions/2221658 (HEAD^ vs HEAD~) (See `git rev-parse`)
5. http://stackoverflow.com/questions/292357 (`pull` vs `fetch`)
6. http://stackoverflow.com/questions/39651 (`stash` vs `branch
import org.json.simple.JSONArray;
import org.json.simple.JSONObject;
import org.json.simple.parser.JSONParser;
import org.json.simple.parser.ParseException;
import java.io.*;
public class ContactListToJson {
public void WriteToJson() {
// Create a JSON array to store contacts
JSONArray contacts = new JSONArray();
// Create a sample contact
JSONObject contact1 = new JSONObject();
contact1.put("name", "Peter");
contact1.put("s