start new:
tmux
start new with session name:
tmux new -s myname
| [Syncthing] | |
| title=Syncthing | |
| description=Open Source Continuous File Synchronization | |
| ports=22000/tcp|21025/udp |
| # this monit config goes in /etc/monit/conf.d | |
| check process puma_master | |
| with pidfile /data/myapp/current/tmp/puma.pid | |
| start program = "/etc/monit/scripts/puma start" | |
| stop program = "/etc/monit/scripts/puma stop" | |
| group myapp | |
| check process puma_worker_0 | |
| with pidfile /data/myapp/current/tmp/puma_worker_0.pid |
| # | |
| # Network services, Internet style | |
| # | |
| # Note that it is presently the policy of IANA to assign a single well-known | |
| # port number for both TCP and UDP; hence, most entries here have two entries | |
| # even if the protocol doesn't support UDP operations. | |
| # | |
| # The latest IANA port assignments can be gotten from | |
| # | |
| # http://www.iana.org/assignments/port-numbers |
| # Alternate CSS classes for even and odd numbers... | |
| @items = [1,2,3,4] | |
| <table> | |
| <% @items.each do |item| %> | |
| <tr class="<%= cycle("odd", "even") -%>"> | |
| <td>item</td> | |
| </tr> | |
| <% end %> | |
| </table> |
Recently, trying to run some of my crutches (the Ruby thingies I use to help me sysadmining) under RVM, I've found that require 'iconv' doesn't work. Since I knew it's working in standard lang/ruby18 and lang/ruby19 ports I started to search where is the trap and have found that. Here's how.