Skip to content

Instantly share code, notes, and snippets.

@ktokot
ktokot / index.html
Last active February 28, 2021 12:21
mdn div example togle hide/unhide row
<!DOCTYPE html>
<html lang="ru">
<head>
<link rel="stylesheet" href="style.css" />
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
</head>
@ktokot
ktokot / xp.md
Created February 21, 2021 15:43 — forked from Fuwn/xp.md
Windows XP All Editions Universal Product Keys Collection.

Although Microsoft does not support Windows XP updates any more, I’m sure there are still many users using it due to their personal habits or job demands. Therefore XP’s product keys may be necessary even now, and 8cy provided you with the most comprehensive Windows XP product keys here, just in order to provide some convenience.

The following CD-KEYs are official and original from Microsoft, mainly used for Windows XP Professional Service Pack 2/3 VOL/VLK system images which are the easiest ones to find on the Internet. Their biggest advantage is your Windows XP will be activated after using these CD-KEYs to complete installation.

// Windows XP Pro Product Keys //

@ktokot
ktokot / dabblet.css
Last active February 17, 2021 16:24
Untitled
.ios-toggle {
box-sizing: border-box;
display: inline-block;
font-size: 15px;
width: 15em;
}
.ios-toggle input,
@ktokot
ktokot / dabblet.css
Last active February 17, 2021 10:50
Cards
/**
* Cards
*/
body {
background-color: #000;
}
.card {
vertical-align:top;
background-color: #fff;
border-radius: 10px;
/**
* Реализуйте функцию sendPassword (Peerson hashing8)
* sendPassword('stalker72') => 20
* sendPassword('118') => -1
*
*
*/
function sendPassword(password) {
if (password.length < 8) {
@ktokot
ktokot / ymaps.js
Created January 20, 2021 10:46
code for yandex maps
ymaps.ready(function () {
var myMap = new ymaps.Map('map', {
center: [55.751574, 37.573856],
zoom: 9
}, {
searchControlProvider: 'yandex#search'
}),
// Создаём макет содержимого.
MyIconContentLayout = ymaps.templateLayoutFactory.createClass(
@ktokot
ktokot / unstarrr4.png
Created January 9, 2021 12:07
hal-star rating
‎‎​
@ktokot
ktokot / css-star-rating-using-bem-font-awesome.markdown
Created January 6, 2021 20:34
CSS Star rating using BEM & Font awesome
@ktokot
ktokot / dabblet.css
Last active January 3, 2021 18:30
half-star rating with css & SVG
/**
* half-star rating with css & SVG
*/
.stars {
height: 4rem;
width: 20rem;
@ktokot
ktokot / dabblet.css
Last active January 3, 2021 16:42 — forked from chriscoyier/dabblet.css
Ratings Stars
/*
Ratings Stars
(with as little code as possible)
*/
.rating {
unicode-bidi: bidi-override;
direction: rtl;
text-align: center;
}
.rating > span {