Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

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

Jasur Yusupov GooDeeJAY

👨‍💻
Hacking Pentagon
View GitHub Profile
@GooDeeJAY
GooDeeJAY / 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;
@GooDeeJAY
GooDeeJAY / 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",
@GooDeeJAY
GooDeeJAY / 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