Skip to content

Instantly share code, notes, and snippets.

View iturdikulov's full-sized avatar
🎯
Software Engineer and Art Enthusiast, site: https://iturdikulov.com

Inom Turdikulov iturdikulov

🎯
Software Engineer and Art Enthusiast, site: https://iturdikulov.com
View GitHub Profile
@iturdikulov
iturdikulov / bitblee-base-commands.md
Last active August 15, 2022 20:45
Bitlbee Base commands

Adding the account

If you understand all of this and still wish to use it, see HowtoPurple and add the account like this in &bitlbee:

account add irc [email protected]

Joining channels

Do this in &bitlbee:

chat add irc #channel Then /join #channel

@iturdikulov
iturdikulov / programming-fonts-test-file.py
Created July 14, 2022 11:42
Programming Fonts Test File
"""
Original by Markus Kuhn, adapted for HTML by Martin Dürst.
UTF-8 encoded sample plain-text file
‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾
Markus Kuhn [ˈmaʳkʊs kuːn] <[email protected]> — 1999-08-20
The ASCII compatible UTF-8 encoding of ISO 10646 and Unicode
@iturdikulov
iturdikulov / fake-redirect.py
Created July 12, 2022 16:36 — forked from kwilczynski/fake-redirect.py
Create a simple HTTP redirect with Python on localhost.
#!/usr/bin/env python3
# Redirect all requests to the given URL.
import SimpleHTTPServer
import SocketServer
class FakeRedirect(SimpleHTTPServer.SimpleHTTPRequestHandler):
def do_GET(self):
print(self.path)
self.send_response(301)
@iturdikulov
iturdikulov / doom_emacs_workflow.org
Last active February 26, 2024 04:41
Doom emacs with evil keybdindings workflow

Doom Emacs Workflow

Here I collect, various EMACS/evil/org… tips, shortcuts, keybindings, etc. Also, here some information how I handle daily usage of text editing.

This not absolute beginner cheat sheet, just some short basic commands/tips.

Recommendation - just use it & check it every day (training mode).

Notes and possible imporovements

Disclaimer

I didn't run application, just checked source code. Here some places, which I think can be improved. Application looks like early prototype, but I think some code can be written better (even for prototype). Git history is empty, looks like code was written without VCS (propopably fine for first alpha release). No tests, propably fine for this small prototype, but I think later TDD will be useful. Code looking a little outdated (I'm also often write in this style, but for new projects better to use some like type hints, docstrings, etc).

Notes

@iturdikulov
iturdikulov / anki_move_word_between_decks.py
Last active January 30, 2022 16:18
Python script, to move cards from one AnkiDeck to another AnkiDeck. Check comments for required dependencies.
#!/usr/bin/env python3
# You need py-notifier package installed
# https://github.com/YuriyLisovskiy/pynotifier
# and also AnkiConnect extension
# https://ankiweb.net/shared/info/2055492159
import json
import sys
import urllib.request
@iturdikulov
iturdikulov / doom.md
Last active December 13, 2021 03:18 — forked from anhedonix/doom.md
Doom Emacs Cheatsheet

Doom Emacs Default keybindings cheetsheet

SPC

  • SPC find file
  • , switch bufferA
  • . browse files

VimWiki Cheatsheet

[number] refers to the wiki number, set by the order in your vimrc. The default is 1.

Wiki Management

  • [number] <leader> ww - open wiki index file
  • [number] <leader> wt - open wiki index file in new tab
  • <leader> ws - list and select available wikis
  • wd - delete wiki page
@iturdikulov
iturdikulov / my_software_list
Last active September 28, 2021 22:59
My software list
- python
- jupyter
- node
- gcc
- pycharm
- ideavim + easymotion
- ansible
- csv
- dash
@iturdikulov
iturdikulov / Arch_Linux_Root_On_ZFS.md
Last active August 15, 2021 08:24 — forked from p7cq/Arch_Linux_Root_On_ZFS.md
Install Arch Linux with Root on ZFS

Prepare

Download iso & signature from https://archlinux.org/download/ In my case archlinux-2021.08.01-x86_64.iso.sig and archlinux-2021.08.01-x86_64.iso

Verify sha1 checksum (replace archlinux-2021.08.01-x86_64.iso with your image path, image can be in download directory)

cd ~/downloads # optional
sha1sum archlinux-2021.08.01-x86_64.iso 
# 4904c8a6df8bac8291b7b7582c26c4da9439f1cf