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 / 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 / README.md
Last active April 19, 2022 07:36
Automatically adds the first 6 fastest VPNGate vpn connections to Network Manager

VPNGate Auto Setup Script for OpenVPN on Linux

VPNGate is a an excellent VPN for beginners. But one of the problems is that older ovpn connections stop connecting after a few days. I can easily add them manually, but downloading the ovpn files and adding them every week is a mess! This script easily adds up to date 6 connections from VPNGate records.

Requirements

  • Only supports Linux
  • Requires network-manager-openvpn & network-manager-openvpn-gnome to be installed
  • Python 2 or 3

Instructions

@adnan360
adnan360 / kde-ibus-bangla-instructions-plasma5.md
Last active October 18, 2021 12:09
How to write Bangla in Arch/Manjaro Linux KDE (Plasma 5) (every app including Libreoffice, KDE apps)

How to setup/write in Bangla/Bengali in KDE using unijoy layout.

This instruction was tested on Manjaro 17 KDE, which had Plasma 5.9.3, Qt 5.8.0, KDE Frameworks 5.31.0. Libreoffice Version: 5.2.5.1.

Open a terminal and run:

sudo pacman -S ibus ibus-qt ibus-m17n m17n-db
@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 / notification-sidebar.py
Last active July 20, 2020 04:39
A simple sidebar showing all the system notifications - based on xfce4-notifyd
# Written by Adnan Shameem
# License: CC0 - do whatever you want with it
# This script relies on xfce-notifyd. It is lightweight and saves the
# notifications in a ~/.cache/xfce4/notifyd/log file which is formatted
# in INI type format.
# To make this script work,
# 1. Install notification-daemon
# 2. Install xfce4-notifyd
# 3. Run either:
@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