Foglalkozzunk vele, vagy sem??
https://github.com/szepeviktor/debian-server-tools/blob/master/Onboarding.md
- Ki lesz a Szolgáltatógazda?
- Infrastruktúra szolgáltató választás?
- Fiók házirend?
- Email (személyes, tranzakciós, tömeges) küldés?
<?php | |
array_map( | |
function ($cron) { | |
$hook = array_key_first($cron); | |
if (!has_action($hook)) { | |
echo $hook, "\n"; | |
} | |
}, | |
_get_cron_array() |
Foglalkozzunk vele, vagy sem??
https://github.com/szepeviktor/debian-server-tools/blob/master/Onboarding.md
<?php | |
switch ( $item_type ) { | |
case 'line_item': | |
case 'product': | |
$classname = 'WC_Order_Item_Product'; | |
break; | |
case 'coupon': | |
$classname = 'WC_Order_Item_Coupon'; | |
break; |
<?php | |
/** Tell WordPress to load the WordPress theme and output it. */ | |
define('WP_USE_THEMES', true); | |
/** Load the WordPress Environment and Template. */ | |
require __DIR__ . '/project/wp-blog-header.php'; |
jq -r 'paths(scalars) as $p | ($p | join(".")) + " = " + (getpath($p)|tostring)' |
#!/usr/bin/env php | |
<?php | |
declare(strict_types=1); | |
const INDENT_CHAR = ' '; | |
const INDENT_SIZE = 4; | |
const END_OF_LINE = "\n"; | |
function exitWith(int $exitStatus, string $message): void |
<?php | |
namespace Grammar\Hungarian; | |
class DefiniteArticle | |
{ | |
const CONSONANTS = [ | |
'0', | |
'2', | |
'3', |
#!/bin/bash | |
# File with a string of UTF-8 characters | |
FILE="$1" | |
paste <(cat "${FILE}" | iconv -f UTF-8 -t UNICODE | hexdump -s 2 -e '1/2 "U+%04X\n"') <(grep -o '.' "${FILE}") \ | |
| sort |
#!/bin/bash | |
REDIS_DB="0" | |
QUEUE_REDIS_KEY="app_name_database_queues:default:delayed" | |
DB_NAME="sql_db_name" | |
redis() | |
{ | |
redis-cli -n "${REDIS_DB}" --raw "$@" | |
} |
document.querySelector("#container video.html5-main-video").onwaiting = (event) => { | |
var to; | |
var cnt = 0; | |
var ov = event.target.volume; | |
if (document.querySelector("#movie_player.ad-created") === null) { | |
return; | |
} | |
to = setTimeout(() => { |