Skip to content

Instantly share code, notes, and snippets.

View alexpts's full-sized avatar
🤘
enjoying

Alex Pavlov alexpts

🤘
enjoying
  • Avito
View GitHub Profile
#### GET /penza/users
{
"data": {
"userIds": [1, 2, 3, 4, 5]
},
"status": 200
}
#### POST /penza/users
Добавить пользователя в комнату
@alexpts
alexpts / popover.js
Last active August 16, 2016 18:28
Example js module 2
(function ($, $popover) {
/**
* @param {{}|undefined}options
* @returns {{on: Function, off: Function}}
* @constructor
*/
var Popover = function (options) {
options = $.extend({
delegateElement: document,
@alexpts
alexpts / content.play-mp4.js
Created May 23, 2016 05:34
Example jquery module
(function ($) {
var $document = $(document);
var PlayMp4 = function () {
/**
* @param {Event} event
* @private
*/
@alexpts
alexpts / gist:7eee6dc4bb878ec7ae00
Last active March 18, 2016 08:43
Nodejs local benchmark
version : scores
5.9.0 : 28563
5.8.0 : 28097
4.4.0 : 27546
0.12.12 : 23033
---------------
** Node 5.9
node version : v5.9.0