1. Regular files: --usefile /path/to/file
2. Bashisms: --usefile <(cat <<< '{password:"12345"}')
(ps output will show --usefile /dev/fd/XX)
(don't use `echo "password"` as it will be shown in ps)
Если учёный не может объяснить восьмилетнему мальчику чем он занимается — он шарлатан. [15] (Оригинальная фраза: «Если ученый не может объяснить уборщице, которая убирается у него в лаборатории, смысл своей работы, то он сам не понимает, что он делает» — приписывается Резерфорду)
По ощущениям это напоминает попытки въехать на крутой склон, покрытый гравием — не важно как сильно ты крутишь педали, ты все равно скатываешься вниз.
- Why did the hipster drown?
- Because he fell into the mainstream.
N"OWw RIWWITNHK AAAAAARR DER PROTOROPYTEP PORPERTY>111..
Unfolded:
events = require "events"
instances_counter = 0
module.exports = (
->
__class = (->
__args = Array.prototype.slice.call(arguments)
if @ instanceof __class
@constructor?.apply(@,__args) if __class isnt @constructor;@
else
new (Function.prototype.bind.apply(__class,[null].concat(__args)))
);
__class.prototype = if @prototype? then Object.create(@prototype.prototype) else @;
__class.prototype[__prop] = @[__prop] for __prop of @ if @prototype?;
__class).apply
prototype: events.EventEmitter
constructor: (@param1,@param2) ->
@prototype.apply @
@id = ++instances_counter
render: ->
console.log @,instances_counter,@ instanceof module.exports
a = new module.exports()
a.render()
b = new module.exports()
b.render()
console.log a instanceof events.EventEmitter
console.log a instanceof module.exports
Folded:
events = require "events"
instances_counter = 0
module.exports = (-> __class = (-> __args = Array.prototype.slice.call(arguments); if @ instanceof __class then @constructor?.apply(@,__args) if __class isnt @constructor;@ else new (Function.prototype.bind.apply(__class,[null].concat(__args)))); __class.prototype = (if @prototype? then Object.create(@prototype.prototype) else @); (__class.prototype[__prop] = @[__prop] for __prop of @ if @prototype?); __class).apply
prototype: events.EventEmitter
constructor: (@param1,@param2) ->
@prototype.apply @
@id = ++instances_counter
render: ->
console.log @,instances_counter,@ instanceof module.exports
a = new module.exports()
a.render()
b = new module.exports()
b.render()
console.log a instanceof events.EventEmitter
console.log a instanceof module.exports
Кавычечки. Кавычечки. Вместо одинарных случайно поставил двойные, автозаменой. Кавычечки он не любит. Пиздец.
Было:
#!/bin/bash
###
NODE_VERSION=">=0.11.13"
if [ -z $(which node) ]; then echo "ERROR: NODE.JS NOT FOUND"; exit 1; fi
if [ -z $(which coffee) ]; then echo "ERROR: COFFEESCRIPT NOT FOUND"; exit 1; fi
if [ "$(node -p "require('semver').satisfies(process.version,'$NODE_VERSION')")" != "true" ]; then echo "ERROR: INCOMPATIBLE NODE VERSION"; exit 1; fi
echo "Starting Coffee"; node --harmony $(which coffee) "$0" -- "$@"
exit
###
console.log "pizdos..."
console.log process.argv
Стало:
#!/bin/bash ### NODE_VERSION=\>=0.11.13 if [ -z $(which node) ]; then echo ERROR: NODE.JS NOT FOUND; exit 1; fi if [ -z $(which coffee) ]; then echo ERROR: COFFEESCRIPT NOT FOUND; exit 1; fi if [ $(node -p require\(\'semver\'\).satisfies\(process.version,\'$NODE_VERSION\'\)) != true ]; then echo ERROR: INCOMPATIBLE NODE VERSION; exit 1; fi echo Starting Coffee; node --harmony $(which coffee) $0 -- $@ exit ### console.log "pizdos..." console.log process.argv
ТЕПЕРЬ БОЛЬШЕ НИКАКИХ вложенных КАВЫЧЕЧЕК БЛЯДЬ! КОКАЯ КРОСОТА! МОЖНО ТЕПЕРЬ И ПОРАБОТАТЬ, НО ЧТО-ТО НЕ ХОЧЕТСЯ.
А вот ну совсем-совсем без кавычечек:
#!/bin/bash ### NODE_VERSION=\>=0.11.13 if [ -z $(which node) ]; then echo ERROR: NODE.JS NOT FOUND; exit 1; fi if [ -z $(which coffee) ]; then echo ERROR: COFFEESCRIPT NOT FOUND; exit 1; fi if [ $(node -p require\(String\(/semver/\).substring\(1,7\)\).satisfies\(process.version,String\(/$NODE_VERSION/\).substring\(1\).slice\(0,-1\)\)) != true ]; then echo ERROR: INCOMPATIBLE NODE VERSION; exit 1; fi echo Starting Coffee; node --harmony $(which coffee) $0 -- $@ exit ### console.log "pizdos..." console.log process.argv
МЕНЬШЕ КАВЫЧЕК БОБУ НЕКАВЫЧКИНУ
HTC Wildfire S a510e 320x480
Брать женщину силой — признать себя третьим сортом.
Вы все время пытаетесь нагадить на шахматную доску, но в отличиии от того голубя — не улетаете.
root_directory_listing.sort (a,b) ->
a.substr(0,(~-a.lastIndexOf(".") >>> 0) + 1).length -
b.substr(0,(~-b.lastIndexOf(".") >>> 0) + 1).length