summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAbdus <abdus@abdus.net>2021-02-17 16:49:34 +0530
committerAbdus <abdus@abdus.net>2021-02-17 16:49:34 +0530
commit5c482856b0645531b0b946f6edd309e798c95c92 (patch)
tree0b6b017076847dcff70cf6731c95c4345c162522
parent096c36cd7b99cf07aa53aabe6d59da70f11552b7 (diff)
downloadabdus.net-5c482856b0645531b0b946f6edd309e798c95c92.tar.bz2
abdus.net-5c482856b0645531b0b946f6edd309e798c95c92.zip
add meta info
-rw-r--r--.vim-session.vim36
-rw-r--r--content/posts/mysql-on-arch-linux.md (renamed from content/posts/mysql-in-arch-linux.md)8
2 files changed, 38 insertions, 6 deletions
diff --git a/.vim-session.vim b/.vim-session.vim
index 194382a..17de732 100644
--- a/.vim-session.vim
+++ b/.vim-session.vim
@@ -7,17 +7,24 @@ if expand('%') == '' && !&modified && line('$') <= 1 && getline(1) == ''
let s:wipebuf = bufnr('%')
endif
set shortmess=aoO
-badd +1 ~/Dev/personal/abdus.net/content/posts/mysql-in-arch-linux.md
+badd +5 ~/Dev/personal/abdus.net/content/posts/mysql-on-arch-linux.md
+badd +0 themes/bronn/archetypes/posts.md
argglobal
%argdel
$argadd content/posts/typescript-webpack-setup.md
-edit ~/Dev/personal/abdus.net/content/posts/mysql-in-arch-linux.md
+edit ~/Dev/personal/abdus.net/content/posts/mysql-on-arch-linux.md
set splitbelow splitright
+wincmd _ | wincmd |
+vsplit
+1wincmd h
+wincmd w
wincmd t
set winminheight=0
set winheight=1
set winminwidth=0
set winwidth=1
+exe 'vert 1resize ' . ((&columns * 106 + 106) / 212)
+exe 'vert 2resize ' . ((&columns * 105 + 106) / 212)
argglobal
setlocal fdm=manual
setlocal fde=0
@@ -28,12 +35,33 @@ setlocal fml=1
setlocal fdn=20
setlocal fen
silent! normal! zE
-let s:l = 1 - ((0 * winheight(0) + 22) / 44)
+let s:l = 8 - ((7 * winheight(0) + 22) / 44)
if s:l < 1 | let s:l = 1 | endif
exe s:l
normal! zt
-1
+8
+normal! 043|
+wincmd w
+argglobal
+if bufexists("themes/bronn/archetypes/posts.md") | buffer themes/bronn/archetypes/posts.md | else | edit themes/bronn/archetypes/posts.md | endif
+setlocal fdm=manual
+setlocal fde=0
+setlocal fmr={{{,}}}
+setlocal fdi=#
+setlocal fdl=0
+setlocal fml=1
+setlocal fdn=20
+setlocal fen
+silent! normal! zE
+let s:l = 4 - ((3 * winheight(0) + 22) / 44)
+if s:l < 1 | let s:l = 1 | endif
+exe s:l
+normal! zt
+4
normal! 0
+wincmd w
+exe 'vert 1resize ' . ((&columns * 106 + 106) / 212)
+exe 'vert 2resize ' . ((&columns * 105 + 106) / 212)
tabnext 1
if exists('s:wipebuf') && getbufvar(s:wipebuf, '&buftype') isnot# 'terminal'
silent exe 'bwipe ' . s:wipebuf
diff --git a/content/posts/mysql-in-arch-linux.md b/content/posts/mysql-on-arch-linux.md
index 5546ac2..8909825 100644
--- a/content/posts/mysql-in-arch-linux.md
+++ b/content/posts/mysql-on-arch-linux.md
@@ -2,8 +2,12 @@
title: "MySQL in Arch Linux"
date: 2021-02-17T14:41:32+05:30
draft: false
-tags: []
-categories: []
+meta:
+ image: https://i.ibb.co/7rNdBjB/mariadb.png
+ description: How to install MariaDB(MySQL), create and modifu user, database
+ etc on Arch Linux and other distributions
+tags: [mysql, sql, relational]
+categories: [database]
sources:
- https://www.linode.com/docs/guides/how-to-install-a-lamp-stack-on-arch-linux
- https://wiki.archlinux.org/index.php/MariaDB