- "sand sculpture" https://www.reddit.com/r/dalle2/comments/wg8c7a/cthulu_intricate_sand_sculpture_high_detail_uhd/
- "detailed infographic of a" https://www.reddit.com/gallery/wgmd2q
- "Vintage, grainy, sepia, photograph of adorned Native American man, Hassleblad, f4, 150mm, natural light" https://www.reddit.com/gallery/wgpl67
- “iphone made of terracotta from Harappa, Indus Valley Civilization, Pakistan; 2600-1900 BC, studio light” https://labs.openai.com/s/Txu20Vvd5hZ2KyMiwN6BMbUk
- "Colorful surreal seamless pattern of" https://www.reddit.com/r/dalle2/comments/wgrqvf/dalle_is_good_at_generating_seamless_patterns/
- Add phrases like “A film still from ___ movie”, and insert a visually stunning movie
- "behind frosted glass" https://www.reddit.com/r/dalle2/comments/wl45px/wendigo_laughing_behind_frosted_glass/
- “elaborate drop cap art of the capital letter D integrated in a seamless doodle art, organic, decorative, black and white, in the style o
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# wsl Help | |
wsl --help | |
# Check WSL status | |
wsl --status | |
# Check WSL version | |
wsl --version | |
# Update WSL |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Python3 | |
from datetime import datetime | |
from pytz import timezone | |
curent_timestamp_ist = int(datetime.now(timezone('Asia/Kolkata')).timestamp()) | |
# Convert to HH:M:SS | |
import time | |
curent_timestamp_ist += 19800 | |
time.strftime("%H:%M:%S", time.gmtime(curent_timestamp_ist)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from subprocess import check_output | |
import re | |
file_name = "movie.mp4" | |
#For Windows | |
a = str(check_output('ffprobe -i "'+file_name+'" 2>&1 |findstr "Duration"',shell=True)) | |
#For Linux | |
#a = str(check_output('ffprobe -i "'+file_name+'" 2>&1 |grep "Duration"',shell=True)) a = a.split(",")[0].split("Duration:")[1].strip() |
Because pointers can be ugh
To understand a pointer, let's review "regular" variables first. If you're familiar with a programming language without pointers like JavaScript, this is what you think when you hear "variable".
When declaring a variable by identifier (or name), the variable is synonymous with its value.