This file has been truncated, but you can view the full file.
This file contains 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
/** | |
* comeet - v0.3.0 - 2022-07-21 | |
* https://www.comeet.co | |
* | |
* Copyright (c) 2022 Comeet | |
*/ | |
(window.webpackJsonp=window.webpackJsonp||[]).push([[0],{1022:function(e,t,n){"use strict";n.r(t);var i={};n.r(i),n.d(i,"base",(function(){return sn})),n.d(i,"semantic",(function(){return cn})),n.d(i,"functional",(function(){return pn})),n.d(i,"component",(function(){return mn}));var a={};n.r(a),n.d(a,"Button",(function(){return x})),n.d(a,"DangerButton",(function(){return w})),n.d(a,"PrimaryButton",(function(){return _})),n.d(a,"LinkButton",(function(){return S})),n.d(a,"Input",(function(){return L})),n.d(a,"InputNumber",(function(){return T})),n.d(a,"SearchInput",(function(){return O})),n.d(a,"Select",(function(){return A})),n.d(a,"UnstyledRadioGroup",(function(){return H})),n.d(a,"RadioGroup",(function(){return z})),n.d(a,"Modal",(function(){return J})),n.d(a,"ModalSection",(function(){return X})),n.d(a,"useFormState",(function(){return ae})),n.d(a,"useFieldState",(function(){return oe})),n.d(a,"useSubmitHandle |
This file contains 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
module Phone where | |
import Data.List | |
import Data.Char | |
import Data.String | |
import qualified Data.Map as Map | |
convo :: [String] | |
convo = [ |
This file contains 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
// todo: rewrite the batchFetch method so that it supports the limit of simultaneous query requests (in the example to 3) | |
// so it's must fetch all resources but in each moment number of active request can't be more than setted limit | |
// batchFetch(resources[10], 3) ==> | |
// | [0]-------------| [5]------| [8]----| | | |
// | [1]--------| [4]------------------------------| | | |
// | [2]----| [3]------| [6]--| [7]--| [9]-------------------------------| | | |
// tips: work in browser console on https://jobs.dou.ua/ site | |
const sources = [ | |
'https://jobs.dou.ua/companies/ladevelopers-inc/vacancies/87342/?utm_source=jobsrss', |
This file contains 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
(function () {/* | |
<div id="someId"> | |
some content<br /> | |
<a href="#someRef">someRefTxt</a> | |
</div> | |
*/}).toString().match(/[^]*\/\*([^]*)\*\/\}$/)[1]; |
This file contains 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
wget --mirror --restrict-file-names=nocontrol -p --convert-links -P ./ http://site |
This file contains 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
python -m SimpleHTTPServer 3000 |
This file contains 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
'use strict'; | |
app.factory('socket',function ($rootScope){ | |
var socket = io.connect(); | |
return { | |
on: function (eventName,callback){ | |
socket.on(eventName,function(){ | |
var args = [].slice.call(arguments); | |
$rootScope.$apply(function(){ | |
if(callback){ |
This file contains 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
var createElement = function (type, attrs, childs) { | |
var element = document.createElement(type), key; | |
if (attrs) { | |
for (key in attrs) { | |
if (attrs.hasOwnProperty(key)) { | |
if (key === "id" || key === "innerHTML" || key === "value" || key === "src" || key === "className") { | |
element[key] = attrs[key]; | |
} else { | |
element.setAttribute(key, attrs[key]); | |
} |