diff --git a/documents/nextcloud/nextcloud_bare_metal_install_on_debian/content.md b/documents/nextcloud/nextcloud_bare_metal_install_on_debian/content.md index 685fd7c..618fc97 100755 --- a/documents/nextcloud/nextcloud_bare_metal_install_on_debian/content.md +++ b/documents/nextcloud/nextcloud_bare_metal_install_on_debian/content.md @@ -1,4 +1,6 @@ -# Baremetal install of Nextcloud on Debian +# nextcloud_bare_metal_install_on_debian + +## Baremetal install of Nextcloud on Debian ### Install packages diff --git a/documents/nextcloud/nextcloud_ubuntu/content.md b/documents/nextcloud/nextcloud_ubuntu/content.md index b39d596..c98287f 100755 --- a/documents/nextcloud/nextcloud_ubuntu/content.md +++ b/documents/nextcloud/nextcloud_ubuntu/content.md @@ -1,11 +1,13 @@ -```bin +# nextcloud_ubuntu + +```bash CREATE USER 'nextcloud'@'localhost' IDENTIFIED BY 'phaiNooc9oibu2shoopo2shah8kohH'; CREATE DATABASE IF NOT EXISTS nextcloud CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci; GRANT ALL PRIVILEGES ON nextcloud.* TO 'nextcloud'@'localhost'; FLUSH PRIVILEGES; exit; ``` -```bin +```bash cd /var/www/nextcloud/ sudo -u www-data php occ maintenance:install \ --database='mysql' --database-name='nextcloud' \ diff --git a/documents/openwrt/openwrt_ftp_settings/content.md b/documents/openwrt/openwrt_tftp_settings/content.md similarity index 92% rename from documents/openwrt/openwrt_ftp_settings/content.md rename to documents/openwrt/openwrt_tftp_settings/content.md index 3c6f02e..82034db 100644 --- a/documents/openwrt/openwrt_ftp_settings/content.md +++ b/documents/openwrt/openwrt_tftp_settings/content.md @@ -1,6 +1,8 @@ -# openwrt tftp settings -```bin - option enable_tftp '1' +# openwrt_tftp_settings + +## openwrt tftp settings +```bash + option enable_tftp '1' option tftp_root '/srv/tftp' config match diff --git a/documents/proxmox/proxmox/content.md b/documents/proxmox/proxmox/content.md index e78afcc..9277f58 100755 --- a/documents/proxmox/proxmox/content.md +++ b/documents/proxmox/proxmox/content.md @@ -1,6 +1,8 @@ -```bin +# misc_proxmox_commands + +```bash update-initramfs -u -k all ``` -```bin +```bash pveam update ``` \ No newline at end of file diff --git a/documents/proxmox/proxmox_lxc_mountpoints/content.md b/documents/proxmox/proxmox_lxc_mountpoints/content.md index e5658c6..db0dd5d 100755 --- a/documents/proxmox/proxmox_lxc_mountpoints/content.md +++ b/documents/proxmox/proxmox_lxc_mountpoints/content.md @@ -1,3 +1,5 @@ +# proxmox_lxc_mountpoints + ```bash lxc resticbackups mount point mp0: /mnt/truenas-backups/resticbackups/,mp=/mnt/resticbackups diff --git a/documents/proxmox/proxmox_lxc_usermappings/content.md b/documents/proxmox/proxmox_lxc_usermappings/content.md index 485fb47..fccb599 100644 --- a/documents/proxmox/proxmox_lxc_usermappings/content.md +++ b/documents/proxmox/proxmox_lxc_usermappings/content.md @@ -1,4 +1,6 @@ -# Userid mappings +# proxmox_lxc_usermappings + +## Userid mappings ```bin lxc.idmap: u 0 100000 1000 lxc.idmap: g 0 100000 1000 diff --git a/documents/python/python_vitual_environment/content.md b/documents/python/python_vitual_environment/content.md index 16cf825..31962cd 100755 --- a/documents/python/python_vitual_environment/content.md +++ b/documents/python/python_vitual_environment/content.md @@ -1,3 +1,5 @@ +# python_virtual_environment + To create a virtual environment, go to your project’s directory and run the following command. This will create a new virtual environment in a local folder named .venv: ```bash python3 -m venv .venv diff --git a/documents/scott/scott_smb_shares/content.md b/documents/scott/scott_smb_shares/content.md index c0ddb1c..8370e73 100755 --- a/documents/scott/scott_smb_shares/content.md +++ b/documents/scott/scott_smb_shares/content.md @@ -1,3 +1,5 @@ +# scott_smb_shares + ```bash #### exports /mnt/data/media -alldirs -mapall="wettsten":"wettsten" -network 192.168.86.0/24 @@ -6,7 +8,7 @@ /mnt/data -alldirs -mapall="wettsten":"wettsten" -network 192.168.86.0/24 #### samba -# Global parameters +##### Global parameters [global] aio max threads = 2 bind interfaces only = Yes diff --git a/documents/wikijs/sidebar_collapse/content.md b/documents/wikijs/sidebar_collapse/content.md index 92174e0..828e372 100644 --- a/documents/wikijs/sidebar_collapse/content.md +++ b/documents/wikijs/sidebar_collapse/content.md @@ -1,10 +1,12 @@ -# sidebar-collapse +# sidebar_collapse + +## sidebar-collapse git clone https://github.com/madodig/wikijs-customization to /home/akanealw/docker/wikijs in wikijs, go to settings > theme add to head html section -```bin +```bash diff --git a/documents/windows/misc_commands/content.md b/documents/windows/misc_commands/content.md index 2225e88..b7950c2 100755 --- a/documents/windows/misc_commands/content.md +++ b/documents/windows/misc_commands/content.md @@ -1,6 +1,11 @@ -kill specific process from path -wmic process where ExecutablePath='C:\\Path\\to\\process\\name.exe' delete +# misc_windows_commands +kill specific process from path +```bash +wmic process where ExecutablePath='C:\\Path\\to\\process\\name.exe' delete +``` user shell folders -Computer\HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders \ No newline at end of file +```bash +Computer\HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders +``` diff --git a/documents/wireguard/wireguard_install_lxc/content.md b/documents/wireguard/wireguard_install_lxc/content.md index 5827d85..70bc86f 100755 --- a/documents/wireguard/wireguard_install_lxc/content.md +++ b/documents/wireguard/wireguard_install_lxc/content.md @@ -1,3 +1,5 @@ +# wireguard_install_lxc + ## Run as root #### Install prereqs