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
@uzbekdev1
uzbekdev1 / daterangepicker_ru.js
Created December 29, 2019 13:44 — forked from Bewitchedyegor/daterangepicker_ru.js
Localize Bootstrap daterangepicker to Russian
$('input[id="pick_period2"]').daterangepicker({
singleDatePicker: true,
showDropdowns: false,
minDate: moment(today).add(1, 'days'),
maxDate: moment(today).add(45, 'days'),
//add locale to your daterangepicker call function
locale: {
format: 'DD-MM-YYYY',
applyLabel: 'Принять',
cancelLabel: 'Отмена',
@uzbekdev1
uzbekdev1 / tar_test.c
Created January 3, 2020 17:39 — forked from danikin/tar_test.c
Tarantool Quick Test
// Tarantool quick test
// Copyright, Dennis Anikin 2016
//
// Quick disclaimer:
//
// This test shows 500K-1000K transactions per second on one CPU core
// and 600K-1600K queries per second on one CPU core.
//
// Based on the $6.57 per-month-price for the AWS t2.micro instance we can afford the tremendous number of 630bln queries for just $1
//
@uzbekdev1
uzbekdev1 / tar_test.c
Created January 3, 2020 17:39 — forked from danikin/tar_test.c
Tarantool Quick Test
// Tarantool quick test
// Copyright, Dennis Anikin 2016
//
// Quick disclaimer:
//
// This test shows 500K-1000K transactions per second on one CPU core
// and 600K-1600K queries per second on one CPU core.
//
// Based on the $6.57 per-month-price for the AWS t2.micro instance we can afford the tremendous number of 630bln queries for just $1
//
@uzbekdev1
uzbekdev1 / 1.draggable-modal.js
Created January 4, 2020 10:04 — forked from wellwind/1.draggable-modal.js
Draggable Bootstrap Modal
$('.modal.draggable>.modal-dialog').draggable({
cursor: 'move',
handle: '.modal-header'
});
$('.modal.draggable>.modal-dialog>.modal-content>.modal-header').css('cursor', 'move');
@font-face {
font-family: 'Open Sans Regular';
src: local("Open Sans"), local("OpenSans"), url("../fonts/opensans/opensans.woff2") format("woff2"), url("../fonts/opensans/opensans.woff") format("woff"), url("../fonts/opensans/opensans.ttf") format("truetype");
font-weight: 400;
font-style: normal;
}
@font-face {
font-family: 'Open Sans Semibold';
@uzbekdev1
uzbekdev1 / amchart 4 copyright from Chart
Last active January 20, 2020 18:54
How to remove tag amchart 4 copyright from Chart
@uzbekdev1
uzbekdev1 / OmrokDynamicsSystemLibrary
Created January 26, 2020 17:17
OmrokDynamicsSystemLibrary
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Management;
namespace omrokMultimediaPlayer
{
public static class OmrokDynamicsSystemLibrary
@uzbekdev1
uzbekdev1 / gist:1190d842544db7067fc9a4e14b54091a
Created January 28, 2020 19:47
sql server short format date
select FORMAT (getdate(), 'dd.MM.yyyy')
@uzbekdev1
uzbekdev1 / Encryption.cs
Created January 31, 2020 13:36 — forked from davidsheardown/Encryption.cs
.NET Core 2 Encrypt/Decrypt String
public static void Main(string[] args)
{
var content = "Example test";
var key = "E546C8DF278CD5931069B522E695D4F2";
var encrypted = EncryptString(content, key);
Console.WriteLine(encrypted);
var decrypted = DecryptString(encrypted, key);
Console.WriteLine(decrypted);
@uzbekdev1
uzbekdev1 / devops_training.txt
Created June 4, 2020 04:50 — forked from ssmythe/devops_training.txt
Training materials for DevOps
======
Videos
======
DevOps
What is DevOps? by Rackspace - Really great introduction to DevOps
https://www.youtube.com/watch?v=_I94-tJlovg
Sanjeev Sharma series on DevOps (great repetition to really get the DevOps concept)