JSFuck or how I love Javascript endless power

You can write your JS code without any alphabet character, seriously! I would say even more you can write your JS code only with 6! characters: []()!+

You could easily get several string like “true”, “false”, “undefined” and other by doing simple operations with brackets:

and now you can take any letter :

You can try to challenge yourself and convert any JS code into this format (that is called JSFuck) and there is even online converter that will help you with this task.

angular-cli + `ng eject` => webpack welcome back

Наконец-то(начиная с 1.0.0-beta.32) разработчики angular-cli дали доступ к более тонким настройкам webpack и теперь не нужно выбирать между двумя инструментами. Выполнив команду:

[shell]
ng eject
[/shell]

у вас появится файл вебпак конфига в корне проекта, и теперь вместо команды ng вы запускаете старую добрую npm:

[shell]
ng serve -> npm start
ng build -> npm run build

[/shell]

 

P.S.: Уже наткнулся на проблему с поломанной подстановкой environment файла (issue).