ab -n 100 -c 10 "https://keinundaber-website-stage.os4.drei.io/buecher?orderBy=releaseDate_DESC&programArea=1468"
For a quick-fix you can use 'Chrome extension source viewer' to download the plugin
as a zip, then unzip and open content.js, add the following code at the end, save,
then go to chrome plugins, enable developer mode at the top & click load unpacked,
select the plugin directory with the edited content.js:
Object.defineProperty(Event.prototype, 'path', {
get: function() {
return this.composedPath();
}
});
/*
* Disabled auto generating p element in CF7
*/
define('WPCF7_AUTOP', false );
using System.IO;
using System.Threading.Tasks;
public class BinarySerializer<T>{
public async Task SaveBinaryDataAsync(T data, string filePath)
{
using (FileStream fileStream = new FileStream(filePath, FileMode.Create))
using (BinaryWriter writer = new BinaryWriter(fileStream))
{
await WriteDataAsync(data, writer);
}
}
public async Task<T> LoadBinaryDataAsync(string filePath)
{
using (FileStream fileStream = new FileStream
Sometimes there are issues with the SQLite db, e.g. if the db is in an inconsistent state.
In this cases it might help to clone the contents of the database and
replace the database with the cloned one.
E.g. if you run Grafana, exec into the container and run
```sh
sqlite3 grafana.db '.clone grafana-new.db'
mv grafana.db grafana-old.db
mv grafana-new.db grafana.db
```
// メニューの並び替え
function my_custom_menu_order($menu_order) {
if (!$menu_order) return true;
return array(
'index.php', //ダッシュボード
'separator1', //セパレータ1
'edit.php', //投稿
'edit.php?post_type=カスタムポストのスラグ', //カスタムポスト
'separator2', //セパレータ2
'edit.php?post_type=page', //固定ページ
'edit-comments.php', //コメント
'separator-last', //最後のセパレータ
'themes.php', //外観
'plugins.php', //プラグイン
'users.php', //ユーザー
'tools.ph
function reverse($str)
{
$index = strlen($str) - 1;
$reversedString = '';
while ($index >= 0) {
$currentChar = $str[$index];
$reversedString = "{$reversedString}{$currentChar}";
$index = $index - 1;
}
return $reversedString;
}
// bcrypt et jsonwebtoken
{
"name": "com.[company-name].[package-name]",
"version": "1.2.3",
"displayName": "Package Example",
"description": "This is an example package",
"unity": "2019.1",
"unityRelease": "0b5",
"documentationUrl": "https://example.com/",
"changelogUrl": "https://example.com/changelog.html",
"licensesUrl": "https://example.com/licensing.html",
"dependencies": {
"com.[company-name].some-package": "1.0.0",
"com.[company-name].other-package":
// body validator
const bodyValidation = (yupValidator) => {
return (req, res, next) => {
yupValidator.noUnknown().validate(req.body, {}).then((dataValidate) => {
req.dataValidate = dataValidate
next()
})
.catch((error) => {
res.status(400).json(error.errors)
})
}
}
const test = (req ,res ,next) => {
next()
}
module.exports = {
bodyValidation,
test
}
// params validator
const pa
1. 100svh refers to 100% of the height of the smallest possible viewport.
2. 100lvh refers to 100% of the height of the largest possible viewport.
3. 100dvh refers to 100% of the dynamic viewport height — meaning the value will change as the user scrolls.
I choose solution 2 or 3
!function(){
const viewPort = document.querySelector('meta[name="viewport"]');
function adjustViewport(){
const value = window.outerWidth > 360 ? 'width=devie-width,initial-scale=1' : 'width = 360';
if(viewport.getAttribute('content') !== value){
viewport.setAttribute('content',value);
}
}
addEventListener('resize',adjustViewport,false);
adjustViewport();
}();
{%- assign variant_for_value = product.variants | where: name, value | first -%}
package main
import "fmt"
type Bar struct {
thingOne string
thingTwo int
}
func main() {
y := new(Bar)
(*y).thingOne = "hello"
(*y).thingTwo = 1
fmt.Println(y.thingOne)
fmt.Println(y.thingTwo)
}
#!/bin/bash
spinner() {
($1) & BACK_PID=$!
# map=(": " ". " ".." " ." " :" " ˙" "˙˙" "˙ ");
# map=(◔ ◗ ◕ ●);
# map=(◷ ◶ ◵ ◴);
# map=(◷ ◶ ◵ ◴);
map=(🕐 🕑 🕒 🕓 🕔 🕕 🕖 🕗 🕘 🕙 🕚 🕛);
# map=(😮 😀 😁 😐 😑 😬); # https://medium.com/hackernoon/how-i-made-a-talking-emoji-using-regular-emojis-and-javascript-fe20e62ba10
# map=("|" "/" "-" "\\");
# map=(◴ ◷ ◶ ◵);
# map=(◐ ◓ ◑ ◒);
# map=(◰ ◳ ◲ ◱);
# map=(╫ ╪);
# map=(⎺ ⎻ ⎼ ⎽ ⎼ ⎻);
# map=(▁ ▃ ▅ ▆ ▇ █ ▇ ▆ ▅ ▃);
# map=(▉ ▊ ▋ ▌ ▍ ▎ ▏ ▎ ▍ ▌
<?php
function register_default_posttype_patterns() {
// set default page layouts
$selected_post = get_post_type_object( 'post' );
$selected_post->template = array(
array( 'core/pattern', array( // pattern format
'slug' => 'text-domain/patterns-slug',
) ),
array( 'core/paragraph' ) // block format
);
}
add_action( 'init', 'register_default_posttype_patterns', 11 );