This file contains hidden or 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
inljnlnlnlnlnlnkh kj |
This file contains hidden or 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
inljnlnlnlnlnlnkh kj |
This file contains hidden or 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
#!/bin/bash | |
if [ $# -lt 2 ]; then | |
echo "Usage: $0 <file_path> <public/private>" | |
exit 1 | |
fi | |
file_path=$1 | |
visibility=$2 |
This file contains hidden or 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
" Set filetype to C for C files | |
autocmd BufNewFile,BufRead *.c,*.h,*.cpp,*.hpp set filetype=c | |
set encoding=utf-8 | |
set fileencoding=utf-8 | |
set fileformats=unix,dos,mac | |
set ruler | |
set hidden | |
set statusline=%F | |
set nolist |
This file contains hidden or 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
# Ladakh | |
Markha Valley Trek (Ladakh) | |
Stok Kangri Trek (Ladakh) | |
Zanskar Valley Trek (Ladakh) | |
Khardung La Trek (Ladakh) | |
Siachen Base Camp Trek (Ladakh) | |
Ladakh to Zanskar Trek (Ladakh) | |
Nubra Valley Trek (Ladakh) | |
Zanskar River Trek (Ladakh) | |
Suru Valley Trek (Ladakh) |
This file contains hidden or 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
[ | |
{ | |
"name": "Markha Valley Trek", | |
"difficulty": "Moderate", | |
"location": "Ladakh", | |
"state": "Jammu and Kashmir", | |
"country": "India", | |
"altitude_m": 5000, | |
"altitude_ft": 16404, | |
"longitude": 77.5833, |
This file contains hidden or 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
import argparse | |
from PIL import Image, ImageDraw | |
def add_borders(input_image_path, output_image_path, border_width=10, border_color="white", rounded_border=False, rounded_image=False): | |
# Open the original image | |
with Image.open(input_image_path) as img: | |
# Calculate the new size | |
new_size = (img.width + 2 * border_width, img.height + 2 * border_width) | |
# Create a new image with the specified background color |
OlderNewer