Skip to content

Instantly share code, notes, and snippets.

View jzr-supove's full-sized avatar
👨‍💻
Hacking Pentagon

Jasur Yusupov jzr-supove

👨‍💻
Hacking Pentagon
View GitHub Profile
@jzr-supove
jzr-supove / README.md
Last active February 26, 2025 10:00
Obsidian QuickAdd Modal for Adding Words to Vocabulary

Obsidian QuickAdd Modal for Adding Words to Vocabulary

🟡 Prerequisites

  • You should have QuickAdd and Spaced Repetition plugins installed on your Obsidian
  • In the script, change the flashcardsFolder value to the folder where you store your flashcards (default "Flashcards");
    • Folder should have at least one file where you store your flashcards


🟢 Installation

@jzr-supove
jzr-supove / docker_certbot.md
Last active October 30, 2023 12:21
Docker Certbot

Docker Certbot obtain SSL Certificate

Starting Nginx Server

Create nginx.conf file:

server {
  listen 80;
 server_name your_domain.uz;
@jzr-supove
jzr-supove / ohmyposh_profile.json
Last active September 7, 2022 18:23
OhMyPosh Profile
{
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
"blocks": [
{
"alignment": "left",
"segments": [
{
"background": "#7f39db",
"foreground": "#ffffff",
"leading_diamond": "\ue0b6",
@jzr-supove
jzr-supove / random_generator.md
Last active August 3, 2022 06:20
Creative and fun ways of generating random numbers

Fun and creative ways of generating random numbers in python

Here I'm going to show some creative and fun ways of generating random numbers without using random package in python.

Example 1 - Generating random number in range 0-9

When we call time() function of the package time, it returns floating point number - current time in seconds since the Epoch:

>>> time.time()
3392849227.6848479