rel別<a>の振る舞い

<!-- 別タブで開く場合 -->
<a href="" rel="noopener"></a>
<!-- 会員限定コンテンツなどで、URLにユーザー情報を含んでいる場合(流入元を不明にするためGAによる計測などはできなくなる) -->
<a href="" rel="noreferrer"></a>
<!-- 別ドメインの外部ページへリンクする場合 -->
<a href="" rel="external"></a>

Style affichage longueur lineaire filtré par valeur specifique

# STATIQUE

![](https://cdn.cacher.io/attachments/u/3fx93fy4dqwj6/UGSieLXHWov5Cx7MkL4s6QQS23_Rtt9u/olh9pqvp4.png)

![](https://cdn.cacher.io/attachments/u/3fx93fy4dqwj6/D5MLCXR59bZ52xaqmalAzDUeUl4Zx6GZ/bh0f07cry.png)

'- ' || to_string(round(aggregate( layer:='Reception_terrain', aggregate:='sum',expression:="longueur", filter:=( "ft"  like '%_DET_DETECT%')),2)) || ' m ----- Detection OK ---'  ||  '\n' || 
'- ' || to_string(round(aggregate( layer:='Reception_terrain', aggregate:='sum',expression

通信開始からload完了までの各ステップにかかった時間や、ある処理にかかった時間を計測する

// NavigationTimingAPIは、loadイベントの発火終了時間も計測されるため、loadイベントの中でかつ非同期に参照する必要がある
window.addEventListener("load", () => {
  setTimeout(() => {
    const timing = performance.timing;
    const performanceData = {
      navigationStart: timing.navigationStart, // ナビゲーションの開始時
      unloadEventStart: timing.unloadEventStart, // unloadイベントの開始時
      unloadEventEnd: timing.unloadEventEnd, // unloadイベントの終了時
      redirectStart: timing.redirectStart, // リダイレクト開始時
      redirectEnd: timing.redirectEnd, // リダイレク

Cómo mandar valores desde una función a otra

En este caso, tengo las funciones: indicadorDespliegueENSindividual, indicadorDespliegueCompletoSistemaENS, calculoValoresIndicadores. En la función calculoValoresIndicadores se realizan todos los cálculos que se utilizarán para alimentar a los editorNumeroDestacado. Es una función que no es un quontrol, por lo que únicamente tendrá php. La idea es que desde aquellas funciones en las que necesitemos los valores de la función calculoValoresIndicadores, habrá que instanciarla, y al instanciarla la podremos guardar en una variable. Cuando queramos utilizar los valores de esa variable, tendremos que considerar las keys que tendrá. Por ejemplo: // Recibimos los parámetros desde la función calculoValoresIndicadores /* El array que devuelve tiene la forma: $ misvalores[ array (size=5) 'porcentajeDespCat' => int 100 'porcentajeDespSOA' => float 78.082191780822 'porcentajeDespADif' => float 86.301369863014 'porcentajeDespARiesgos' => int 100 'porcentajeDespPlanMejora' => int 0 ] */ // Aquí estamos instanciando a la función que contiene todos los cálculos de los valores $misvalores = $this->calculoValoresIndicadores();
//--------------------------------------------------------------------//
/* Fase: Categorización del sistema */
/*
Para sacar el porcentaje, lo que se va a considerar es que para cada activo, deberá estar evaluado en sus 5 dimensiones de seguridad, y si lo está, se considerará que su valor será 1. La idea es que la fórmula que se seguirá será el sumatorio de todos los activos evaluados entre el nº de activos total -> porcentaje de despliegue
*/

$tablaActivos= new SGSIActivos();

$listaDimension

Cookies

<script>
  window.dataLayer = window.dataLayer || [];
  window.dataLayer.push({
    'event': 'cookies',
    'ecommerce': {
      'analytics': 'allow',
      'marketing': 'denied'
    }
  });
</script>

alternate_use_cte

WITH temp_table AS (SELECT combination_selection_rn FROM unique_settled_recs_only
                GROUP BY combination_selection_rn)
          SELECT * --INTO prd_datachecks.latest_settled_recs
          FROM ( SELECT usr.*, RANK() OVER (PARTITION BY usr.combination_selection_rn ORDER BY usr.source_updated_at DESC) AS rank1
                 FROM unique_settled_recs_only usr
                 JOIN temp_table c ON usr.combination_selection_rn = c.combination_selection_rn
          ) ranked_table

Support Anchor for Custom Block

..
SupportsAnchor: true
...

<div class="{{ $block['classes'] }}" data-{{ $block['id'] }} id="{{ $block['anchor'] }}">
  ...
</div>

Rename Tips

## Dois pontos / Colon / :

O Windows não permite usar : no nome dos arquivos.

Para contornar este problema, pode-se usar o caractere UTF-8 ፡ chamado de "ETHIOPIC WORDSPACE (U+1361)" e de código e18da1.

Source: https://www.fileformat.info/info/charset/UTF-8/list.htm?start=4402

Difference between script types

## Standard Function
Executa [Comandos Internos](https://docs.dopus.com/doku.php?id=reference:command_reference:internal_commands) do Directory Opus

Executa comandos como se estivesse rodando através da janela de Executar do Windows (WIN + R)
`notepad.exe {f}`

Porém, para rodar comandos de MS-DOS, como por exemplo o clip (copiar algo para o clipboard) é necessário colocar cmd /c na frente, pois o clip não é um arquivo .exe, mas sim um comando interno de MS-DOS:

`@nodeselect`

`cmd /

show more

$(document).ready(function() {
  $(".content-new").hide();
  $(".show_hide_new").on("click", function() {
    var txt = $(this).prev(".content-new").is(':visible') ? 'Read More' : 'Read Less';
    $(this).text(txt);
    $(this).prev('.content-new').slideToggle(100);
  });
});

<div class="box">

  <li>GST Registration</li>
  <li>Final Proprietorship Registration in 10 Working Days</li>

  <div class="content-new">
    <!-- This is hide by default and open on toggle -->
    <li>Current Bank Accou

AW Blog [Top 4 Social Media Money Scams & How to Spot Them]

Believe it or not social media scams have been picking more pockets than any other scam today––including phone call and text fraud.
<p>Believe it or not social media scams have been picking more pockets than any other scam today—including phone call and text fraud.<sup><a href="#sources">1</a></sup></p>
<p>There have been more than $2.7 <em>billion</em> in losses to social media scams between January 2021 and June 2023.<sup><a href="#sources">2</a></sup></p>
<p>And whether or not you’ve seen these cons in action, they don’t look the same today as they did even a year ago.<sup><a href="#sources">2</a></sup></p>
<p>They’re bec

AW Blog [5 Signs You’re Headed for a “Cushy” Retirement]

How much do you need to retire wealthy? Believe it or not, there’s no set number for anyone.
<p>How much do you need to retire wealthy?</p>
<p>Believe it or not, there’s no set number for anyone.</p>
<p>Lifestyle and the quality of your retirement plan are certainly two big factors.</p>
<p>But when considering the economy and inflation, a definitive picture of our financial future can feel somewhat elusive.</p>
<p>So, to shed a little light (and provide a little guidance), here are a few telltale signs you might be set up for a “comfortable” post-work lifestyle.</p>
<h4 class="mt2">Will

Find Max K

/**
 * @param {number[]} nums
 * @return {number}
 */
var findMaxK = function(nums) {
    // Create a set from the array to eliminate duplicates and allow efficient lookups
    let numSet = new Set(nums);

    // Initialize maxK to -1. This will be returned if no k is found
    let maxK = -1;

    // Iterate over the set
    for (let num of numSet) {
        // We are only interested in positive numbers because k is a positive integer
        if (num > 0) {
            // Check if the negative c

To get log cat of an APP from ABD

### In Linux/MAC
adb logcat | grep com.drcvideo.dancebugs

### In Windows
adb logcat | findstr com.drcvideo.dancebugs

Deploy CI-CD Django api rest

stages:
  - build
  - replace
  - deploy

variables:
  SERVER: root@<server>
  FOLDER: /PANEL/WEBSITES/<folder>
  POSTGRES_DB: <database>
  POSTGRES_USER: <user>
  POSTGRES_PASSWORD: <password>
  POSTGRES_HOST: <host>
  BRANCH: main

migrate-django:
  stage: build
  image: python:3.9-slim-buster
  rules:
    - if: $CI_COMMIT_REF_NAME == $BRANCH
  script:
    - pip3 install -r requirements.txt
    - python manage.py migrate

build-docker-image:
  stage: build
  image: docker:24.0.7
  services:
  

App Portal IIS PowerShell Module

function ConvertFrom-IISLog {
    [CmdletBinding()]
    param(
        [Parameter(Mandatory = $true, Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true)]
        [string]$Path
        ,
        [switch]$ShowFields
    )
    $Contents = Get-Content -Path $Path
    $FieldHeaders = ($Contents | Select-String -Pattern '^#Fields:') -split '\s+' | Select-Object -Skip 1
    if ($ShowFields) {
        $FieldHeaders
        return
    }
    Import-Csv -Delimite