Skip to content

Instantly share code, notes, and snippets.

@adnan360
adnan360 / output.txt
Created February 27, 2023 09:18
dotdrop verbose output
$ dotdrop install -p default -f --verbose
[DEBUG][dotdrop.options.__init__] #################################################
[DEBUG][dotdrop.options.__init__] #################### DOTDROP ####################
[DEBUG][dotdrop.options.__init__] #################################################
[DEBUG][dotdrop.options.__init__] version: 1.12.9
[DEBUG][dotdrop.options.__init__] command: /usr/bin/dotdrop install -p default -f --verbose
[DEBUG][dotdrop.options.__init__] config file: config.yaml
[DEBUG][dotdrop.cfg_yaml._dbg] [dotdrop-test2/config.yaml] START of config parsing
[DEBUG][dotdrop.cfg_yaml._dbg] [dotdrop-test2/config.yaml] reloading: False
[DEBUG][dotdrop.cfg_yaml._dbg] [dotdrop-test2/config.yaml] profile: default
@adnan360
adnan360 / hexotest.WordPress.2020-07-29.xml
Created July 29, 2020 07:39
Test if adding subcategory adds parent category
<?xml version="1.0" encoding="UTF-8" ?>
<!-- This is a WordPress eXtended RSS file generated by WordPress as an export of your site. -->
<!-- It contains information about your site's posts, pages, comments, categories, and other content. -->
<!-- You may use this file to transfer that content from one site to another. -->
<!-- This file is not intended to serve as a complete backup of your site. -->
<!-- To import this information into a WordPress site follow these steps: -->
<!-- 1. Log in to that site as an administrator. -->
<!-- 2. Go to Tools: Import in the WordPress admin panel. -->
<!-- 3. Install the "WordPress" importer from the list. -->
@adnan360
adnan360 / hexotest.WordPress.2020-07-26.xml
Created July 26, 2020 15:34
WP export with added (sub)categories and tags on "Post with Image"
<?xml version="1.0" encoding="UTF-8" ?>
<!-- This is a WordPress eXtended RSS file generated by WordPress as an export of your site. -->
<!-- It contains information about your site's posts, pages, comments, categories, and other content. -->
<!-- You may use this file to transfer that content from one site to another. -->
<!-- This file is not intended to serve as a complete backup of your site. -->
<!-- To import this information into a WordPress site follow these steps: -->
<!-- 1. Log in to that site as an administrator. -->
<!-- 2. Go to Tools: Import in the WordPress admin panel. -->
<!-- 3. Install the "WordPress" importer from the list. -->
@adnan360
adnan360 / hexotest.WordPress.2020-07-24.xml
Created July 24, 2020 10:21
WP export example with block quotes, inline code and code blocks in both modern/Gutenberg and classic editor
<?xml version="1.0" encoding="UTF-8" ?>
<!-- This is a WordPress eXtended RSS file generated by WordPress as an export of your site. -->
<!-- It contains information about your site's posts, pages, comments, categories, and other content. -->
<!-- You may use this file to transfer that content from one site to another. -->
<!-- This file is not intended to serve as a complete backup of your site. -->
<!-- To import this information into a WordPress site follow these steps: -->
<!-- 1. Log in to that site as an administrator. -->
<!-- 2. Go to Tools: Import in the WordPress admin panel. -->
<!-- 3. Install the "WordPress" importer from the list. -->
@adnan360
adnan360 / hexotest.WordPress.2020-07-04.xml
Created July 21, 2020 21:19
WordPress export for testing hexo-migrator-wordpress (2020-07-04)
<?xml version="1.0" encoding="UTF-8" ?>
<!-- This is a WordPress eXtended RSS file generated by WordPress as an export of your site. -->
<!-- It contains information about your site's posts, pages, comments, categories, and other content. -->
<!-- You may use this file to transfer that content from one site to another. -->
<!-- This file is not intended to serve as a complete backup of your site. -->
<!-- To import this information into a WordPress site follow these steps: -->
<!-- 1. Log in to that site as an administrator. -->
<!-- 2. Go to Tools: Import in the WordPress admin panel. -->
<!-- 3. Install the "WordPress" importer from the list. -->
@adnan360
adnan360 / ibus-cli.md
Last active June 15, 2022 02:22
Control ibus layouts right from Linux terminal

Control ibus layouts right from Linux terminal

Ibus is an input tool that allows to type in many languages and keyboard layouts under GNU/Linux. Being able to control ibus layouts is extremely helpful on minimal desktop environments and window managers, like i3, sway etc. You can utilize the learnings of this on Waybar, Polybar etc.

First run the ibus daemon (if not already running):

ibus-daemon -xdr
@adnan360
adnan360 / install-linux-libre-on-fedora.md
Created August 19, 2019 06:49
How I installed Linux Libre kernel on Fedora 30

How to install Linux Libre in Fedora

Fedora has the Linux kernel. This instruction is to install Linux Libre kernel which is a version of the Linux kernel with closed source binary blobs removed. This results in a Free-er system which respects your 4 essential freedoms. On Fedora, the linux libre kernel has the name "Freed-ora freedom".

I tried this on a Fedora 30 install.

WARNING: Although this gives you a libre kernel, it is possible that all components of your hardware does not work without binary blobs (e.g. wifi card, bluetooth). In that case those components will not work after installation. Please do not apply this on a production install before testing thoroughly and for prolonged period of time on a test install. Use these instructions at your own risk. Backing up is also recommended.

sudo -s
@adnan360
adnan360 / run-reactos-qemu.sh
Last active August 13, 2019 08:36
Bash file to run React OS with QEMU
#!/bin/bash
# Bash file to run React OS with QEMU
# ----
# This is an experimental command.
# Some things might not work. e.g. audio
# Install qemu, qemu-kvm or libvirt.
# Save this somewhere, download React OS boot ISO, prepare image:
# qemu-img create ReactOS.img 5G
# and run with `bash /path/to/run-reactos-qemu.sh`
@adnan360
adnan360 / LBRY-on-void-linux.md
Last active April 10, 2020 13:50
How to build and install lbry-desktop on Void Linux

How to build and install lbry-desktop on Void Linux

sudo xbps-install -Sy nodejs yarn-bin GConf gnome-keyring binutils tar xz

# Change the version number according to latest one from: https://github.com/lbryio/lbry-desktop/releases
curl -OL https://github.com/lbryio/lbry-desktop/archive/v0.34.1.tar.gz
tar -xvf v0.34.1.tar.gz

cd lbry-desktop-0.34.1
@adnan360
adnan360 / run-weston-on-trisquel.md
Created July 19, 2019 10:25
Instructions to run Weston (Wayland) session on Trisquel

Run Weston under Trisquel

Running Weston under Trisquel GNU/Linux is very easy.

Open a terminal and run:

sudo apt install weston

Then preferrably logout.