# Web Extension Design Flow
### Preface
This understanding makes the following assumptions:
- The web browser is Microsoft Edge.
- The 32-bit web extension supporting files are installed. (MSI)
- The web extension is installed in the browser. (CRX)
- The primary computer name discovery method is webext.
- The secondary computer name discovery method is activex.
- The fallback computer name discovery method is dns.
### Process
<ol>
<li>App Portal is accessed by the user.</li>
# Histograms
Histograms allows to inspect the data and uncover its underlying distribution, as well as the presence of outliers and overall spread.
## Histogram using matplotlib
```python
# import matplotlib.pyplot as plt
# import pandas as pd
ax = df['col'].plot(kind = "hist", bins = 20)
ax.set_xlabel("xlabel")
ax.set_ylabel("ylabel")
ax.set_title("title")
plt.show()
```
## Histograms using seaborn
```python
import seaborn as sns
import matplotlib.pyplot as plt
sns.histplot(data = df, x = 'n
```python
# Aggregate value over time period
# --------------------------------
# > 0. Check index is datetime object
df = df.set_index('dte_col')
# > 1. Extract month/year
month = df.index.month # year = df.index.year
# > 2. Compute aggregate data
agg_dta = df.groupby(month).mean()
```
```python
# Rolling Moving Average
df['mav_col'] = df['num_col'].rolling(windows = int).mean() # where int = number of periods of moving average
```
## Check which rows have missing values
`df.isnull()` & `df.notnull` returns True or False for every row with missing (or not) missing values.
```python
df.isnull() # rows with missing values
df.notnull() # rows with non-null values
```
# Visualizing seasonal averages
```python
monthly_data = df.groupby(df.index.month).mean() #--> Calculation of monthly mean data
ax = monthly_data.plot()
ax.legend()
```
div {
background: lightblue;
width: 200px;
height: 200px;
border: 1px solid red;
margin: 30px;
}
div.action {
transition: scale 300ms;
transform-origin: right bottom; /* zmizi animaci vpravo dole, muzu zadat i px treba 500px bottom , TO je dulezite :) */
scale: 0;
}
import 'dart:ui';
import 'package:flutter/material.dart';
class OutlinedInputBorder extends InputBorder {
/// Creates a rounded rectangle outline border for an [InputDecorator].
///
/// If the [borderSide] parameter is [BorderSide.none], it will not draw a
/// border. However, it will still define a shape (which you can see if
/// [InputDecoration.filled] is true).
///
/// If an application does not specify a [borderSide] parameter of
/// value [BorderSide.none], the input deco
function Get-FlexeraAppPortalNameResolutionStats {
[CmdletBinding()]
param(
[string]$SiteName
,
[int]$Latest = 1
)
Import-Module -Name WebAdministration
$Site = Get-Item -Path IIS:\Sites\$SiteName
$LogFilesFolderPath = Join-Path -Path ([System.Environment]::ExpandEnvironmentVariables($Site.logfile.directory)) -ChildPath "W3SVC$($Site.ID)"
$LogFiles = Get-ChildItem -Path "$($LogFilesFolderPath)\*.log" -File | Sort-Object -Property La
# -*- coding: utf-8 -*-
"""
***************************************************************************
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 2 of the License, or *
* (at your option) any later version. *
*
from qgis.PyQt.QtCore import QCoreApplication
from qgis.core import (QgsProcessing, QgsProcessingException, QgsProcessingAlgorithm,
QgsProcessingParameterFeatureSource, QgsProcessingParameterFeatureSink,
QgsFeatureSink, QgsFeature, QgsGeometry, QgsPointXY, QgsWkbTypes, QgsFeatureRequest)
class ConnectPointsAlongLineAlgorithm(QgsProcessingAlgorithm):
INPUT_LINE = 'INPUT_LINE'
INPUT_POINTS = 'INPUT_POINTS'
OUTPUT = 'OUTPUT'
Merge all files in folder (geojson) -> gpkg
create initial files
ogr2ogr -f GPKG output.gpkg initial_file.geojson
mergeing the others
for %f in (*.geojson) do ogr2ogr -f GPKG -update -append output.gpkg %f -nln merged
----------------------------------------------
Merge all files in folder (geojson) -> gpkg
create initial files
ogr2ogr -f "GPKG" output.gpkg -nln merge -nlt PROMOTE_TO_MULTI input1.shp
mergeing the others
for %f in (*.shp) do ogr2ogr -f "GPKG" output.gpkg -
# PowerShell commands (AWS specific but you can adjust to your own requirements):
# Enable PowerShell remoting
Enable-PSRemoting -Force
# Set WinRM service startup type to automatic
Set-Service WinRM -StartupType 'Automatic'
# Configure WinRM Service
Set-Item -Path WSMan:\localhost\Service\Auth\Certificate -Value $true
Set-Item -Path 'WSMan:\localhost\Service\AllowUnencrypted' -Value $true
Set-Item -Path 'WSMan:\localhost\Service\Auth\Basic' -Value $true
Set-Item -Path 'WSMan:\loc
# Sage Wordpress Theme Setup
## Prerequisites
* PHP
* Composer
* Wordpress Directory
* WSL
Note: It is recommended to use WSL to properly utilize the roots/sage wordpress theme and for `Bud` (already included in Sage) and `Acorn` to work properly.
## Installation
* Go to the wordpress directory's `wp-content/themes` folder and install roots/sage package via composer:
```
composer create-project roots/sage your-theme-name
```
* Change directory into `your-theme-name` theme folder and install
/**
* @param {string} word
* @return {number}
*/
var wonderfulSubstrings = function(word) {
// Initialize the count array with 1024 elements (2^10 for 10 letters), all set to 0
// count[i] will store the number of substrings that have the same bitmask as i
var count = new Array(1024).fill(0);
// Initialize the current state to 0 and increment the count of state 0 by 1
var cur = 0;
count[cur]++;
var res = 0;
// Iterate over the word
for (v
/**
* determine if the value is numeric (can be string or number)
* @param {*} value
* @returns {boolean}
*/
export const isNumeric = (value) => {
if (typeof value === 'number') {
return true;
}
if (typeof value !== 'string') {
return false;
}
return !isNaN(value) && !isNaN(parseFloat(value));
};