This file contains hidden or 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
{ | |
"$schema": "http://json-schema.org/draft-07/schema#", | |
"type": "object", | |
"properties": { | |
"title": { | |
"type": "string" | |
}, | |
"image": { | |
"type": "string" | |
}, |
This file contains hidden or 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
/** | |
* Record user activity on scroll, move and click events | |
* Collect bunches of events and prepare then to send to server | |
* @author Lobastov Gleb | |
*/ | |
(function captorUnit() { | |
var App = { | |
startTime: new Date().getTime(), | |
events: [], |
This file contains hidden or 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
# -*- coding: utf-8 -*- | |
""" Локальный прокси с предобработкой контента | |
habraproxy.py — это простейший http-прокси-сервер, запускаемый локально, который показывает содержимое страниц | |
указанного сайта, с одним исключением: после каждого слова из определенного числа букв следует заданный текст | |
Параметры передаются как аргументы коммандной строки. По умолчанию сайт: habrahabr.ru, число букв в слове: 6, | |
добавляемый символ: «™». Так-же можно указать хост и порт локального сервера. | |
Examples: |