Test post

Christopher Af Bjur

April 21st, 2022

This is the intruduction with internal link


Tabs


Links

Internal link same window

External link same window

Internal link new window

External link new window

This is a sub internal link


Images

This is the alt text

This is also the alt text

Accordion

Detailed Description

This is a detailed description.

I'll create a couple of lines.

In order to test it completely.

Hehe.

Hope this is enough.

Bye.


Titles

H1

H2

H3

H4

Normal


Paragraphs

This is a paragraph with some highlighted text.

This is another paragraph with italic text.

This is a third paragraph with bold text.


Code

Here's a few code examples

Test 1

const test = 'This is javascript'.
console.log(test);

Test 2

.myCssClass{
  position: relative;
  width: 100%;
}

div a{
  display: flex;
}

Test 3

echo '#!/bin/sh' > my-script.sh
echo 'echo Hello World' >> my-script.sh
chmod 755 my-script.sh
./my-script.sh

Test 4

### Markdown title
[CODICULUM](https://codiculum.com)

Test 5

import mysql.connector as connector
from mysql.connector import errorcode
from database import cursor

DB_NAME = 'mydb'

TABLES = {}

TABLES['users'] = (
    "CREATE TABLE `users` ("
    " `id` int(11) NOT NULL AUTO_INCREMENT,"
    " `username` varchar(255) NOT NULL,"
    " `password` varchar(255) NOT NULL,"
    " `created` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,"
    "PRIMARY KEY (`id`)"
    ") ENGINE=InnoDB"
)

def create_database():
  cursor.execute("CREATE DATABASE IF NOT EXISTS {} DEFAULT CHARACTER SET 'utf8'".format(DB_NAME))
  print("Database {} created!".format(DB_NAME))

def create_tables():
  cursor.execute("USE {}".format(DB_NAME))

  for table_name in TABLES:
    table_description = TABLES[table_name]
    try:
      print("Creating table ({})".format(table_name))
      cursor.execute(table_description)
    except connector.Error as err:
      if err.errno == errorcode.ER_TABLE_EXISTS_ERROR:
        print("Table ({}) already exists".format(table_name))
      else:
        print(err.msg)


create_database()
create_tables()

Test 6

{
  "name": "Chris",
  age: 32,
  happy: true,
  interests: ["development", "gym", "music"]
}

File tree

index.js
tests
index.test.js

Note

This is my note

CODICULUM

©2020-present Christopher af Bjur. All Rights Reserved.