Theme Basics is a series of tutorial notes on building a Blogger theme.
Discover tips and learn how to start building your own Blogger theme:
- Minimum code requirements.
- Basic templates.
- Tags & Data definitions.
- Resources and examples.
global | |
log 127.0.0.1 local0 notice | |
defaults | |
retries 2 | |
timeout client 10s | |
timeout connect 5s | |
timeout server 10s | |
frontend mysql_iface | |
bind 0.0.0.0:3306 | |
mode tcp |
# =============================================================== | |
# MySQL NDB Cluster Configuration | |
# | |
# - Total Data Nodes: 4 | |
# - Partitions (Node Groups): 2 | |
# - Replicas (Backups per partition): 2 | |
# =============================================================== | |
[ndbd default] | |
# This sets the replication factor. 2 replicas means 1 primary + 1 backups. |
[mysqld] | |
ndbcluster | |
ndb-connectstring=172.16.3.11,172.16.3.12 | |
user=mysql | |
default_storage_engine=ndbcluster | |
ndb-wait-setup=300 | |
# MySQL ttl setting | |
wait_timeout=600 | |
interactive_timeout=600 |
services: | |
# Manager | |
ndb-manager11: | |
image: container-registry.oracle.com/mysql/community-cluster:latest | |
command: ndb_mgmd --ndb-nodeid=11 | |
restart: unless-stopped | |
volumes: | |
- ./configs/mysql/my.cnf:/etc/my.cnf | |
- ./configs/mysql/mysql-cluster.cnf:/etc/mysql-cluster.cnf | |
- ndb-manager11:/var/lib/mysql |
/* | |
* this is an example workaround of FontAwesome dynamic import without using babel on NextJS. | |
* because of this error https://nextjs.org/docs/messages/babel-font-loader-conflict | |
* and this error https://nextjs.org/docs/messages/swc-disabled | |
* tested on dev mode of NextJS v14.0.1 | |
* | |
* feel free to discuss this workaround | |
*/ | |
'use client' |