exemplar placeholder, bitch

 
var Widget = function()
{

    if(!(this instanceof Widget)) { return Reflect.construct(Widget, arguments) }
    this.name = name
}

Fuck it. And if you're into javascript new keyword then you're into something fucked up really hard.

Widget = (@name) ->
  return Reflect.construct widget, arguments unless @ instanceof Widget

arecord | aplay

 

review_date:moment().format("YYYY-MM-DD HH:mm:ss")

https://momentjs.com/docs/#/parsing/string-format/

 

One reason NOT to learn awk is that it doesn't have non-greedy matches in regular expressions.

I have an awk code that now I must rewrite only because I suddenly debugged that there is no such thing as non-greedy matches in awk/gawk thus it can't properly execute some regexes.

 

Чтобы ресайзнуть ебаный леер в ёбаном фотошопе до нужных определённых значений, ПОСЛЕ НАЖАТИЯ КОНТРАЛ+ТЭ нужно вписать в сраную залупку "9289 пикс" вместо "100%".
"9289px" не подойдёт. "9289 px" не подойдёт тоже. Эта блядь выдаст сообщение, что ей нужны ПИКСЕЛЫ.

[ ]
 

куе-уе

var queue = function({max_concurrency = 1} = {})
{
    var queue = []
    var pending = 0
    var iterate_queue = function()
    {
        if((queue.length > 0) && (pending < max_concurrency))
        {
            pending++
            var item = queue.shift()
            item.fn(item.done)
        }
    }
    var interface = 
    {
        add: function(fn)
        {
            return new Promise(function(resolve,reject)
            {
                queue.push(
                {
                    fn: fn,
                    done: function(error,result)
                    {
                        pending--
                        setTimeout(iterate_queue)
                        if(error) 
                        { 
                            reject(error)
                        }
                        else
                        {
                            resolve(result)
                        }
                    }
                })
                iterate_queue()
            })
        }
    }
    return interface
}
[ ]
 
curl -sLH 'Accept-Encoding: gzip' -o- http://example.com|wc -c
curl -sLH 'Accept-Encoding: deflate' -o- http://example.com|wc -c

files - How can I get the size of stdin? - Unix & Linux Stack Exchange

 
chmod -R o+r folder/