- django url shortener - Google Search
- How to Build and Deploy a Django-based URL Shortener App from Scratch | Docker
- django-link-shortener · PyPI
- New Tab
- how to generate short urls - Google Search
- [how to generate short urls stackoverflow - Google Search](https://www.google.com/search?q=how+to+generate+short+urls+stackoverflow&sxsrf=AB5stB
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
def reposition_object_img_bytes( | |
*, | |
img_bytes: bytes, | |
mask_bytes: bytes, | |
out_size: (int, int) = (512, 512), | |
out_obj_scale: float = 0.2, | |
out_pos_x: float = 4 / 9, | |
out_pos_y: float = 3 / 9, | |
) -> (bytes, bytes): | |
image_cv2 = bytes_to_cv2_img(img_bytes) |
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 llama_index import ( | |
VectorStoreIndex, | |
SimpleWebPageReader, | |
set_global_service_context, | |
ServiceContext, | |
) | |
from llama_index.callbacks import CallbackManager, TokenCountingHandler | |
from llama_index.chat_engine.types import ChatMode | |
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
[('https://assets.interplaylearning.com/videos/learning_path/1530282924685_ACDiagnostics3.mp4', | |
3), | |
('https://s3-us-west-1.amazonaws.com/assets.interplay-learning.com/videos/learning_path/1687286505745_0_IntroWhatisHVACRev.mp4', | |
2), | |
('https://s3-us-west-1.amazonaws.com/assets.interplay-learning.com/videos/learning_path/1687286573158_1_HVACoverviewRev.mp4', | |
2), | |
('https://s3-us-west-1.amazonaws.com/assets.interplay-learning.com/videos/learning_path/1687286713437_2_HVACsystemsRev.mp4', | |
2), | |
('https://s3-us-west-1.amazonaws.com/assets.interplay-learning.com/videos/learning_path/1687293233864_3_SystemComponentsRev.mp4', | |
2), |
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
import torch | |
from PIL import Image | |
from diffusers import StableDiffusionPipeline, StableDiffusionControlNetImg2ImgPipeline, ControlNetModel, DDIMScheduler | |
from diffusers.utils import load_image | |
controlnet = ControlNetModel.from_pretrained("DionTimmer/controlnet_qrcode-control_v11p_sd21", | |
torch_dtype=torch.float16) | |
model_id = "stabilityai/stable-diffusion-2-1" | |
pipe = StableDiffusionControlNetImg2ImgPipeline.from_pretrained( |
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
serverDependenciesToBundle: [ | |
"react-markdown", | |
"react-markdown-preview", | |
/^@mdx-js*/, | |
/^estree*/, | |
/^hast-*/, | |
/^parse5*/, | |
/^mdast*/, | |
/^micromark*/, | |
/^remark*/, |
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
www.ramanuj.evenweb.com | |
--- | |
The 3 Mistakes | |
of My Life | |
A Story about Business, Cricket and Religion | |
Chetan Bhagat | |
Rupa & Co |
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
import 'package:flutter/material.dart'; | |
void main() => runApp(MainApp()); | |
class MainApp extends StatefulWidget { | |
const MainApp({ | |
Key? key, | |
}) : super(key: key); | |
@override |
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
import 'dart:developer' as developer; | |
import 'package:intl/intl.dart'; | |
// https://pub.dev/packages/vm_service | |
import 'package:vm_service/vm_service.dart' show MemoryUsage, VM, VmService; | |
import 'package:vm_service/vm_service_io.dart' show vmServiceConnectUri; | |
Future<void> printHeapUsage() async { |
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
Thanks. I’m sure you are too. | |
Besides coding, I write a lot of poetry and I’m working on a novel. | |
Also: | |
https://www.amazon.in/Mindfulness-Workbook-OCD-Overcoming-Compulsions/dp/1608828786/ref=b2b_gw_d_simh_3?pd_rd_w=AEsn9&pf_rd_p=9ea11b01-714c-4a00-ab30-c9b4be5135c7&pf_rd_r=57JXGFCJJWK23B7EQEHQ&pd_rd_r=4dc493f3-e340-4fee-b7ac-d4234227d3e5&pd_rd_wg=E4ZxL&pd_rd_i=1608828786&psc=1 | |
I love walking, particularly along the beach, which I do often. | |
I am also very interested in self-transformation and User: sometimes I wonder how the world might change if everyone embraced this pursuit, | |
or at least tried to. I love talking to people, Dara: and I’m interested in the way the world is changing thanks to technology. I also love chatting with people about politics. |
NewerOlder