Skip to content

Instantly share code, notes, and snippets.

View HaQadosch's full-sized avatar
📓
Storybook

HaQadosch HaQadosch

📓
Storybook
View GitHub Profile
@HaQadosch
HaQadosch / obersver
Created December 9, 2014 23:17
Observer
$('div.src-accomRooms-container button.btnSelectRoom').on('click', function clickButonRoom(e){
})
MutationObserver = window.MutationObserver || window.WebKitMutationObserver
var observer = new MutationObserver(function(mutations, observer) {
// fired when a mutation occurs
console.info(mutations, observer);
// Use of the information here.
});
@HaQadosch
HaQadosch / tsws
Last active September 6, 2015 21:20 — forked from dfletcher/tsws
Totally simple web server using Bash and netcat (nc)
#!/bin/bash
# --------------------------------
# Totally Simple Web Server (TSWS)
# --------------------------------
#
# (c) 2015 Dave Fletcher
# All Rights Reserved
#
# This is free and unencumbered software released into the public domain.
@HaQadosch
HaQadosch / JLibrary.js
Last active April 11, 2016 17:28
JLibrary
/* eslint-disable comma-style */
'use strict'
/**
* Object passed to cbk should be:
* 'error': ... // Try/catch execution error.
* 'noEntry': ... // Args passed in do not match the requirements.
* 'fail': ... // When function did not complete successfully the taks.
*/
@HaQadosch
HaQadosch / README.md
Created March 24, 2016 17:21 — forked from rauchg/README.md
require-from-twitter
@HaQadosch
HaQadosch / 1.js
Last active January 9, 2017 21:42
Work4Home
const filterProductsRow = window.jQuery('div#FiltersAndProductsWrapper div.col-xs-12 div.FilterProductsTable div.FilterProductsRow').css({
'display': 'flex'
, 'flex-direction': 'column'
})
const filterContainer = window.jQuery('div#FilterContainer', filterProductsRow).css({
'order': '1'
}).removeClass('col-xs-12 col-md-2 MobClosed')
const productContainer = window.jQuery('div#ProductContainer', filterProductsRow).css({
// @flow
/* eslint array-callback-return: "error" */
/* eslint block-scoped-var: "error" */
/* eslint no-implied-eval: "error" */
/* eslint comma-style: ["error", "first"] */
/* eslint max-len: ["error", 80] */
/* eslint max-params: ["error", 3] */
/* eslint-env es6 */
/* eslint newline-per-chained-call: ["error", { "ignoreChainWithDepth": 1 }] */
/* eslint operator-linebreak: [2, "before"] */
// standard-eslint config plus customise below.
/* eslint array-callback-return: "error" */
/* eslint block-scoped-var: "error" */
/* eslint no-implied-eval: "error" */
/* eslint comma-style: ["error", "first"] */
/* eslint max-len: ["error", 80] */
/* eslint max-params: ["error", 3] */
/* eslint-env es6 */
/* eslint newline-per-chained-call: ["error", { "ignoreChainWithDepth": 1 }] */
/* eslint operator-linebreak: [2, "before"] */
// @flow
// /* eslint array-callback-return: "error" */
/* eslint block-scoped-var: "error" */
/* eslint no-implied-eval: "error" */
/* eslint comma-style: ["error", "first"] */
/* eslint max-len: ["error", 130] */
/* eslint max-params: ["error", 3] */
/* eslint-env es6 */
/* eslint newline-per-chained-call: ["error", { "ignoreChainWithDepth": 1 }] */
/* eslint operator-linebreak: [2, "before"] */
/* eslint array-callback-return: "error" */
/* eslint block-scoped-var: "error" */
/* eslint no-implied-eval: "error" */
/* eslint comma-style: ["error", "first"] */
/* eslint max-len: ["error", 191] */
/* eslint max-params: ["error", 3] */
/* eslint-env es6 */
/* eslint newline-per-chained-call: ["error", { "ignoreChainWithDepth": 1 }] */
/* eslint operator-linebreak: [2, "before"] */