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 / EventLog.cs
Created April 23, 2019 07:45 — forked from svvitale/EventLog.cs
C# class that reads RFID cards and inserts each new read into a local MongoDB store. Reads are then pushed to a RESTful web service in a background task.
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Threading.Tasks;
using System.Windows.Forms;
using RFIDeas_pcProxAPI;
using System.Net;
using System.Threading;
using System.IO;
@uzbekdev1
uzbekdev1 / How to Allow Only One Checkbox to be Checked using jQuery
Created April 23, 2019 15:58
How to Allow Only One Checkbox to be Checked using jQuery
$('input:checkbox').off().on('click', function () {
$('input:checkbox').not(this).prop('checked', false);
});
@uzbekdev1
uzbekdev1 / go-oci8 on win64.md
Created April 25, 2019 22:38 — forked from mnadel/go-oci8 on win64.md
go-oci8 on windows64
@uzbekdev1
uzbekdev1 / dark
Created April 26, 2019 07:40
Absolute Center Overlay Spinner
/* Absolute Center Spinner */
.loading {
position: fixed;
z-index: 999;
height: 2em;
width: 2em;
overflow: visible;
margin: auto;
top: 0;
left: 0;
@uzbekdev1
uzbekdev1 / moment-js-timezones.txt
Created April 26, 2019 12:10 — forked from diogocapela/moment-js-timezones.txt
List of All Moment.js Timezones
Africa/Abidjan
Africa/Accra
Africa/Addis_Ababa
Africa/Algiers
Africa/Asmara
Africa/Asmera
Africa/Bamako
Africa/Bangui
Africa/Banjul
Africa/Bissau
@uzbekdev1
uzbekdev1 / golang_books_sites.md
Created April 26, 2019 12:21 — forked from region23/golang_books_sites.md
Полезные ресурсы для изучающих Go

На русском языке

Русскоязычные сайты и сообщества

English resources

@uzbekdev1
uzbekdev1 / modal-fullscreen.css
Created April 26, 2019 23:03 — forked from soham2008xyz/modal-fullscreen.css
Bootstrap 3 transparent and fullscreen modals
/* .modal-fullscreen */
.modal-fullscreen {
background: transparent;
}
.modal-fullscreen .modal-content {
background: transparent;
border: 0;
-webkit-box-shadow: none;
box-shadow: none;
}

Disable HTML Form Input Autocomplete and Autofill

  1. Add autocomplete="off" onto <form> element;
  2. Add hidden <input> with autocomplete="false" as a first children element of the form.
<form autocomplete="off" method="post" action="">
    <input autocomplete="false" name="hidden" type="text" style="display:none;">
    ...
@uzbekdev1
uzbekdev1 / countdown
Created May 9, 2019 20:14
countdown
<!DOCTYPE HTML>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<style>
p {
text-align: center;
font-size: 60px;
margin-top: 0px;
}
@uzbekdev1
uzbekdev1 / dropdown.ts
Created May 15, 2019 22:55 — forked from ihadeed/dropdown.ts
Angular2 Component: Semantic UI Dropdown
import {Component, ElementRef, AfterViewInit, Output, EventEmitter, Input, Self} from '@angular/core';
import {ControlValueAccessor, NgModel} from '@angular/common';
declare var $: any;
@Component({
selector: 'dropdown',
template: `
<select class="ui dropdown" [(ngModel)]="selectedOption">
<option value="">Select one</option>
<option *ngFor="let item of items" [value]="item[valueField]">{{item[textField]}}</option>
</select>