Or how to turn this:
into this:
Here are links to some reports, my own projects and my opinions regarding CI systems - mostly Travis, Circle and Jenkins.
Usage, Costs, and Benefits of Continuous Integration in Open-Source Projects by Oregon State University and University of Illinois:
| # A nice shell prompt by Rafał Pocztarski | |
| # With error code display and commands to switch between styles | |
| # From https://gist.github.com/rsp/fd71cad1ba91fc1777ef0b12bb36c9dc | |
| TR="\[$(tput sgr0)\]" | |
| Tr="\[$(tput setaf 1)\]" | |
| Tb="\[$(tput bold)\]" | |
| __err() { | |
| e=$? |
| # The best and greatest tmux.conf ever - improved! 2.0 | |
| # https://gist.github.com/rsp/eda949a908804c3b36456a8794045a91 | |
| # See also my previous config: | |
| # The best and greatest tmux.conf ever - improved! | |
| # https://gist.github.com/rsp/f4770a1fe8ea7e2378ac3a16e01a2b53 | |
| # Here are some customizations done by Rafał Pocztarski: | |
| # use Ctrl+Backslash instead of Ctrl+A or Ctrl+B | |
| # use Slash to split vertically |
My recomentation of releasing internal company libraries as open source.
If there is a need to write code that can be abstracted away as a library and used in many projects and it is not written yet:
My recommendation of releasing open source libraries - not only for Node.
This guide was written specifically for Node modules but it can be adapted to other languages and environments simply by changing "npm" to the main place where open source libraries are published for the given platform (e.g. CPAN for Perl, RubyGems for Ruby etc.)
It is divided into three main stages - a one-time Setup being the first thing to do and ongoing Development and Maintainance stages, plus some useful Tips and Services as a bonus.
| const input1 = x => y => x(y); | |
| const input2 = x => y => x(x(y)); | |
| const input3 = x => y => x(x(x(x(x(x(x(x(x(x(y)))))))))); | |
| const input4 = x => input3(input3(x)); | |
| const input5 = x => input3(input4(x)); |
| const count = f => f(x => x + 1)(0); |
We need a function f that takes a and returns b:
b = f(a) such as:a = g => x => g(g(g(x)))b = g => x => g(g(x))| (define (f a) (lambda (b) (lambda (c) | |
| (((a (lambda (d) (lambda (e) (e (d b))))) | |
| (lambda (f) c)) (lambda (g) g))))) |