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>

migrate-django:
  stage: build
  image: python:3.7
  only:
    - main
  script:
    - pip3 install -r requirements.txt
    - python manage.py migrate

build-docker-image:
  stage: build
  image: docker:latest
  only:
    - main
  services:
    - docker:dind
  script:
    - docker 

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

ConvertFrom-IISLog

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

textarea Autoheight

export default function textareaAutoheight(selector) {
  const textareaAll = document.querySelectorAll(selector)

  textareaAll.forEach((textarea) => {
    textarea.addEventListener("input", autoResize)
  })

  function autoResize() {
    this.style.height = this.scrollHeight + "px"
  }
}

.htaccess redirect www to non www

<IfModule mod_rewrite.c>
  RewriteEngine On
  # without Cloudfare
  # RewriteCond %{SERVER_PORT} 80
  # RewriteRule ^(.*)$ https://xuxu.fr/$1 [R,L]
  
  # with Cloudfare
  RewriteBase /
  RewriteCond %{HTTP_HOST} ^www\.(.*)$ [NC]
  RewriteRule ^(.*)$ https://%1/$1 [R=301,L]
</IfModule>

Linting in Databricks


{
 "cells": [
  {
   "cell_type": "markdown",
   "metadata": {
    "application/vnd.databricks.v1+cell": {
     "cellMetadata": {
      "byteLimit": 2048000,
      "rowLimit": 10000
     },
     "inputWidgets": {},
     "nuid": "dfabd244-e03e-4bf4-b06d-3cd72352c829",
     "showTitle": false,
     "title": ""
    }
   },
   "source": [
    "### Linting in Databricks\n",
    "\n",
    "- This notebook should make it more convenient to use Pylint when developing in the web UI of Databricks.\n",
  

TOC - 目次アンカー用ID付与

// =====================================================
// コンテンツエリア 目次 h2,h3 アンカー用ID付与
// =====================================================
document.addEventListener("DOMContentLoaded", () => {
	const singleBody = document.querySelector(".js-single-body");
	if (singleBody) {
		const targetHeading = singleBody.querySelectorAll("h2, h3");
		for (let i = 0; i < targetHeading.length; i++) {
			targetHeading[i].setAttribute("id", "heading-" + i);
		}
	}
});

cancel request

```

const controller = new AbortController();
const requests: InternalAxiosRequestConfig<any>[] = [];

const CancelToken = axios.CancelToken;
const source = CancelToken.source();

const axiosInterceptor = () => {
    axios.interceptors.request.use(function (config) {

            //console.log('Pending HTTP Request:', config.url, config.status);
        const needToCancelRequest = config.url.includes('stats')
        if (needToCancelRequest) {
            return {
                ...config,
   

-PySide2- 合わせ技2

# 標準ライブラリ #################################################################
from functools import partial
from pprint import pprint
from typing import Tuple, List

# サードパーティライブラリ #########################################################
# from maya import OpenMayaUI, cmds
from PySide2.QtWidgets import (QApplication, QComboBox, QGridLayout,
                               QMainWindow, QWidget, QHBoxLayout, QVBoxLayout,
                               QPushButton, QAction, QFrame, QLabel,

html loading="lazy" polyfill

document.addEventListener('DOMContentLoaded', function () {
  if ('loading' in HTMLImageElement.prototype) {
    const images = document.querySelectorAll('img[loading="lazy"]');
    images.forEach(img => {
      img.src = img.dataset.src;
    });
  } else {
    if (!('IntersectionObserver' in window)) {
      const images = document.querySelectorAll('img[loading="lazy"]');
      images.forEach(img => {
        img.src = img.dataset.src;
      });
    } else {
      const lazyImageObserver = new 

grid masonry 表示 pinterest風

<ul class="js_top_gallery">
      <li class="js_top_gallery_item"><a href="./images/top/gallery/gallery01.jpg"><img
            src="./images/top/gallery/gallery01.jpg" alt=""></a></li>
      <li class="js_top_gallery_item"><a href="./images/top/gallery/gallery02.jpg"><img
            src="./images/top/gallery/gallery02.jpg" alt=""></a></li>
</ul>

背景 下 三角

.bg_square {
  position: relative;
  background: #f6f2eb;
}

.bg_square::after {
  content: "";
  position: absolute;
  height: 7rem;
  width: 100%;
  clip-path: polygon(0 0, 50% 100%, 100% 0);
  background: #f6f2eb;
  left: 0;
  bottom: -7rem;
}