Skip to content

Instantly share code, notes, and snippets.

View uzbekdev1's full-sized avatar
🌴
On vacation

Elyor Latipov uzbekdev1

🌴
On vacation
View GitHub Profile
@Mr-Precise
Mr-Precise / vs_buildtools_dl_list.md
Created February 28, 2024 05:33
MSVC / VS / Buildtools download link collection list
@uzbekdev1
uzbekdev1 / read-emails-from-shared-mailbox.cs
Created December 12, 2023 23:24 — forked from aspose-com-gists/read-emails-from-shared-mailbox.cs
Read Emails from Shared Mailbox on Exchange Server in C# .NET
const string mailboxUri = "<HOST>";
const string domain = "";
const string username = "<EMAIL ADDRESS>";
const string password = "<PASSWORD>";
const string sharedEmail = "<SHARED EMAIL ADDRESS>";
// Setup credentials
NetworkCredential credentials = new NetworkCredential(username, password, domain);
// Connect to server
@Cdaprod
Cdaprod / DataPreprocessingTool.py
Created October 23, 2023 05:25
Langchain tool for preprocessing text data. Version one million nine-hundred and fifty two 😂 jk version 1
import spacy
import pandas as pd
from sklearn.preprocessing import MinMaxScaler
from langchain.tools import BaseTool
from typing import Optional, Union, List
from langchain.callbacks.manager import CallbackManagerForToolRun, AsyncCallbackManagerForToolRun
class DataPreprocessingTool(BaseTool):
name = "DataPreprocessingTool"
description = "A tool for preprocessing and structuring unstructured data."
@uzbekdev1
uzbekdev1 / angular.json
Last active September 26, 2022 06:12
Angular refreshing version
{
"assets":[
"src/config.json "
]
}
@aspose-com-gists
aspose-com-gists / EwsConnectionWithAppAuth.cs
Last active December 12, 2023 23:20
How To Connect to Microsoft365 Mailbox using Modern Authentication in C# .NET
// Use Microsoft365 username and access token
NetworkCredential credentials = new OAuthNetworkCredential(username, accessToken);
using var client = EWSClient.GetEWSClient("https://outlook.office365.com/EWS/Exchange.asmx", credentials);
@aspose-com-gists
aspose-com-gists / read-emails-from-shared-mailbox.cs
Last active December 12, 2023 23:24
Read Emails from Shared Mailbox on Exchange Server in C# .NET
const string mailboxUri = "<HOST>";
const string domain = "";
const string username = "<EMAIL ADDRESS>";
const string password = "<PASSWORD>";
const string sharedEmail = "<SHARED EMAIL ADDRESS>";
// Setup credentials
NetworkCredential credentials = new NetworkCredential(username, password, domain);
// Connect to server
@uzbekdev1
uzbekdev1 / haproxy.sh
Created October 12, 2021 09:32 — forked from ergoz/haproxy.sh
RabbitMQ cluster with HAProxy & Keepalived for high availability
# install haproxy
yum install -y haproxy
# config haproxy for rabbitmq
cat > /etc/haproxy/haproxy.cfg << "EOF"
global
log 127.0.0.1 local0 notice
maxconn 10000
user haproxy
@uzbekdev1
uzbekdev1 / remote.md
Last active November 6, 2020 19:26 — forked from Arkham/remote.md
Remote, office not required

Remote, Office Not Required

The Time is Right for Remote Work

Why work doesn't happen at work

The office during the day has become the last place people want to be when then really want to get work done.

Offices have become interruption factories: it's just one interruption after

@alecjacobson
alecjacobson / denoise.sh
Last active May 1, 2025 05:53
Remove background audio noise from a video clip via the command line (using ffmpeg and sox)
#!/bin/bash
if [ -z "$2" ];then
echo 'USAGE:
denoise input.mov output.mov
OR
denoise input.mov output.mov [ambient-noise-start-time] [ambient-noise-duration] [sox-noisered-amount] [sox-norm-param]
@alvinveroy
alvinveroy / drag-and-drop-file-upload.markdown
Created April 16, 2020 10:47
Drag-and-Drop File Upload

Drag-and-Drop File Upload

No preprocessor or library needed. The progress bar is functional, just not on CodePen.

A Pen by Ushinro on CodePen.

License.